{"action":"created","comment":{"url":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/comments/206114097","pull_request_review_id":141509635,"id":206114097,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjExNDA5Nw==","diff_hunk":"@@ -0,0 +1,47 @@\n+import * as support from '../support';\n+import { browser } from 'protractor';\n+\n+export async function runScript(baseDir: string, name: string, params: string[], outputDir: string): Promise<void> {\n+    support.info(`Running script ${name} from directory ${baseDir} with output to ${outputDir}`);\n+\n+    let exitCode: number = 0;\n+    let finished: boolean = false;\n+\n+    const { spawn } = require('child_process');","path":"ee_tests/src/support/script_runner.ts","position":10,"original_position":10,"commit_id":"92151b21652eca8ef0a2da0d8f3b80fdbcd79759","original_commit_id":"92151b21652eca8ef0a2da0d8f3b80fdbcd79759","user":{"login":"ppitonak","id":445100,"node_id":"MDQ6VXNlcjQ0NTEwMA==","avatar_url":"https://avatars1.githubusercontent.com/u/445100?v=4","gravatar_id":"","url":"https://api.github.com/users/ppitonak","html_url":"https://github.com/ppitonak","followers_url":"https://api.github.com/users/ppitonak/followers","following_url":"https://api.github.com/users/ppitonak/following{/other_user}","gists_url":"https://api.github.com/users/ppitonak/gists{/gist_id}","starred_url":"https://api.github.com/users/ppitonak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppitonak/subscriptions","organizations_url":"https://api.github.com/users/ppitonak/orgs","repos_url":"https://api.github.com/users/ppitonak/repos","events_url":"https://api.github.com/users/ppitonak/events{/privacy}","received_events_url":"https://api.github.com/users/ppitonak/received_events","type":"User","site_admin":false},"body":"1. why `require`?\r\n2. why in this place and not at the top?","created_at":"2018-07-30T12:28:10Z","updated_at":"2018-07-30T12:45:04Z","html_url":"https://github.com/fabric8io/fabric8-test/pull/912#discussion_r206114097","pull_request_url":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/912","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/comments/206114097"},"html":{"href":"https://github.com/fabric8io/fabric8-test/pull/912#discussion_r206114097"},"pull_request":{"href":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/912"}}},"pull_request":{"url":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/912","id":204784878,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0Nzg0ODc4","html_url":"https://github.com/fabric8io/fabric8-test/pull/912","diff_url":"https://github.com/fabric8io/fabric8-test/pull/912.diff","patch_url":"https://github.com/fabric8io/fabric8-test/pull/912.patch","issue_url":"https://api.github.com/repos/fabric8io/fabric8-test/issues/912","number":912,"state":"open","locked":false,"title":"E2E: Created script runner.","user":{"login":"ljelinkova","id":2078072,"node_id":"MDQ6VXNlcjIwNzgwNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/2078072?v=4","gravatar_id":"","url":"https://api.github.com/users/ljelinkova","html_url":"https://github.com/ljelinkova","followers_url":"https://api.github.com/users/ljelinkova/followers","following_url":"https://api.github.com/users/ljelinkova/following{/other_user}","gists_url":"https://api.github.com/users/ljelinkova/gists{/gist_id}","starred_url":"https://api.github.com/users/ljelinkova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljelinkova/subscriptions","organizations_url":"https://api.github.com/users/ljelinkova/orgs","repos_url":"https://api.github.com/users/ljelinkova/repos","events_url":"https://api.github.com/users/ljelinkova/events{/privacy}","received_events_url":"https://api.github.com/users/ljelinkova/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-30T12:15:47Z","updated_at":"2018-07-30T12:45:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9a8618df2855a215c265b50e1ea47bd7605d4fb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/912/commits","review_comments_url":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/912/comments","review_comment_url":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fabric8io/fabric8-test/issues/912/comments","statuses_url":"https://api.github.com/repos/fabric8io/fabric8-test/statuses/92151b21652eca8ef0a2da0d8f3b80fdbcd79759","head":{"label":"ljelinkova:run-scripts","ref":"run-scripts","sha":"92151b21652eca8ef0a2da0d8f3b80fdbcd79759","user":{"login":"ljelinkova","id":2078072,"node_id":"MDQ6VXNlcjIwNzgwNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/2078072?v=4","gravatar_id":"","url":"https://api.github.com/users/ljelinkova","html_url":"https://github.com/ljelinkova","followers_url":"https://api.github.com/users/ljelinkova/followers","following_url":"https://api.github.com/users/ljelinkova/following{/other_user}","gists_url":"https://api.github.com/users/ljelinkova/gists{/gist_id}","starred_url":"https://api.github.com/users/ljelinkova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljelinkova/subscriptions","organizations_url":"https://api.github.com/users/ljelinkova/orgs","repos_url":"https://api.github.com/users/ljelinkova/repos","events_url":"https://api.github.com/users/ljelinkova/events{/privacy}","received_events_url":"https://api.github.com/users/ljelinkova/received_events","type":"User","site_admin":false},"repo":{"id":113158005,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMxNTgwMDU=","name":"fabric8-test","full_name":"ljelinkova/fabric8-test","owner":{"login":"ljelinkova","id":2078072,"node_id":"MDQ6VXNlcjIwNzgwNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/2078072?v=4","gravatar_id":"","url":"https://api.github.com/users/ljelinkova","html_url":"https://github.com/ljelinkova","followers_url":"https://api.github.com/users/ljelinkova/followers","following_url":"https://api.github.com/users/ljelinkova/following{/other_user}","gists_url":"https://api.github.com/users/ljelinkova/gists{/gist_id}","starred_url":"https://api.github.com/users/ljelinkova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljelinkova/subscriptions","organizations_url":"https://api.github.com/users/ljelinkova/orgs","repos_url":"https://api.github.com/users/ljelinkova/repos","events_url":"https://api.github.com/users/ljelinkova/events{/privacy}","received_events_url":"https://api.github.com/users/ljelinkova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ljelinkova/fabric8-test","description":null,"fork":true,"url":"https://api.github.com/repos/ljelinkova/fabric8-test","forks_url":"https://api.github.com/repos/ljelinkova/fabric8-test/forks","keys_url":"https://api.github.com/repos/ljelinkova/fabric8-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ljelinkova/fabric8-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ljelinkova/fabric8-test/teams","hooks_url":"https://api.github.com/repos/ljelinkova/fabric8-test/hooks","issue_events_url":"https://api.github.com/repos/ljelinkova/fabric8-test/issues/events{/number}","events_url":"https://api.github.com/repos/ljelinkova/fabric8-test/events","assignees_url":"https://api.github.com/repos/ljelinkova/fabric8-test/assignees{/user}","branches_url":"https://api.github.com/repos/ljelinkova/fabric8-test/branches{/branch}","tags_url":"https://api.github.com/repos/ljelinkova/fabric8-test/tags","blobs_url":"https://api.github.com/repos/ljelinkova/fabric8-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ljelinkova/fabric8-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ljelinkova/fabric8-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/ljelinkova/fabric8-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ljelinkova/fabric8-test/statuses/{sha}","languages_url":"https://api.github.com/repos/ljelinkova/fabric8-test/languages","stargazers_url":"https://api.github.com/repos/ljelinkova/fabric8-test/stargazers","contributors_url":"https://api.github.com/repos/ljelinkova/fabric8-test/contributors","subscribers_url":"https://api.github.com/repos/ljelinkova/fabric8-test/subscribers","subscription_url":"https://api.github.com/repos/ljelinkova/fabric8-test/subscription","commits_url":"https://api.github.com/repos/ljelinkova/fabric8-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/ljelinkova/fabric8-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/ljelinkova/fabric8-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/ljelinkova/fabric8-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/ljelinkova/fabric8-test/contents/{+path}","compare_url":"https://api.github.com/repos/ljelinkova/fabric8-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ljelinkova/fabric8-test/merges","archive_url":"https://api.github.com/repos/ljelinkova/fabric8-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ljelinkova/fabric8-test/downloads","issues_url":"https://api.github.com/repos/ljelinkova/fabric8-test/issues{/number}","pulls_url":"https://api.github.com/repos/ljelinkova/fabric8-test/pulls{/number}","milestones_url":"https://api.github.com/repos/ljelinkova/fabric8-test/milestones{/number}","notifications_url":"https://api.github.com/repos/ljelinkova/fabric8-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ljelinkova/fabric8-test/labels{/name}","releases_url":"https://api.github.com/repos/ljelinkova/fabric8-test/releases{/id}","deployments_url":"https://api.github.com/repos/ljelinkova/fabric8-test/deployments","created_at":"2017-12-05T09:00:25Z","updated_at":"2018-03-12T13:17:50Z","pushed_at":"2018-07-30T12:15:33Z","git_url":"git://github.com/ljelinkova/fabric8-test.git","ssh_url":"git@github.com:ljelinkova/fabric8-test.git","clone_url":"https://github.com/ljelinkova/fabric8-test.git","svn_url":"https://github.com/ljelinkova/fabric8-test","homepage":null,"size":1723,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"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":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fabric8io:master","ref":"master","sha":"3b7add0e2b7f6be7b9f00d050d694311b887d879","user":{"login":"fabric8io","id":6074349,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYwNzQzNDk=","avatar_url":"https://avatars1.githubusercontent.com/u/6074349?v=4","gravatar_id":"","url":"https://api.github.com/users/fabric8io","html_url":"https://github.com/fabric8io","followers_url":"https://api.github.com/users/fabric8io/followers","following_url":"https://api.github.com/users/fabric8io/following{/other_user}","gists_url":"https://api.github.com/users/fabric8io/gists{/gist_id}","starred_url":"https://api.github.com/users/fabric8io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabric8io/subscriptions","organizations_url":"https://api.github.com/users/fabric8io/orgs","repos_url":"https://api.github.com/users/fabric8io/repos","events_url":"https://api.github.com/users/fabric8io/events{/privacy}","received_events_url":"https://api.github.com/users/fabric8io/received_events","type":"Organization","site_admin":false},"repo":{"id":93055334,"node_id":"MDEwOlJlcG9zaXRvcnk5MzA1NTMzNA==","name":"fabric8-test","full_name":"fabric8io/fabric8-test","owner":{"login":"fabric8io","id":6074349,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYwNzQzNDk=","avatar_url":"https://avatars1.githubusercontent.com/u/6074349?v=4","gravatar_id":"","url":"https://api.github.com/users/fabric8io","html_url":"https://github.com/fabric8io","followers_url":"https://api.github.com/users/fabric8io/followers","following_url":"https://api.github.com/users/fabric8io/following{/other_user}","gists_url":"https://api.github.com/users/fabric8io/gists{/gist_id}","starred_url":"https://api.github.com/users/fabric8io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabric8io/subscriptions","organizations_url":"https://api.github.com/users/fabric8io/orgs","repos_url":"https://api.github.com/users/fabric8io/repos","events_url":"https://api.github.com/users/fabric8io/events{/privacy}","received_events_url":"https://api.github.com/users/fabric8io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fabric8io/fabric8-test","description":null,"fork":false,"url":"https://api.github.com/repos/fabric8io/fabric8-test","forks_url":"https://api.github.com/repos/fabric8io/fabric8-test/forks","keys_url":"https://api.github.com/repos/fabric8io/fabric8-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fabric8io/fabric8-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fabric8io/fabric8-test/teams","hooks_url":"https://api.github.com/repos/fabric8io/fabric8-test/hooks","issue_events_url":"https://api.github.com/repos/fabric8io/fabric8-test/issues/events{/number}","events_url":"https://api.github.com/repos/fabric8io/fabric8-test/events","assignees_url":"https://api.github.com/repos/fabric8io/fabric8-test/assignees{/user}","branches_url":"https://api.github.com/repos/fabric8io/fabric8-test/branches{/branch}","tags_url":"https://api.github.com/repos/fabric8io/fabric8-test/tags","blobs_url":"https://api.github.com/repos/fabric8io/fabric8-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fabric8io/fabric8-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fabric8io/fabric8-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/fabric8io/fabric8-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fabric8io/fabric8-test/statuses/{sha}","languages_url":"https://api.github.com/repos/fabric8io/fabric8-test/languages","stargazers_url":"https://api.github.com/repos/fabric8io/fabric8-test/stargazers","contributors_url":"https://api.github.com/repos/fabric8io/fabric8-test/contributors","subscribers_url":"https://api.github.com/repos/fabric8io/fabric8-test/subscribers","subscription_url":"https://api.github.com/repos/fabric8io/fabric8-test/subscription","commits_url":"https://api.github.com/repos/fabric8io/fabric8-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/fabric8io/fabric8-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/fabric8io/fabric8-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/fabric8io/fabric8-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/fabric8io/fabric8-test/contents/{+path}","compare_url":"https://api.github.com/repos/fabric8io/fabric8-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fabric8io/fabric8-test/merges","archive_url":"https://api.github.com/repos/fabric8io/fabric8-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fabric8io/fabric8-test/downloads","issues_url":"https://api.github.com/repos/fabric8io/fabric8-test/issues{/number}","pulls_url":"https://api.github.com/repos/fabric8io/fabric8-test/pulls{/number}","milestones_url":"https://api.github.com/repos/fabric8io/fabric8-test/milestones{/number}","notifications_url":"https://api.github.com/repos/fabric8io/fabric8-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fabric8io/fabric8-test/labels{/name}","releases_url":"https://api.github.com/repos/fabric8io/fabric8-test/releases{/id}","deployments_url":"https://api.github.com/repos/fabric8io/fabric8-test/deployments","created_at":"2017-06-01T12:34:15Z","updated_at":"2018-07-27T13:40:38Z","pushed_at":"2018-07-30T12:15:47Z","git_url":"git://github.com/fabric8io/fabric8-test.git","ssh_url":"git@github.com:fabric8io/fabric8-test.git","clone_url":"https://github.com/fabric8io/fabric8-test.git","svn_url":"https://github.com/fabric8io/fabric8-test","homepage":null,"size":1727,"stargazers_count":4,"watchers_count":4,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":76,"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":26,"open_issues":76,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/912"},"html":{"href":"https://github.com/fabric8io/fabric8-test/pull/912"},"issue":{"href":"https://api.github.com/repos/fabric8io/fabric8-test/issues/912"},"comments":{"href":"https://api.github.com/repos/fabric8io/fabric8-test/issues/912/comments"},"review_comments":{"href":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/912/comments"},"review_comment":{"href":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fabric8io/fabric8-test/pulls/912/commits"},"statuses":{"href":"https://api.github.com/repos/fabric8io/fabric8-test/statuses/92151b21652eca8ef0a2da0d8f3b80fdbcd79759"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ppitonak"}}