{"action":"created","comment":{"url":"https://api.github.com/repos/adobe/helix-simulator/pulls/comments/242458554","pull_request_review_id":185969964,"id":242458554,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjQ1ODU1NA==","diff_hunk":"@@ -86,24 +86,23 @@ function executeTemplate(ctx) {\n   });\n \n   Module._nodeModulePaths = nodeModulePathsFn;\n-  const actionArgs = {\n+\n+  return Promise.resolve(mod.main({\n     __ow_headers: owHeaders,\n     __ow_method: ctx.method.toLowerCase(),\n     __ow_logger: ctx.logger,\n     owner: ctx.config.contentRepo.owner,\n     repo: ctx.config.contentRepo.repo,\n     ref: ctx.config.contentRepo.ref || 'master',\n     path: `${ctx.resourcePath}.md`,\n+    selector: ctx._selector,\n+    extension: ctx._extension,\n+    url: ctx._url,","path":"src/HelixServer.js","position":16,"original_position":16,"commit_id":"bf5dd52573b94f80ab907f5b88e9fa622ad3b6c4","original_commit_id":"bf5dd52573b94f80ab907f5b88e9fa622ad3b6c4","user":{"login":"rofe","id":1609742,"node_id":"MDQ6VXNlcjE2MDk3NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1609742?v=4","gravatar_id":"","url":"https://api.github.com/users/rofe","html_url":"https://github.com/rofe","followers_url":"https://api.github.com/users/rofe/followers","following_url":"https://api.github.com/users/rofe/following{/other_user}","gists_url":"https://api.github.com/users/rofe/gists{/gist_id}","starred_url":"https://api.github.com/users/rofe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rofe/subscriptions","organizations_url":"https://api.github.com/users/rofe/orgs","repos_url":"https://api.github.com/users/rofe/repos","events_url":"https://api.github.com/users/rofe/events{/privacy}","received_events_url":"https://api.github.com/users/rofe/received_events","type":"User","site_admin":false},"body":"> I would generate the URL request property in the pipeline (in openwhisk.js)\r\n\r\nok","created_at":"2018-12-18T09:21:38Z","updated_at":"2018-12-18T09:21:38Z","html_url":"https://github.com/adobe/helix-simulator/pull/112#discussion_r242458554","pull_request_url":"https://api.github.com/repos/adobe/helix-simulator/pulls/112","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/adobe/helix-simulator/pulls/comments/242458554"},"html":{"href":"https://github.com/adobe/helix-simulator/pull/112#discussion_r242458554"},"pull_request":{"href":"https://api.github.com/repos/adobe/helix-simulator/pulls/112"}},"in_reply_to_id":242455195},"pull_request":{"url":"https://api.github.com/repos/adobe/helix-simulator/pulls/112","id":239402327,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NDAyMzI3","html_url":"https://github.com/adobe/helix-simulator/pull/112","diff_url":"https://github.com/adobe/helix-simulator/pull/112.diff","patch_url":"https://github.com/adobe/helix-simulator/pull/112.patch","issue_url":"https://api.github.com/repos/adobe/helix-simulator/issues/112","number":112,"state":"open","locked":false,"title":"Consolidate request properties in dev and publish env #111","user":{"login":"rofe","id":1609742,"node_id":"MDQ6VXNlcjE2MDk3NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1609742?v=4","gravatar_id":"","url":"https://api.github.com/users/rofe","html_url":"https://github.com/rofe","followers_url":"https://api.github.com/users/rofe/followers","following_url":"https://api.github.com/users/rofe/following{/other_user}","gists_url":"https://api.github.com/users/rofe/gists{/gist_id}","starred_url":"https://api.github.com/users/rofe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rofe/subscriptions","organizations_url":"https://api.github.com/users/rofe/orgs","repos_url":"https://api.github.com/users/rofe/repos","events_url":"https://api.github.com/users/rofe/events{/privacy}","received_events_url":"https://api.github.com/users/rofe/received_events","type":"User","site_admin":false},"body":"Fixes #111 ","created_at":"2018-12-18T08:32:19Z","updated_at":"2018-12-18T09:21:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d0a4fe744dc839ae127e2fe13e4088b400600bf3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/adobe/helix-simulator/pulls/112/commits","review_comments_url":"https://api.github.com/repos/adobe/helix-simulator/pulls/112/comments","review_comment_url":"https://api.github.com/repos/adobe/helix-simulator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adobe/helix-simulator/issues/112/comments","statuses_url":"https://api.github.com/repos/adobe/helix-simulator/statuses/bf5dd52573b94f80ab907f5b88e9fa622ad3b6c4","head":{"label":"adobe:request-props","ref":"request-props","sha":"bf5dd52573b94f80ab907f5b88e9fa622ad3b6c4","user":{"login":"adobe","id":476009,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3NjAwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/476009?v=4","gravatar_id":"","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"repo":{"id":139860288,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4NjAyODg=","name":"helix-simulator","full_name":"adobe/helix-simulator","private":false,"owner":{"login":"adobe","id":476009,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3NjAwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/476009?v=4","gravatar_id":"","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/adobe/helix-simulator","description":null,"fork":false,"url":"https://api.github.com/repos/adobe/helix-simulator","forks_url":"https://api.github.com/repos/adobe/helix-simulator/forks","keys_url":"https://api.github.com/repos/adobe/helix-simulator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe/helix-simulator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe/helix-simulator/teams","hooks_url":"https://api.github.com/repos/adobe/helix-simulator/hooks","issue_events_url":"https://api.github.com/repos/adobe/helix-simulator/issues/events{/number}","events_url":"https://api.github.com/repos/adobe/helix-simulator/events","assignees_url":"https://api.github.com/repos/adobe/helix-simulator/assignees{/user}","branches_url":"https://api.github.com/repos/adobe/helix-simulator/branches{/branch}","tags_url":"https://api.github.com/repos/adobe/helix-simulator/tags","blobs_url":"https://api.github.com/repos/adobe/helix-simulator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe/helix-simulator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe/helix-simulator/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe/helix-simulator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe/helix-simulator/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe/helix-simulator/languages","stargazers_url":"https://api.github.com/repos/adobe/helix-simulator/stargazers","contributors_url":"https://api.github.com/repos/adobe/helix-simulator/contributors","subscribers_url":"https://api.github.com/repos/adobe/helix-simulator/subscribers","subscription_url":"https://api.github.com/repos/adobe/helix-simulator/subscription","commits_url":"https://api.github.com/repos/adobe/helix-simulator/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe/helix-simulator/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe/helix-simulator/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe/helix-simulator/issues/comments{/number}","contents_url":"https://api.github.com/repos/adobe/helix-simulator/contents/{+path}","compare_url":"https://api.github.com/repos/adobe/helix-simulator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe/helix-simulator/merges","archive_url":"https://api.github.com/repos/adobe/helix-simulator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe/helix-simulator/downloads","issues_url":"https://api.github.com/repos/adobe/helix-simulator/issues{/number}","pulls_url":"https://api.github.com/repos/adobe/helix-simulator/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe/helix-simulator/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe/helix-simulator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe/helix-simulator/labels{/name}","releases_url":"https://api.github.com/repos/adobe/helix-simulator/releases{/id}","deployments_url":"https://api.github.com/repos/adobe/helix-simulator/deployments","created_at":"2018-07-05T14:21:42Z","updated_at":"2018-12-15T02:56:56Z","pushed_at":"2018-12-18T08:32:20Z","git_url":"git://github.com/adobe/helix-simulator.git","ssh_url":"git@github.com:adobe/helix-simulator.git","clone_url":"https://github.com/adobe/helix-simulator.git","svn_url":"https://github.com/adobe/helix-simulator","homepage":null,"size":5860,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":8,"watchers":2,"default_branch":"master"}},"base":{"label":"adobe:master","ref":"master","sha":"752f0096aec9dc34160cbdb9cf0cfcce93592ef6","user":{"login":"adobe","id":476009,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3NjAwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/476009?v=4","gravatar_id":"","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"repo":{"id":139860288,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4NjAyODg=","name":"helix-simulator","full_name":"adobe/helix-simulator","private":false,"owner":{"login":"adobe","id":476009,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3NjAwOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/476009?v=4","gravatar_id":"","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/adobe/helix-simulator","description":null,"fork":false,"url":"https://api.github.com/repos/adobe/helix-simulator","forks_url":"https://api.github.com/repos/adobe/helix-simulator/forks","keys_url":"https://api.github.com/repos/adobe/helix-simulator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe/helix-simulator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe/helix-simulator/teams","hooks_url":"https://api.github.com/repos/adobe/helix-simulator/hooks","issue_events_url":"https://api.github.com/repos/adobe/helix-simulator/issues/events{/number}","events_url":"https://api.github.com/repos/adobe/helix-simulator/events","assignees_url":"https://api.github.com/repos/adobe/helix-simulator/assignees{/user}","branches_url":"https://api.github.com/repos/adobe/helix-simulator/branches{/branch}","tags_url":"https://api.github.com/repos/adobe/helix-simulator/tags","blobs_url":"https://api.github.com/repos/adobe/helix-simulator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe/helix-simulator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe/helix-simulator/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe/helix-simulator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe/helix-simulator/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe/helix-simulator/languages","stargazers_url":"https://api.github.com/repos/adobe/helix-simulator/stargazers","contributors_url":"https://api.github.com/repos/adobe/helix-simulator/contributors","subscribers_url":"https://api.github.com/repos/adobe/helix-simulator/subscribers","subscription_url":"https://api.github.com/repos/adobe/helix-simulator/subscription","commits_url":"https://api.github.com/repos/adobe/helix-simulator/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe/helix-simulator/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe/helix-simulator/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe/helix-simulator/issues/comments{/number}","contents_url":"https://api.github.com/repos/adobe/helix-simulator/contents/{+path}","compare_url":"https://api.github.com/repos/adobe/helix-simulator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe/helix-simulator/merges","archive_url":"https://api.github.com/repos/adobe/helix-simulator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe/helix-simulator/downloads","issues_url":"https://api.github.com/repos/adobe/helix-simulator/issues{/number}","pulls_url":"https://api.github.com/repos/adobe/helix-simulator/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe/helix-simulator/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe/helix-simulator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe/helix-simulator/labels{/name}","releases_url":"https://api.github.com/repos/adobe/helix-simulator/releases{/id}","deployments_url":"https://api.github.com/repos/adobe/helix-simulator/deployments","created_at":"2018-07-05T14:21:42Z","updated_at":"2018-12-15T02:56:56Z","pushed_at":"2018-12-18T08:32:20Z","git_url":"git://github.com/adobe/helix-simulator.git","ssh_url":"git@github.com:adobe/helix-simulator.git","clone_url":"https://github.com/adobe/helix-simulator.git","svn_url":"https://github.com/adobe/helix-simulator","homepage":null,"size":5860,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adobe/helix-simulator/pulls/112"},"html":{"href":"https://github.com/adobe/helix-simulator/pull/112"},"issue":{"href":"https://api.github.com/repos/adobe/helix-simulator/issues/112"},"comments":{"href":"https://api.github.com/repos/adobe/helix-simulator/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/adobe/helix-simulator/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/adobe/helix-simulator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adobe/helix-simulator/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/adobe/helix-simulator/statuses/bf5dd52573b94f80ab907f5b88e9fa622ad3b6c4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rofe"}}