{"action":"created","comment":{"url":"https://api.github.com/repos/spotify/helios/pulls/comments/64479774","id":64479774,"diff_hunk":"@@ -64,8 +65,8 @@ public void before() throws Throwable {\n     Polling.awaitUnchecked(30, TimeUnit.SECONDS, new Callable<Boolean>() {\n       @Override\n       public Boolean call() throws Exception {\n-        final HostAndPort hap = deployment.address();\n-        final SocketAddress address = new InetSocketAddress(hap.getHostText(), hap.getPort());\n+        final URI uri = Iterables.getOnlyElement(deployment.uris());","path":"helios-testing/src/main/java/com/spotify/helios/testing/HeliosDeploymentResource.java","position":23,"original_position":23,"commit_id":"16390ed28341efd0ee715d5c720f56ab1e6703f3","original_commit_id":"16390ed28341efd0ee715d5c720f56ab1e6703f3","user":{"login":"davidxia","id":480621,"avatar_url":"https://avatars.githubusercontent.com/u/480621?v=3","gravatar_id":"","url":"https://api.github.com/users/davidxia","html_url":"https://github.com/davidxia","followers_url":"https://api.github.com/users/davidxia/followers","following_url":"https://api.github.com/users/davidxia/following{/other_user}","gists_url":"https://api.github.com/users/davidxia/gists{/gist_id}","starred_url":"https://api.github.com/users/davidxia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidxia/subscriptions","organizations_url":"https://api.github.com/users/davidxia/orgs","repos_url":"https://api.github.com/users/davidxia/repos","events_url":"https://api.github.com/users/davidxia/events{/privacy}","received_events_url":"https://api.github.com/users/davidxia/received_events","type":"User","site_admin":false},"body":"Sorry this code is slightly outdated. Do we want to make the `deployment` attribute a `HeliosDeployment` instance? In that case, there might be more than one URI if it's an `ExistingHeliosDeployment`.","created_at":"2016-05-24T21:41:37Z","updated_at":"2016-05-24T21:41:37Z","html_url":"https://github.com/spotify/helios/pull/925#discussion_r64479774","pull_request_url":"https://api.github.com/repos/spotify/helios/pulls/925","_links":{"self":{"href":"https://api.github.com/repos/spotify/helios/pulls/comments/64479774"},"html":{"href":"https://github.com/spotify/helios/pull/925#discussion_r64479774"},"pull_request":{"href":"https://api.github.com/repos/spotify/helios/pulls/925"}}},"pull_request":{"url":"https://api.github.com/repos/spotify/helios/pulls/925","id":70909011,"html_url":"https://github.com/spotify/helios/pull/925","diff_url":"https://github.com/spotify/helios/pull/925.diff","patch_url":"https://github.com/spotify/helios/pull/925.patch","issue_url":"https://api.github.com/repos/spotify/helios/issues/925","number":925,"state":"open","locked":false,"title":"WIP: Use a singleton HSD for all tests during a test run","user":{"login":"gimaker","id":1300680,"avatar_url":"https://avatars.githubusercontent.com/u/1300680?v=3","gravatar_id":"","url":"https://api.github.com/users/gimaker","html_url":"https://github.com/gimaker","followers_url":"https://api.github.com/users/gimaker/followers","following_url":"https://api.github.com/users/gimaker/following{/other_user}","gists_url":"https://api.github.com/users/gimaker/gists{/gist_id}","starred_url":"https://api.github.com/users/gimaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimaker/subscriptions","organizations_url":"https://api.github.com/users/gimaker/orgs","repos_url":"https://api.github.com/users/gimaker/repos","events_url":"https://api.github.com/users/gimaker/events{/privacy}","received_events_url":"https://api.github.com/users/gimaker/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-20T19:56:59Z","updated_at":"2016-05-24T21:41:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"559ef7e09dfd63935e812b58c496d140a790488d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spotify/helios/pulls/925/commits","review_comments_url":"https://api.github.com/repos/spotify/helios/pulls/925/comments","review_comment_url":"https://api.github.com/repos/spotify/helios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spotify/helios/issues/925/comments","statuses_url":"https://api.github.com/repos/spotify/helios/statuses/16390ed28341efd0ee715d5c720f56ab1e6703f3","head":{"label":"spotify:staffan/singleton-hsd","ref":"staffan/singleton-hsd","sha":"16390ed28341efd0ee715d5c720f56ab1e6703f3","user":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"repo":{"id":20171642,"name":"helios","full_name":"spotify/helios","owner":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotify/helios","description":"Docker container orchestration platform","fork":false,"url":"https://api.github.com/repos/spotify/helios","forks_url":"https://api.github.com/repos/spotify/helios/forks","keys_url":"https://api.github.com/repos/spotify/helios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotify/helios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotify/helios/teams","hooks_url":"https://api.github.com/repos/spotify/helios/hooks","issue_events_url":"https://api.github.com/repos/spotify/helios/issues/events{/number}","events_url":"https://api.github.com/repos/spotify/helios/events","assignees_url":"https://api.github.com/repos/spotify/helios/assignees{/user}","branches_url":"https://api.github.com/repos/spotify/helios/branches{/branch}","tags_url":"https://api.github.com/repos/spotify/helios/tags","blobs_url":"https://api.github.com/repos/spotify/helios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotify/helios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotify/helios/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotify/helios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotify/helios/statuses/{sha}","languages_url":"https://api.github.com/repos/spotify/helios/languages","stargazers_url":"https://api.github.com/repos/spotify/helios/stargazers","contributors_url":"https://api.github.com/repos/spotify/helios/contributors","subscribers_url":"https://api.github.com/repos/spotify/helios/subscribers","subscription_url":"https://api.github.com/repos/spotify/helios/subscription","commits_url":"https://api.github.com/repos/spotify/helios/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotify/helios/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotify/helios/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotify/helios/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotify/helios/contents/{+path}","compare_url":"https://api.github.com/repos/spotify/helios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotify/helios/merges","archive_url":"https://api.github.com/repos/spotify/helios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotify/helios/downloads","issues_url":"https://api.github.com/repos/spotify/helios/issues{/number}","pulls_url":"https://api.github.com/repos/spotify/helios/pulls{/number}","milestones_url":"https://api.github.com/repos/spotify/helios/milestones{/number}","notifications_url":"https://api.github.com/repos/spotify/helios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotify/helios/labels{/name}","releases_url":"https://api.github.com/repos/spotify/helios/releases{/id}","deployments_url":"https://api.github.com/repos/spotify/helios/deployments","created_at":"2014-05-26T02:29:06Z","updated_at":"2016-05-23T10:48:40Z","pushed_at":"2016-05-24T19:55:02Z","git_url":"git://github.com/spotify/helios.git","ssh_url":"git@github.com:spotify/helios.git","clone_url":"https://github.com/spotify/helios.git","svn_url":"https://github.com/spotify/helios","homepage":null,"size":8427,"stargazers_count":1443,"watchers_count":1443,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":28,"forks":118,"open_issues":28,"watchers":1443,"default_branch":"master"}},"base":{"label":"spotify:dxia/refactor-temp-jobs","ref":"dxia/refactor-temp-jobs","sha":"f17010940ddcd9ab9ac2ca15e4763d26f1e0906b","user":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"repo":{"id":20171642,"name":"helios","full_name":"spotify/helios","owner":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotify/helios","description":"Docker container orchestration platform","fork":false,"url":"https://api.github.com/repos/spotify/helios","forks_url":"https://api.github.com/repos/spotify/helios/forks","keys_url":"https://api.github.com/repos/spotify/helios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotify/helios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotify/helios/teams","hooks_url":"https://api.github.com/repos/spotify/helios/hooks","issue_events_url":"https://api.github.com/repos/spotify/helios/issues/events{/number}","events_url":"https://api.github.com/repos/spotify/helios/events","assignees_url":"https://api.github.com/repos/spotify/helios/assignees{/user}","branches_url":"https://api.github.com/repos/spotify/helios/branches{/branch}","tags_url":"https://api.github.com/repos/spotify/helios/tags","blobs_url":"https://api.github.com/repos/spotify/helios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotify/helios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotify/helios/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotify/helios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotify/helios/statuses/{sha}","languages_url":"https://api.github.com/repos/spotify/helios/languages","stargazers_url":"https://api.github.com/repos/spotify/helios/stargazers","contributors_url":"https://api.github.com/repos/spotify/helios/contributors","subscribers_url":"https://api.github.com/repos/spotify/helios/subscribers","subscription_url":"https://api.github.com/repos/spotify/helios/subscription","commits_url":"https://api.github.com/repos/spotify/helios/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotify/helios/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotify/helios/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotify/helios/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotify/helios/contents/{+path}","compare_url":"https://api.github.com/repos/spotify/helios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotify/helios/merges","archive_url":"https://api.github.com/repos/spotify/helios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotify/helios/downloads","issues_url":"https://api.github.com/repos/spotify/helios/issues{/number}","pulls_url":"https://api.github.com/repos/spotify/helios/pulls{/number}","milestones_url":"https://api.github.com/repos/spotify/helios/milestones{/number}","notifications_url":"https://api.github.com/repos/spotify/helios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotify/helios/labels{/name}","releases_url":"https://api.github.com/repos/spotify/helios/releases{/id}","deployments_url":"https://api.github.com/repos/spotify/helios/deployments","created_at":"2014-05-26T02:29:06Z","updated_at":"2016-05-23T10:48:40Z","pushed_at":"2016-05-24T19:55:02Z","git_url":"git://github.com/spotify/helios.git","ssh_url":"git@github.com:spotify/helios.git","clone_url":"https://github.com/spotify/helios.git","svn_url":"https://github.com/spotify/helios","homepage":null,"size":8427,"stargazers_count":1443,"watchers_count":1443,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":28,"forks":118,"open_issues":28,"watchers":1443,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spotify/helios/pulls/925"},"html":{"href":"https://github.com/spotify/helios/pull/925"},"issue":{"href":"https://api.github.com/repos/spotify/helios/issues/925"},"comments":{"href":"https://api.github.com/repos/spotify/helios/issues/925/comments"},"review_comments":{"href":"https://api.github.com/repos/spotify/helios/pulls/925/comments"},"review_comment":{"href":"https://api.github.com/repos/spotify/helios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spotify/helios/pulls/925/commits"},"statuses":{"href":"https://api.github.com/repos/spotify/helios/statuses/16390ed28341efd0ee715d5c720f56ab1e6703f3"}}}}
{"actor":{"display_login":"davidxia"}}