{"action":"created","comment":{"url":"https://api.github.com/repos/redhat-developer/rh-che/pulls/comments/213252306","pull_request_review_id":150047941,"id":213252306,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzI1MjMwNg==","diff_hunk":"@@ -0,0 +1,34 @@\n+/*\n+ * Copyright (c) 2016-2018 Red Hat, Inc.\n+ * This program and the accompanying materials are made\n+ * available under the terms of the Eclipse Public License 2.0\n+ * which is available at https://www.eclipse.org/legal/epl-2.0/\n+ *\n+ * SPDX-License-Identifier: EPL-2.0\n+ *\n+ * Contributors:\n+ *   Red Hat, Inc. - initial API and implementation\n+ */\n+package com.redhat.che.functional.tests;\n+\n+import com.google.inject.Inject;\n+import com.redhat.che.selenium.core.workspace.ProvidedWorkspace;\n+import java.util.concurrent.ExecutionException;\n+import org.testng.annotations.Test;\n+\n+// class for trying ProvidedWorkspace functionality\n+public class EETest {\n+\n+  @Inject private ProvidedWorkspace worksapce;\n+\n+  @Test\n+  public void mytest() {\n+    try {\n+      worksapce.getName();\n+    } catch (ExecutionException | InterruptedException e) {\n+      // TODO Auto-generated catch block","path":"functional-tests/src/test/java/com/redhat/che/functional/tests/EETest.java","position":29,"original_position":29,"commit_id":"ed53f7c7e6795affd69e9f54bdfb10d0e3e30b1c","original_commit_id":"ed53f7c7e6795affd69e9f54bdfb10d0e3e30b1c","user":{"login":"ScrewTSW","id":16451875,"node_id":"MDQ6VXNlcjE2NDUxODc1","avatar_url":"https://avatars0.githubusercontent.com/u/16451875?v=4","gravatar_id":"","url":"https://api.github.com/users/ScrewTSW","html_url":"https://github.com/ScrewTSW","followers_url":"https://api.github.com/users/ScrewTSW/followers","following_url":"https://api.github.com/users/ScrewTSW/following{/other_user}","gists_url":"https://api.github.com/users/ScrewTSW/gists{/gist_id}","starred_url":"https://api.github.com/users/ScrewTSW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScrewTSW/subscriptions","organizations_url":"https://api.github.com/users/ScrewTSW/orgs","repos_url":"https://api.github.com/users/ScrewTSW/repos","events_url":"https://api.github.com/users/ScrewTSW/events{/privacy}","received_events_url":"https://api.github.com/users/ScrewTSW/received_events","type":"User","site_admin":false},"body":"hmm :D\r\nI would probably edit that catch block to at least log some kind of a message and the test should probably fail.","created_at":"2018-08-28T09:57:09Z","updated_at":"2018-08-28T09:57:57Z","html_url":"https://github.com/redhat-developer/rh-che/pull/831#discussion_r213252306","pull_request_url":"https://api.github.com/repos/redhat-developer/rh-che/pulls/831","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/redhat-developer/rh-che/pulls/comments/213252306"},"html":{"href":"https://github.com/redhat-developer/rh-che/pull/831#discussion_r213252306"},"pull_request":{"href":"https://api.github.com/repos/redhat-developer/rh-che/pulls/831"}}},"pull_request":{"url":"https://api.github.com/repos/redhat-developer/rh-che/pulls/831","id":211056970,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMDU2OTcw","html_url":"https://github.com/redhat-developer/rh-che/pull/831","diff_url":"https://github.com/redhat-developer/rh-che/pull/831.diff","patch_url":"https://github.com/redhat-developer/rh-che/pull/831.patch","issue_url":"https://api.github.com/repos/redhat-developer/rh-che/issues/831","number":831,"state":"open","locked":false,"title":"Mechanism for using created workspace added.","user":{"login":"Katka92","id":29278800,"node_id":"MDQ6VXNlcjI5Mjc4ODAw","avatar_url":"https://avatars0.githubusercontent.com/u/29278800?v=4","gravatar_id":"","url":"https://api.github.com/users/Katka92","html_url":"https://github.com/Katka92","followers_url":"https://api.github.com/users/Katka92/followers","following_url":"https://api.github.com/users/Katka92/following{/other_user}","gists_url":"https://api.github.com/users/Katka92/gists{/gist_id}","starred_url":"https://api.github.com/users/Katka92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katka92/subscriptions","organizations_url":"https://api.github.com/users/Katka92/orgs","repos_url":"https://api.github.com/users/Katka92/repos","events_url":"https://api.github.com/users/Katka92/events{/privacy}","received_events_url":"https://api.github.com/users/Katka92/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\nIn upstream tests, the possibility of using workspace which was created outside tests was missing. New workspace class ProvidedWorkspace as created and new methods to provide it were added. \r\n\r\n### What issues does this PR fix or reference?\r\nhttps://github.com/redhat-developer/che-functional-tests/issues/343\r\n\r\n### How have you tested this PR?\r\nLocally against production. \r\n","created_at":"2018-08-27T09:38:43Z","updated_at":"2018-08-28T09:57:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"460f0630224aaf4890f820d55cc31021a7d75c86","assignee":null,"assignees":[],"requested_reviewers":[{"login":"rhopp","id":1215011,"node_id":"MDQ6VXNlcjEyMTUwMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1215011?v=4","gravatar_id":"","url":"https://api.github.com/users/rhopp","html_url":"https://github.com/rhopp","followers_url":"https://api.github.com/users/rhopp/followers","following_url":"https://api.github.com/users/rhopp/following{/other_user}","gists_url":"https://api.github.com/users/rhopp/gists{/gist_id}","starred_url":"https://api.github.com/users/rhopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhopp/subscriptions","organizations_url":"https://api.github.com/users/rhopp/orgs","repos_url":"https://api.github.com/users/rhopp/repos","events_url":"https://api.github.com/users/rhopp/events{/privacy}","received_events_url":"https://api.github.com/users/rhopp/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/redhat-developer/rh-che/pulls/831/commits","review_comments_url":"https://api.github.com/repos/redhat-developer/rh-che/pulls/831/comments","review_comment_url":"https://api.github.com/repos/redhat-developer/rh-che/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redhat-developer/rh-che/issues/831/comments","statuses_url":"https://api.github.com/repos/redhat-developer/rh-che/statuses/ed53f7c7e6795affd69e9f54bdfb10d0e3e30b1c","head":{"label":"Katka92:ft_provided_workspace","ref":"ft_provided_workspace","sha":"ed53f7c7e6795affd69e9f54bdfb10d0e3e30b1c","user":{"login":"Katka92","id":29278800,"node_id":"MDQ6VXNlcjI5Mjc4ODAw","avatar_url":"https://avatars0.githubusercontent.com/u/29278800?v=4","gravatar_id":"","url":"https://api.github.com/users/Katka92","html_url":"https://github.com/Katka92","followers_url":"https://api.github.com/users/Katka92/followers","following_url":"https://api.github.com/users/Katka92/following{/other_user}","gists_url":"https://api.github.com/users/Katka92/gists{/gist_id}","starred_url":"https://api.github.com/users/Katka92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katka92/subscriptions","organizations_url":"https://api.github.com/users/Katka92/orgs","repos_url":"https://api.github.com/users/Katka92/repos","events_url":"https://api.github.com/users/Katka92/events{/privacy}","received_events_url":"https://api.github.com/users/Katka92/received_events","type":"User","site_admin":false},"repo":{"id":138873884,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg4NzM4ODQ=","name":"rh-che","full_name":"Katka92/rh-che","owner":{"login":"Katka92","id":29278800,"node_id":"MDQ6VXNlcjI5Mjc4ODAw","avatar_url":"https://avatars0.githubusercontent.com/u/29278800?v=4","gravatar_id":"","url":"https://api.github.com/users/Katka92","html_url":"https://github.com/Katka92","followers_url":"https://api.github.com/users/Katka92/followers","following_url":"https://api.github.com/users/Katka92/following{/other_user}","gists_url":"https://api.github.com/users/Katka92/gists{/gist_id}","starred_url":"https://api.github.com/users/Katka92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katka92/subscriptions","organizations_url":"https://api.github.com/users/Katka92/orgs","repos_url":"https://api.github.com/users/Katka92/repos","events_url":"https://api.github.com/users/Katka92/events{/privacy}","received_events_url":"https://api.github.com/users/Katka92/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Katka92/rh-che","description":"Red Hat Che distribution repository","fork":true,"url":"https://api.github.com/repos/Katka92/rh-che","forks_url":"https://api.github.com/repos/Katka92/rh-che/forks","keys_url":"https://api.github.com/repos/Katka92/rh-che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Katka92/rh-che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Katka92/rh-che/teams","hooks_url":"https://api.github.com/repos/Katka92/rh-che/hooks","issue_events_url":"https://api.github.com/repos/Katka92/rh-che/issues/events{/number}","events_url":"https://api.github.com/repos/Katka92/rh-che/events","assignees_url":"https://api.github.com/repos/Katka92/rh-che/assignees{/user}","branches_url":"https://api.github.com/repos/Katka92/rh-che/branches{/branch}","tags_url":"https://api.github.com/repos/Katka92/rh-che/tags","blobs_url":"https://api.github.com/repos/Katka92/rh-che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Katka92/rh-che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Katka92/rh-che/git/refs{/sha}","trees_url":"https://api.github.com/repos/Katka92/rh-che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Katka92/rh-che/statuses/{sha}","languages_url":"https://api.github.com/repos/Katka92/rh-che/languages","stargazers_url":"https://api.github.com/repos/Katka92/rh-che/stargazers","contributors_url":"https://api.github.com/repos/Katka92/rh-che/contributors","subscribers_url":"https://api.github.com/repos/Katka92/rh-che/subscribers","subscription_url":"https://api.github.com/repos/Katka92/rh-che/subscription","commits_url":"https://api.github.com/repos/Katka92/rh-che/commits{/sha}","git_commits_url":"https://api.github.com/repos/Katka92/rh-che/git/commits{/sha}","comments_url":"https://api.github.com/repos/Katka92/rh-che/comments{/number}","issue_comment_url":"https://api.github.com/repos/Katka92/rh-che/issues/comments{/number}","contents_url":"https://api.github.com/repos/Katka92/rh-che/contents/{+path}","compare_url":"https://api.github.com/repos/Katka92/rh-che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Katka92/rh-che/merges","archive_url":"https://api.github.com/repos/Katka92/rh-che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Katka92/rh-che/downloads","issues_url":"https://api.github.com/repos/Katka92/rh-che/issues{/number}","pulls_url":"https://api.github.com/repos/Katka92/rh-che/pulls{/number}","milestones_url":"https://api.github.com/repos/Katka92/rh-che/milestones{/number}","notifications_url":"https://api.github.com/repos/Katka92/rh-che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Katka92/rh-che/labels{/name}","releases_url":"https://api.github.com/repos/Katka92/rh-che/releases{/id}","deployments_url":"https://api.github.com/repos/Katka92/rh-che/deployments","created_at":"2018-06-27T11:43:34Z","updated_at":"2018-06-27T11:43:36Z","pushed_at":"2018-08-27T13:44:58Z","git_url":"git://github.com/Katka92/rh-che.git","ssh_url":"git@github.com:Katka92/rh-che.git","clone_url":"https://github.com/Katka92/rh-che.git","svn_url":"https://github.com/Katka92/rh-che","homepage":"","size":3874,"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":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"epl-1.0","name":"Eclipse Public License 1.0","spdx_id":"EPL-1.0","url":"https://api.github.com/licenses/epl-1.0","node_id":"MDc6TGljZW5zZTc="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"redhat-developer:master","ref":"master","sha":"a9a3f9e36b47f4c9ee9b0dcdd9ffc5bf556997a4","user":{"login":"redhat-developer","id":11033755,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDMzNzU1","avatar_url":"https://avatars0.githubusercontent.com/u/11033755?v=4","gravatar_id":"","url":"https://api.github.com/users/redhat-developer","html_url":"https://github.com/redhat-developer","followers_url":"https://api.github.com/users/redhat-developer/followers","following_url":"https://api.github.com/users/redhat-developer/following{/other_user}","gists_url":"https://api.github.com/users/redhat-developer/gists{/gist_id}","starred_url":"https://api.github.com/users/redhat-developer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhat-developer/subscriptions","organizations_url":"https://api.github.com/users/redhat-developer/orgs","repos_url":"https://api.github.com/users/redhat-developer/repos","events_url":"https://api.github.com/users/redhat-developer/events{/privacy}","received_events_url":"https://api.github.com/users/redhat-developer/received_events","type":"Organization","site_admin":false},"repo":{"id":73191871,"node_id":"MDEwOlJlcG9zaXRvcnk3MzE5MTg3MQ==","name":"rh-che","full_name":"redhat-developer/rh-che","owner":{"login":"redhat-developer","id":11033755,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDMzNzU1","avatar_url":"https://avatars0.githubusercontent.com/u/11033755?v=4","gravatar_id":"","url":"https://api.github.com/users/redhat-developer","html_url":"https://github.com/redhat-developer","followers_url":"https://api.github.com/users/redhat-developer/followers","following_url":"https://api.github.com/users/redhat-developer/following{/other_user}","gists_url":"https://api.github.com/users/redhat-developer/gists{/gist_id}","starred_url":"https://api.github.com/users/redhat-developer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhat-developer/subscriptions","organizations_url":"https://api.github.com/users/redhat-developer/orgs","repos_url":"https://api.github.com/users/redhat-developer/repos","events_url":"https://api.github.com/users/redhat-developer/events{/privacy}","received_events_url":"https://api.github.com/users/redhat-developer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redhat-developer/rh-che","description":"Red Hat Che distribution repository","fork":false,"url":"https://api.github.com/repos/redhat-developer/rh-che","forks_url":"https://api.github.com/repos/redhat-developer/rh-che/forks","keys_url":"https://api.github.com/repos/redhat-developer/rh-che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redhat-developer/rh-che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redhat-developer/rh-che/teams","hooks_url":"https://api.github.com/repos/redhat-developer/rh-che/hooks","issue_events_url":"https://api.github.com/repos/redhat-developer/rh-che/issues/events{/number}","events_url":"https://api.github.com/repos/redhat-developer/rh-che/events","assignees_url":"https://api.github.com/repos/redhat-developer/rh-che/assignees{/user}","branches_url":"https://api.github.com/repos/redhat-developer/rh-che/branches{/branch}","tags_url":"https://api.github.com/repos/redhat-developer/rh-che/tags","blobs_url":"https://api.github.com/repos/redhat-developer/rh-che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redhat-developer/rh-che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redhat-developer/rh-che/git/refs{/sha}","trees_url":"https://api.github.com/repos/redhat-developer/rh-che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redhat-developer/rh-che/statuses/{sha}","languages_url":"https://api.github.com/repos/redhat-developer/rh-che/languages","stargazers_url":"https://api.github.com/repos/redhat-developer/rh-che/stargazers","contributors_url":"https://api.github.com/repos/redhat-developer/rh-che/contributors","subscribers_url":"https://api.github.com/repos/redhat-developer/rh-che/subscribers","subscription_url":"https://api.github.com/repos/redhat-developer/rh-che/subscription","commits_url":"https://api.github.com/repos/redhat-developer/rh-che/commits{/sha}","git_commits_url":"https://api.github.com/repos/redhat-developer/rh-che/git/commits{/sha}","comments_url":"https://api.github.com/repos/redhat-developer/rh-che/comments{/number}","issue_comment_url":"https://api.github.com/repos/redhat-developer/rh-che/issues/comments{/number}","contents_url":"https://api.github.com/repos/redhat-developer/rh-che/contents/{+path}","compare_url":"https://api.github.com/repos/redhat-developer/rh-che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redhat-developer/rh-che/merges","archive_url":"https://api.github.com/repos/redhat-developer/rh-che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redhat-developer/rh-che/downloads","issues_url":"https://api.github.com/repos/redhat-developer/rh-che/issues{/number}","pulls_url":"https://api.github.com/repos/redhat-developer/rh-che/pulls{/number}","milestones_url":"https://api.github.com/repos/redhat-developer/rh-che/milestones{/number}","notifications_url":"https://api.github.com/repos/redhat-developer/rh-che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redhat-developer/rh-che/labels{/name}","releases_url":"https://api.github.com/repos/redhat-developer/rh-che/releases{/id}","deployments_url":"https://api.github.com/repos/redhat-developer/rh-che/deployments","created_at":"2016-11-08T14:09:37Z","updated_at":"2018-08-28T09:27:28Z","pushed_at":"2018-08-28T09:27:26Z","git_url":"git://github.com/redhat-developer/rh-che.git","ssh_url":"git@github.com:redhat-developer/rh-che.git","clone_url":"https://github.com/redhat-developer/rh-che.git","svn_url":"https://github.com/redhat-developer/rh-che","homepage":"","size":3857,"stargazers_count":23,"watchers_count":23,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"archived":false,"open_issues_count":115,"license":{"key":"epl-1.0","name":"Eclipse Public License 1.0","spdx_id":"EPL-1.0","url":"https://api.github.com/licenses/epl-1.0","node_id":"MDc6TGljZW5zZTc="},"forks":39,"open_issues":115,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redhat-developer/rh-che/pulls/831"},"html":{"href":"https://github.com/redhat-developer/rh-che/pull/831"},"issue":{"href":"https://api.github.com/repos/redhat-developer/rh-che/issues/831"},"comments":{"href":"https://api.github.com/repos/redhat-developer/rh-che/issues/831/comments"},"review_comments":{"href":"https://api.github.com/repos/redhat-developer/rh-che/pulls/831/comments"},"review_comment":{"href":"https://api.github.com/repos/redhat-developer/rh-che/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redhat-developer/rh-che/pulls/831/commits"},"statuses":{"href":"https://api.github.com/repos/redhat-developer/rh-che/statuses/ed53f7c7e6795affd69e9f54bdfb10d0e3e30b1c"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ScrewTSW"}}