From 66a12d2ffe9a006c9326e9b3fa9dbd760733e5cd Mon Sep 17 00:00:00 2001 From: dbachko Date: Wed, 15 Nov 2017 16:31:00 -0500 Subject: [PATCH] Updates README for openwhisk --- docs/providers/openwhisk/guide/functions.md | 2 +- docs/providers/openwhisk/guide/serverless.yml.md | 16 ++++++++-------- docs/providers/openwhisk/guide/services.md | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/providers/openwhisk/guide/functions.md b/docs/providers/openwhisk/guide/functions.md index 6e5aa72ba..bae71fa55 100644 --- a/docs/providers/openwhisk/guide/functions.md +++ b/docs/providers/openwhisk/guide/functions.md @@ -25,7 +25,7 @@ service: myService provider: name: openwhisk runtime: nodejs:6 # optional, default is nodejs:default - memorySize: 512 # optional, default is 256 + memory: 512 # optional, default is 256 timeout: 30 # optional, default is 60 functions: diff --git a/docs/providers/openwhisk/guide/serverless.yml.md b/docs/providers/openwhisk/guide/serverless.yml.md index e8ce4d645..6ce224581 100644 --- a/docs/providers/openwhisk/guide/serverless.yml.md +++ b/docs/providers/openwhisk/guide/serverless.yml.md @@ -25,7 +25,7 @@ provider: name: openwhisk runtime: nodejs:default memory: 256 # Overwrite default memory size. Default is 512. - timeout: 10 # The default is 60 + timeout: 10 # The default is 60 overwrite: true # Can we overwrite deployed functions? default is true namespace: 'custom' # use custom namespace, defaults to '_' ignore_certs: true # ignore ssl verification issues - used for local deploys @@ -34,18 +34,18 @@ functions: usersCreate: # A Function handler: users.create # The file and module for this specific function. sequence: # Use sequences rather than handler to handle events. handler and sequence properties are mutually exclusive. - - function_a - - function_b - - function_c - memory: 256 # memorySize for this specific function. - timeout: 10 # Timeout for this specific function. Overrides the default set above. + - function_a + - function_b + - function_c + memory: 256 # memory size for this specific function. + timeout: 10 # Timeout for this specific function. Overrides the default set above. runtime: nodejs:6 overwrite: false # Can we overwrite deployed function? namespace: 'custom' # use custom namespace, defaults to '_' annotations: parameter_name: value parameters: - parameter_name: value + parameter_name: value events: # The Events that trigger this Function # This creates an API Gateway HTTP endpoint which can be used to trigger this function. Learn more in "events/apigateway" - http: METHOD /path/to/url @@ -59,7 +59,7 @@ resources: triggers: my_trigger: # trigger with default parameter bound. parameters: - hello: world + hello: world alarm_trigger: # trigger connected to event feed parameters: hello: world diff --git a/docs/providers/openwhisk/guide/services.md b/docs/providers/openwhisk/guide/services.md index 5c24de0fb..8c4862484 100644 --- a/docs/providers/openwhisk/guide/services.md +++ b/docs/providers/openwhisk/guide/services.md @@ -158,7 +158,7 @@ service: users provider: name: openwhisk runtime: nodejs - memorySize: 512 + memory: 512 … ``` @@ -175,7 +175,7 @@ service: users provider: name: openwhisk runtime: nodejs - memorySize: 512 + memory: 512 … ```