You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mr...@apache.org on 2017/11/03 15:40:29 UTC

[incubator-openwhisk-wskdeploy] branch master updated: Adding annotation from openwhisk readme (#635)

This is an automated email from the ASF dual-hosted git repository.

mrutkowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git


The following commit(s) were added to refs/heads/master by this push:
     new f5dc5d3  Adding annotation from openwhisk readme (#635)
f5dc5d3 is described below

commit f5dc5d3b889df5b19c5599fdf70efc90ef12579f
Author: Priti Desai <pd...@us.ibm.com>
AuthorDate: Fri Nov 3 08:40:28 2017 -0700

    Adding annotation from openwhisk readme (#635)
---
 .../validate-action-annotations/manifest.yaml       | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/tests/src/integration/validate-action-annotations/manifest.yaml b/tests/src/integration/validate-action-annotations/manifest.yaml
index 030fb6a..4c53906 100644
--- a/tests/src/integration/validate-action-annotations/manifest.yaml
+++ b/tests/src/integration/validate-action-annotations/manifest.yaml
@@ -63,3 +63,24 @@ packages:
                     action_annotation_3: this is annotation 3
                     action_annotation_4: this is annotation 4
                     web-export: true
+    packageActionAnnotationsFromReadme:
+        actions:
+            helloworld:
+                function: actions/hello.js
+                runtime: nodejs:6
+                inputs:
+                    name:
+                        type: string
+                        description: name of a person
+                    place:
+                        type: string
+                        description: location of a person
+                outputs:
+                    payload:
+                        type: string
+                        description: a simple greeting message, Hello World!
+                annotations:
+                    description: 'An action which returns its input. Useful for logging input to enable debug/replay.'
+                    parameters: '[{ "required":false, "description": "Any JSON entity" }]'
+                    sampleInput: '{ "msg": "Five fuzzy felines"}'
+                    sampleOutput: '{ "msg": "Five fuzzy felines"}'

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].