{"action":"created","comment":{"url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/comments/67070003","id":67070003,"diff_hunk":"@@ -0,0 +1,58 @@\n+#/\n+# Copyright 2015-2016 IBM Corporation\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+# http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+#/\n+#!/bin/bash\n+#\n+# use the command line interface to install pushnotifications package.\n+# this script is in blue because it need blue whisk.properties.\n+#\n+\n+#: ${WHISK_SYSTEM_AUTH:?\"WHISK_SYSTEM_AUTH must be set and non-empty\"}\n+AUTH_KEY=`cat ../../../credentials/auth.whisk.system`\n+\n+SCRIPTDIR=\"$(dirname \"$0\")\"\n+CATALOG_HOME='../'\n+source \"$CATALOG_HOME/util.sh\"\n+\n+# pushnotifications actions\n+\n+echo Installing pushnotifications package.\n+\n+createPackage pushnotifications \\\n+-a description \"pushnotifications service\" \\\n+-a parameters '[ {\"name\":\"appId\", \"required\":true}, {\"name\":\"appSecret\", \"required\":true}]'\n+\n+waitForAll\n+\n+install \"$CATALOG_HOME/pushnotifications/webhook.js\" \\","path":"install.sh","position":39,"original_position":39,"commit_id":"c0879363c5c4f174205c8149e74ead07d488de70","original_commit_id":"c0879363c5c4f174205c8149e74ead07d488de70","user":{"login":"csantanapr","id":1094878,"avatar_url":"https://avatars.githubusercontent.com/u/1094878?v=3","gravatar_id":"","url":"https://api.github.com/users/csantanapr","html_url":"https://github.com/csantanapr","followers_url":"https://api.github.com/users/csantanapr/followers","following_url":"https://api.github.com/users/csantanapr/following{/other_user}","gists_url":"https://api.github.com/users/csantanapr/gists{/gist_id}","starred_url":"https://api.github.com/users/csantanapr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csantanapr/subscriptions","organizations_url":"https://api.github.com/users/csantanapr/orgs","repos_url":"https://api.github.com/users/csantanapr/repos","events_url":"https://api.github.com/users/csantanapr/events{/privacy}","received_events_url":"https://api.github.com/users/csantanapr/received_events","type":"User","site_admin":false},"body":"Don't assume the directory `$CATALOG_HOME/pushnotifications`\r\nHave the user cd into the root of the package and then run `./install.sh <apihost> <apikey>`\r\n\r\nInstructions in the readme will look something like\r\n\r\n`git clone https://github.com/openwhisk/wsk-pkg-pushnotifications`\r\n`cd wsk-pkg-pushnotifications`\r\n`./install.sh` `192.168.1.23` `23bcnijfjjfofof` \r\n\r\n","created_at":"2016-06-14T22:31:31Z","updated_at":"2016-06-14T22:31:31Z","html_url":"https://github.com/openwhisk/wsk-pkg-pushnotifications/pull/3#discussion_r67070003","pull_request_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/comments/67070003"},"html":{"href":"https://github.com/openwhisk/wsk-pkg-pushnotifications/pull/3#discussion_r67070003"},"pull_request":{"href":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/3","id":73815976,"html_url":"https://github.com/openwhisk/wsk-pkg-pushnotifications/pull/3","diff_url":"https://github.com/openwhisk/wsk-pkg-pushnotifications/pull/3.diff","patch_url":"https://github.com/openwhisk/wsk-pkg-pushnotifications/pull/3.patch","issue_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/issues/3","number":3,"state":"open","locked":false,"title":"Addition of install.sh and updates to the other push files to format …","user":{"login":"nwspeete-ibm","id":18600107,"avatar_url":"https://avatars.githubusercontent.com/u/18600107?v=3","gravatar_id":"","url":"https://api.github.com/users/nwspeete-ibm","html_url":"https://github.com/nwspeete-ibm","followers_url":"https://api.github.com/users/nwspeete-ibm/followers","following_url":"https://api.github.com/users/nwspeete-ibm/following{/other_user}","gists_url":"https://api.github.com/users/nwspeete-ibm/gists{/gist_id}","starred_url":"https://api.github.com/users/nwspeete-ibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwspeete-ibm/subscriptions","organizations_url":"https://api.github.com/users/nwspeete-ibm/orgs","repos_url":"https://api.github.com/users/nwspeete-ibm/repos","events_url":"https://api.github.com/users/nwspeete-ibm/events{/privacy}","received_events_url":"https://api.github.com/users/nwspeete-ibm/received_events","type":"User","site_admin":false},"body":"…code and headers correctly.","created_at":"2016-06-14T21:22:05Z","updated_at":"2016-06-14T22:31:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10a6bd6b3f3b4d1c3f5568bc9301a4a87a73b493","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/3/commits","review_comments_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/3/comments","review_comment_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/issues/3/comments","statuses_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/statuses/c0879363c5c4f174205c8149e74ead07d488de70","head":{"label":"nwspeete-ibm:master","ref":"master","sha":"c0879363c5c4f174205c8149e74ead07d488de70","user":{"login":"nwspeete-ibm","id":18600107,"avatar_url":"https://avatars.githubusercontent.com/u/18600107?v=3","gravatar_id":"","url":"https://api.github.com/users/nwspeete-ibm","html_url":"https://github.com/nwspeete-ibm","followers_url":"https://api.github.com/users/nwspeete-ibm/followers","following_url":"https://api.github.com/users/nwspeete-ibm/following{/other_user}","gists_url":"https://api.github.com/users/nwspeete-ibm/gists{/gist_id}","starred_url":"https://api.github.com/users/nwspeete-ibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwspeete-ibm/subscriptions","organizations_url":"https://api.github.com/users/nwspeete-ibm/orgs","repos_url":"https://api.github.com/users/nwspeete-ibm/repos","events_url":"https://api.github.com/users/nwspeete-ibm/events{/privacy}","received_events_url":"https://api.github.com/users/nwspeete-ibm/received_events","type":"User","site_admin":false},"repo":{"id":60120227,"name":"wsk-pkg-pushnotifications","full_name":"nwspeete-ibm/wsk-pkg-pushnotifications","owner":{"login":"nwspeete-ibm","id":18600107,"avatar_url":"https://avatars.githubusercontent.com/u/18600107?v=3","gravatar_id":"","url":"https://api.github.com/users/nwspeete-ibm","html_url":"https://github.com/nwspeete-ibm","followers_url":"https://api.github.com/users/nwspeete-ibm/followers","following_url":"https://api.github.com/users/nwspeete-ibm/following{/other_user}","gists_url":"https://api.github.com/users/nwspeete-ibm/gists{/gist_id}","starred_url":"https://api.github.com/users/nwspeete-ibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwspeete-ibm/subscriptions","organizations_url":"https://api.github.com/users/nwspeete-ibm/orgs","repos_url":"https://api.github.com/users/nwspeete-ibm/repos","events_url":"https://api.github.com/users/nwspeete-ibm/events{/privacy}","received_events_url":"https://api.github.com/users/nwspeete-ibm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nwspeete-ibm/wsk-pkg-pushnotifications","description":"OpenWhisk Package for Bluemix Push Notifications Service","fork":true,"url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications","forks_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/forks","keys_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/teams","hooks_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/hooks","issue_events_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/issues/events{/number}","events_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/events","assignees_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/assignees{/user}","branches_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/branches{/branch}","tags_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/tags","blobs_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/git/refs{/sha}","trees_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/statuses/{sha}","languages_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/languages","stargazers_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/stargazers","contributors_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/contributors","subscribers_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/subscribers","subscription_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/subscription","commits_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/commits{/sha}","git_commits_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/git/commits{/sha}","comments_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/comments{/number}","issue_comment_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/issues/comments{/number}","contents_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/contents/{+path}","compare_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/merges","archive_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/downloads","issues_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/issues{/number}","pulls_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/pulls{/number}","milestones_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/milestones{/number}","notifications_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/labels{/name}","releases_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/releases{/id}","deployments_url":"https://api.github.com/repos/nwspeete-ibm/wsk-pkg-pushnotifications/deployments","created_at":"2016-05-31T20:13:59Z","updated_at":"2016-05-31T21:20:09Z","pushed_at":"2016-06-14T21:51:42Z","git_url":"git://github.com/nwspeete-ibm/wsk-pkg-pushnotifications.git","ssh_url":"git@github.com:nwspeete-ibm/wsk-pkg-pushnotifications.git","clone_url":"https://github.com/nwspeete-ibm/wsk-pkg-pushnotifications.git","svn_url":"https://github.com/nwspeete-ibm/wsk-pkg-pushnotifications","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openwhisk:master","ref":"master","sha":"fff262be5ed03cbffdc31ec8e4275368e15a7043","user":{"login":"openwhisk","id":16900235,"avatar_url":"https://avatars.githubusercontent.com/u/16900235?v=3","gravatar_id":"","url":"https://api.github.com/users/openwhisk","html_url":"https://github.com/openwhisk","followers_url":"https://api.github.com/users/openwhisk/followers","following_url":"https://api.github.com/users/openwhisk/following{/other_user}","gists_url":"https://api.github.com/users/openwhisk/gists{/gist_id}","starred_url":"https://api.github.com/users/openwhisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwhisk/subscriptions","organizations_url":"https://api.github.com/users/openwhisk/orgs","repos_url":"https://api.github.com/users/openwhisk/repos","events_url":"https://api.github.com/users/openwhisk/events{/privacy}","received_events_url":"https://api.github.com/users/openwhisk/received_events","type":"Organization","site_admin":false},"repo":{"id":58955430,"name":"wsk-pkg-pushnotifications","full_name":"openwhisk/wsk-pkg-pushnotifications","owner":{"login":"openwhisk","id":16900235,"avatar_url":"https://avatars.githubusercontent.com/u/16900235?v=3","gravatar_id":"","url":"https://api.github.com/users/openwhisk","html_url":"https://github.com/openwhisk","followers_url":"https://api.github.com/users/openwhisk/followers","following_url":"https://api.github.com/users/openwhisk/following{/other_user}","gists_url":"https://api.github.com/users/openwhisk/gists{/gist_id}","starred_url":"https://api.github.com/users/openwhisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwhisk/subscriptions","organizations_url":"https://api.github.com/users/openwhisk/orgs","repos_url":"https://api.github.com/users/openwhisk/repos","events_url":"https://api.github.com/users/openwhisk/events{/privacy}","received_events_url":"https://api.github.com/users/openwhisk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openwhisk/wsk-pkg-pushnotifications","description":"OpenWhisk Package for Bluemix Push Notifications Service","fork":false,"url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications","forks_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/forks","keys_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/teams","hooks_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/hooks","issue_events_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/issues/events{/number}","events_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/events","assignees_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/assignees{/user}","branches_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/branches{/branch}","tags_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/tags","blobs_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/git/refs{/sha}","trees_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/statuses/{sha}","languages_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/languages","stargazers_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/stargazers","contributors_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/contributors","subscribers_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/subscribers","subscription_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/subscription","commits_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/commits{/sha}","git_commits_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/git/commits{/sha}","comments_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/comments{/number}","issue_comment_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/issues/comments{/number}","contents_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/contents/{+path}","compare_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/merges","archive_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/downloads","issues_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/issues{/number}","pulls_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls{/number}","milestones_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/milestones{/number}","notifications_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/labels{/name}","releases_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/releases{/id}","deployments_url":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/deployments","created_at":"2016-05-16T18:09:04Z","updated_at":"2016-05-19T16:10:24Z","pushed_at":"2016-06-14T21:51:42Z","git_url":"git://github.com/openwhisk/wsk-pkg-pushnotifications.git","ssh_url":"git@github.com:openwhisk/wsk-pkg-pushnotifications.git","clone_url":"https://github.com/openwhisk/wsk-pkg-pushnotifications.git","svn_url":"https://github.com/openwhisk/wsk-pkg-pushnotifications","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/3"},"html":{"href":"https://github.com/openwhisk/wsk-pkg-pushnotifications/pull/3"},"issue":{"href":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/issues/3"},"comments":{"href":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/openwhisk/wsk-pkg-pushnotifications/statuses/c0879363c5c4f174205c8149e74ead07d488de70"}}}}
{"actor":{"display_login":"csantanapr"}}