This is an automated email from the ASF dual-hosted git repository. houshengbo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git
commit 8c18e4edfcd57debbfa12d0c36c8dc4526144302 Author: Priti Desai <[email protected]> AuthorDate: Thu May 24 10:20:49 2018 -0700 adding action file --- .../integration/zipaction/actions/greeting/greeting.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/src/integration/zipaction/actions/greeting/greeting.js b/tests/src/integration/zipaction/actions/greeting/greeting.js new file mode 100644 index 0000000..b846691 --- /dev/null +++ b/tests/src/integration/zipaction/actions/greeting/greeting.js @@ -0,0 +1,15 @@ +// Licensed to the Apache Software Foundation (ASF) under one or more contributor +// license agreements; and to You under the Apache License, Version 2.0. + +/** + * Return a simple greeting message for someone. + * + * @param name A person's name. + * @param place Where the person is from. + */ +function main(params) { + var name = params.name || params.payload || 'stranger'; + var place = params.place || 'somewhere'; + return {payload: 'Hello, ' + name + ' from ' + place + '!'}; +} + -- To stop receiving notification emails like this one, please contact [email protected].
