{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/testgrid/pulls/comments/233454587","pull_request_review_id":174869452,"id":233454587,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzQ1NDU4Nw==","diff_hunk":"@@ -132,6 +140,22 @@ public boolean execute(TestPlan testPlan, InfrastructureConfig infrastructureCon\n             dashboardSetup.initDashboard();\n         }\n \n+        // Append inputs from deploymentConfig in testgrid yaml to infra outputs file\n+        Properties deplProperties = testPlan.getDeploymentConfig()\n+                .getDeploymentPatterns().get(0).getScripts().get(0).getInputParameters();\n+        persistAdditionalInputs(deplProperties, infraOutFilePath);\n+\n+        /*\n+         *  Move testplan-props.properties out of data bucket to avoid exposing to the test execution phase.\n+         */\n+        try {\n+            Files.move(testplanPropsFilePath, Paths.get(testPlan.getWorkspace(),\n+                    DataBucketsHelper.TESTPLAN_PROPERTIES_FILE), StandardCopyOption.REPLACE_EXISTING);\n+        } catch (IOException e) {\n+            logger.error(\"Error occurred while moving \" + infraOutFilePath\n+                    + \" to \" + Paths.get(testPlan.getWorkspace()));","path":"core/src/main/java/org/wso2/testgrid/core/TestPlanExecutor.java","position":45,"original_position":45,"commit_id":"c430e81bc99d7423f67a6927623d9f3c55eb854e","original_commit_id":"c430e81bc99d7423f67a6927623d9f3c55eb854e","user":{"login":"kasunbg","id":936037,"node_id":"MDQ6VXNlcjkzNjAzNw==","avatar_url":"https://avatars1.githubusercontent.com/u/936037?v=4","gravatar_id":"","url":"https://api.github.com/users/kasunbg","html_url":"https://github.com/kasunbg","followers_url":"https://api.github.com/users/kasunbg/followers","following_url":"https://api.github.com/users/kasunbg/following{/other_user}","gists_url":"https://api.github.com/users/kasunbg/gists{/gist_id}","starred_url":"https://api.github.com/users/kasunbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasunbg/subscriptions","organizations_url":"https://api.github.com/users/kasunbg/orgs","repos_url":"https://api.github.com/users/kasunbg/repos","events_url":"https://api.github.com/users/kasunbg/events{/privacy}","received_events_url":"https://api.github.com/users/kasunbg/received_events","type":"User","site_admin":false},"body":"Log e","created_at":"2018-11-14T13:53:13Z","updated_at":"2018-11-14T13:53:13Z","html_url":"https://github.com/wso2/testgrid/pull/1083#discussion_r233454587","pull_request_url":"https://api.github.com/repos/wso2/testgrid/pulls/1083","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/wso2/testgrid/pulls/comments/233454587"},"html":{"href":"https://github.com/wso2/testgrid/pull/1083#discussion_r233454587"},"pull_request":{"href":"https://api.github.com/repos/wso2/testgrid/pulls/1083"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/testgrid/pulls/1083","id":230814761,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwODE0NzYx","html_url":"https://github.com/wso2/testgrid/pull/1083","diff_url":"https://github.com/wso2/testgrid/pull/1083.diff","patch_url":"https://github.com/wso2/testgrid/pull/1083.patch","issue_url":"https://api.github.com/repos/wso2/testgrid/issues/1083","number":1083,"state":"open","locked":false,"title":"WIP: Improve input/output generation for each step","user":{"login":"azinneera","id":18344003,"node_id":"MDQ6VXNlcjE4MzQ0MDAz","avatar_url":"https://avatars3.githubusercontent.com/u/18344003?v=4","gravatar_id":"","url":"https://api.github.com/users/azinneera","html_url":"https://github.com/azinneera","followers_url":"https://api.github.com/users/azinneera/followers","following_url":"https://api.github.com/users/azinneera/following{/other_user}","gists_url":"https://api.github.com/users/azinneera/gists{/gist_id}","starred_url":"https://api.github.com/users/azinneera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azinneera/subscriptions","organizations_url":"https://api.github.com/users/azinneera/orgs","repos_url":"https://api.github.com/users/azinneera/repos","events_url":"https://api.github.com/users/azinneera/events{/privacy}","received_events_url":"https://api.github.com/users/azinneera/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-14T12:17:49Z","updated_at":"2018-11-14T13:53:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6391807c40724a4905963df73b5ead8549c20888","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/testgrid/pulls/1083/commits","review_comments_url":"https://api.github.com/repos/wso2/testgrid/pulls/1083/comments","review_comment_url":"https://api.github.com/repos/wso2/testgrid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/testgrid/issues/1083/comments","statuses_url":"https://api.github.com/repos/wso2/testgrid/statuses/c430e81bc99d7423f67a6927623d9f3c55eb854e","head":{"label":"azinneera:info-hiding","ref":"info-hiding","sha":"c430e81bc99d7423f67a6927623d9f3c55eb854e","user":{"login":"azinneera","id":18344003,"node_id":"MDQ6VXNlcjE4MzQ0MDAz","avatar_url":"https://avatars3.githubusercontent.com/u/18344003?v=4","gravatar_id":"","url":"https://api.github.com/users/azinneera","html_url":"https://github.com/azinneera","followers_url":"https://api.github.com/users/azinneera/followers","following_url":"https://api.github.com/users/azinneera/following{/other_user}","gists_url":"https://api.github.com/users/azinneera/gists{/gist_id}","starred_url":"https://api.github.com/users/azinneera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azinneera/subscriptions","organizations_url":"https://api.github.com/users/azinneera/orgs","repos_url":"https://api.github.com/users/azinneera/repos","events_url":"https://api.github.com/users/azinneera/events{/privacy}","received_events_url":"https://api.github.com/users/azinneera/received_events","type":"User","site_admin":false},"repo":{"id":108869875,"node_id":"MDEwOlJlcG9zaXRvcnkxMDg4Njk4NzU=","name":"testgrid","full_name":"azinneera/testgrid","private":false,"owner":{"login":"azinneera","id":18344003,"node_id":"MDQ6VXNlcjE4MzQ0MDAz","avatar_url":"https://avatars3.githubusercontent.com/u/18344003?v=4","gravatar_id":"","url":"https://api.github.com/users/azinneera","html_url":"https://github.com/azinneera","followers_url":"https://api.github.com/users/azinneera/followers","following_url":"https://api.github.com/users/azinneera/following{/other_user}","gists_url":"https://api.github.com/users/azinneera/gists{/gist_id}","starred_url":"https://api.github.com/users/azinneera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azinneera/subscriptions","organizations_url":"https://api.github.com/users/azinneera/orgs","repos_url":"https://api.github.com/users/azinneera/repos","events_url":"https://api.github.com/users/azinneera/events{/privacy}","received_events_url":"https://api.github.com/users/azinneera/received_events","type":"User","site_admin":false},"html_url":"https://github.com/azinneera/testgrid","description":null,"fork":true,"url":"https://api.github.com/repos/azinneera/testgrid","forks_url":"https://api.github.com/repos/azinneera/testgrid/forks","keys_url":"https://api.github.com/repos/azinneera/testgrid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azinneera/testgrid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azinneera/testgrid/teams","hooks_url":"https://api.github.com/repos/azinneera/testgrid/hooks","issue_events_url":"https://api.github.com/repos/azinneera/testgrid/issues/events{/number}","events_url":"https://api.github.com/repos/azinneera/testgrid/events","assignees_url":"https://api.github.com/repos/azinneera/testgrid/assignees{/user}","branches_url":"https://api.github.com/repos/azinneera/testgrid/branches{/branch}","tags_url":"https://api.github.com/repos/azinneera/testgrid/tags","blobs_url":"https://api.github.com/repos/azinneera/testgrid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azinneera/testgrid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azinneera/testgrid/git/refs{/sha}","trees_url":"https://api.github.com/repos/azinneera/testgrid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azinneera/testgrid/statuses/{sha}","languages_url":"https://api.github.com/repos/azinneera/testgrid/languages","stargazers_url":"https://api.github.com/repos/azinneera/testgrid/stargazers","contributors_url":"https://api.github.com/repos/azinneera/testgrid/contributors","subscribers_url":"https://api.github.com/repos/azinneera/testgrid/subscribers","subscription_url":"https://api.github.com/repos/azinneera/testgrid/subscription","commits_url":"https://api.github.com/repos/azinneera/testgrid/commits{/sha}","git_commits_url":"https://api.github.com/repos/azinneera/testgrid/git/commits{/sha}","comments_url":"https://api.github.com/repos/azinneera/testgrid/comments{/number}","issue_comment_url":"https://api.github.com/repos/azinneera/testgrid/issues/comments{/number}","contents_url":"https://api.github.com/repos/azinneera/testgrid/contents/{+path}","compare_url":"https://api.github.com/repos/azinneera/testgrid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azinneera/testgrid/merges","archive_url":"https://api.github.com/repos/azinneera/testgrid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azinneera/testgrid/downloads","issues_url":"https://api.github.com/repos/azinneera/testgrid/issues{/number}","pulls_url":"https://api.github.com/repos/azinneera/testgrid/pulls{/number}","milestones_url":"https://api.github.com/repos/azinneera/testgrid/milestones{/number}","notifications_url":"https://api.github.com/repos/azinneera/testgrid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azinneera/testgrid/labels{/name}","releases_url":"https://api.github.com/repos/azinneera/testgrid/releases{/id}","deployments_url":"https://api.github.com/repos/azinneera/testgrid/deployments","created_at":"2017-10-30T15:25:59Z","updated_at":"2018-10-18T11:01:49Z","pushed_at":"2018-11-14T12:23:24Z","git_url":"git://github.com/azinneera/testgrid.git","ssh_url":"git@github.com:azinneera/testgrid.git","clone_url":"https://github.com/azinneera/testgrid.git","svn_url":"https://github.com/azinneera/testgrid","homepage":null,"size":30065,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"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":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"53c551129b8ff168172de9bd9d4d64f43380fd0f","user":{"login":"wso2","id":533043,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzA0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":108240819,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgyNDA4MTk=","name":"testgrid","full_name":"wso2/testgrid","private":false,"owner":{"login":"wso2","id":533043,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzA0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wso2/testgrid","description":"TestGrid provides the enterprise customers confidence on the products and updates WSO2 ship.","fork":false,"url":"https://api.github.com/repos/wso2/testgrid","forks_url":"https://api.github.com/repos/wso2/testgrid/forks","keys_url":"https://api.github.com/repos/wso2/testgrid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/testgrid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/testgrid/teams","hooks_url":"https://api.github.com/repos/wso2/testgrid/hooks","issue_events_url":"https://api.github.com/repos/wso2/testgrid/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/testgrid/events","assignees_url":"https://api.github.com/repos/wso2/testgrid/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/testgrid/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/testgrid/tags","blobs_url":"https://api.github.com/repos/wso2/testgrid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/testgrid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/testgrid/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/testgrid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/testgrid/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/testgrid/languages","stargazers_url":"https://api.github.com/repos/wso2/testgrid/stargazers","contributors_url":"https://api.github.com/repos/wso2/testgrid/contributors","subscribers_url":"https://api.github.com/repos/wso2/testgrid/subscribers","subscription_url":"https://api.github.com/repos/wso2/testgrid/subscription","commits_url":"https://api.github.com/repos/wso2/testgrid/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/testgrid/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/testgrid/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/testgrid/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/testgrid/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/testgrid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/testgrid/merges","archive_url":"https://api.github.com/repos/wso2/testgrid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/testgrid/downloads","issues_url":"https://api.github.com/repos/wso2/testgrid/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/testgrid/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/testgrid/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/testgrid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/testgrid/labels{/name}","releases_url":"https://api.github.com/repos/wso2/testgrid/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/testgrid/deployments","created_at":"2017-10-25T08:21:00Z","updated_at":"2018-11-14T13:02:47Z","pushed_at":"2018-11-14T13:02:44Z","git_url":"git://github.com/wso2/testgrid.git","ssh_url":"git@github.com:wso2/testgrid.git","clone_url":"https://github.com/wso2/testgrid.git","svn_url":"https://github.com/wso2/testgrid","homepage":"","size":29971,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":124,"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":19,"open_issues":124,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/testgrid/pulls/1083"},"html":{"href":"https://github.com/wso2/testgrid/pull/1083"},"issue":{"href":"https://api.github.com/repos/wso2/testgrid/issues/1083"},"comments":{"href":"https://api.github.com/repos/wso2/testgrid/issues/1083/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/testgrid/pulls/1083/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/testgrid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/testgrid/pulls/1083/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/testgrid/statuses/c430e81bc99d7423f67a6927623d9f3c55eb854e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kasunbg"}}