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 b38471a  Improve manifest.yml and deployment.yml in webhook use case 
(#316)
b38471a is described below

commit b38471a0a55d6bd589d20ed684c09d7a80898008
Author: Ying Chun Guo <[email protected]>
AuthorDate: Sat Aug 19 01:03:59 2017 +0800

    Improve manifest.yml and deployment.yml in webhook use case (#316)
---
 tests/usecases/webhook/deployment.yml | 19 +++++++++----------
 tests/usecases/webhook/manifest.yml   |  4 ++--
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/tests/usecases/webhook/deployment.yml 
b/tests/usecases/webhook/deployment.yml
index 6d6f772..1f2b866 100644
--- a/tests/usecases/webhook/deployment.yml
+++ b/tests/usecases/webhook/deployment.yml
@@ -1,19 +1,18 @@
 application:
   name: wskdeploy-samples
-  namespace: guest
+  namespace: _                         # TODO: REPLACE IT with the namespace 
used in OpenWhisk server
+  credential: c82b7b9d-296a-4b14       # TODO: REPLACE IT with the credential 
to access OpenWhisk server
 
   packages:
     git_webhook:
-      credential: 
23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP
-
       feeds:
         webhook:
           #we treat the inputs as parameters besides --feed.
           inputs:
-            # TODO(dliu): Please fix "repository" value and see if we can 
change/remove username
-            # as actual developer names should not be in these files when 
possible.
-            username: daisy-ycguo
-            repository: https://github.com/openwhisk/wsktool.git
-            accessToken:
-            events: PUSH
-            endpoint: openwhisk.ng.bluemix.net
+            # Below values are fake values of username, repository, 
accessToken, events and endpoint.
+            # TODO: REPLACE them with the real data.
+            username: github_id                                # user name in 
github.com
+            repository: https://github.com/id/XXX.git  # the url of git 
repository 
+            accessToken: 8854acesdf                    # the access token of 
github
+            events: PUSH                               # the event of github, 
e.g. PUSH, FORK, etc
+            endpoint: myopenwhisk.net                  # the name or IP of the 
OpenWhisk server
diff --git a/tests/usecases/webhook/manifest.yml 
b/tests/usecases/webhook/manifest.yml
index 888c956..a7f3097 100644
--- a/tests/usecases/webhook/manifest.yml
+++ b/tests/usecases/webhook/manifest.yml
@@ -5,8 +5,8 @@ package:
   actions:
     webhook:
       version: 1.0
-      location: 
https://raw.githubusercontent.com/apache/incubator-openwhisk-catalog/master/packages/github/webhook.js
-      runtime: nodejs
+      location: src/webhook.js
+      runtime: nodejs:6
       inputs:
         username:
           type: string

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to