{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/pulls/11","id":58979505,"html_url":"https://github.com/cloudfoundry-samples/lattice-app/pull/11","diff_url":"https://github.com/cloudfoundry-samples/lattice-app/pull/11.diff","patch_url":"https://github.com/cloudfoundry-samples/lattice-app/pull/11.patch","issue_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/issues/11","number":11,"state":"closed","locked":false,"title":"Fix the /port endpoint","user":{"login":"shashwathi","id":9938926,"avatar_url":"https://avatars.githubusercontent.com/u/9938926?v=3","gravatar_id":"","url":"https://api.github.com/users/shashwathi","html_url":"https://github.com/shashwathi","followers_url":"https://api.github.com/users/shashwathi/followers","following_url":"https://api.github.com/users/shashwathi/following{/other_user}","gists_url":"https://api.github.com/users/shashwathi/gists{/gist_id}","starred_url":"https://api.github.com/users/shashwathi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shashwathi/subscriptions","organizations_url":"https://api.github.com/users/shashwathi/orgs","repos_url":"https://api.github.com/users/shashwathi/repos","events_url":"https://api.github.com/users/shashwathi/events{/privacy}","received_events_url":"https://api.github.com/users/shashwathi/received_events","type":"User","site_admin":false},"body":"This PR fixes the bug in port endpoint\r\n- Previously this endpoint returns port from request.host. This behavior is changed to return ports on which app is listening to.\r\n\r\n- @shashwathi & @leochu\r\nCF Routing Team\r\n\r\nPivotal tracker story: https://www.pivotaltracker.com/story/show/112722609\r\n\r\nSigned-off-by: Shash Reddy <sreddy@pivotal.io>","created_at":"2016-02-11T00:57:08Z","updated_at":"2016-02-12T23:02:46Z","closed_at":"2016-02-12T23:02:46Z","merged_at":"2016-02-12T23:02:46Z","merge_commit_sha":"830712fb7f4ae8f238eb12bd42787c22f47afde5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/pulls/11/commits","review_comments_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/pulls/11/comments","review_comment_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/issues/11/comments","statuses_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/statuses/9258982cd784aeda5a62970af87fcd8ec0a3d91c","head":{"label":"cf-routing:port-endpoint-112722609","ref":"port-endpoint-112722609","sha":"9258982cd784aeda5a62970af87fcd8ec0a3d91c","user":{"login":"cf-routing","id":15128555,"avatar_url":"https://avatars.githubusercontent.com/u/15128555?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-routing","html_url":"https://github.com/cf-routing","followers_url":"https://api.github.com/users/cf-routing/followers","following_url":"https://api.github.com/users/cf-routing/following{/other_user}","gists_url":"https://api.github.com/users/cf-routing/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-routing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-routing/subscriptions","organizations_url":"https://api.github.com/users/cf-routing/orgs","repos_url":"https://api.github.com/users/cf-routing/repos","events_url":"https://api.github.com/users/cf-routing/events{/privacy}","received_events_url":"https://api.github.com/users/cf-routing/received_events","type":"Organization","site_admin":false},"repo":{"id":51482630,"name":"lattice-app","full_name":"cf-routing/lattice-app","owner":{"login":"cf-routing","id":15128555,"avatar_url":"https://avatars.githubusercontent.com/u/15128555?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-routing","html_url":"https://github.com/cf-routing","followers_url":"https://api.github.com/users/cf-routing/followers","following_url":"https://api.github.com/users/cf-routing/following{/other_user}","gists_url":"https://api.github.com/users/cf-routing/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-routing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-routing/subscriptions","organizations_url":"https://api.github.com/users/cf-routing/orgs","repos_url":"https://api.github.com/users/cf-routing/repos","events_url":"https://api.github.com/users/cf-routing/events{/privacy}","received_events_url":"https://api.github.com/users/cf-routing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cf-routing/lattice-app","description":"A Demo Application for Lattice","fork":true,"url":"https://api.github.com/repos/cf-routing/lattice-app","forks_url":"https://api.github.com/repos/cf-routing/lattice-app/forks","keys_url":"https://api.github.com/repos/cf-routing/lattice-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cf-routing/lattice-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cf-routing/lattice-app/teams","hooks_url":"https://api.github.com/repos/cf-routing/lattice-app/hooks","issue_events_url":"https://api.github.com/repos/cf-routing/lattice-app/issues/events{/number}","events_url":"https://api.github.com/repos/cf-routing/lattice-app/events","assignees_url":"https://api.github.com/repos/cf-routing/lattice-app/assignees{/user}","branches_url":"https://api.github.com/repos/cf-routing/lattice-app/branches{/branch}","tags_url":"https://api.github.com/repos/cf-routing/lattice-app/tags","blobs_url":"https://api.github.com/repos/cf-routing/lattice-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cf-routing/lattice-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cf-routing/lattice-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/cf-routing/lattice-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cf-routing/lattice-app/statuses/{sha}","languages_url":"https://api.github.com/repos/cf-routing/lattice-app/languages","stargazers_url":"https://api.github.com/repos/cf-routing/lattice-app/stargazers","contributors_url":"https://api.github.com/repos/cf-routing/lattice-app/contributors","subscribers_url":"https://api.github.com/repos/cf-routing/lattice-app/subscribers","subscription_url":"https://api.github.com/repos/cf-routing/lattice-app/subscription","commits_url":"https://api.github.com/repos/cf-routing/lattice-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/cf-routing/lattice-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/cf-routing/lattice-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/cf-routing/lattice-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/cf-routing/lattice-app/contents/{+path}","compare_url":"https://api.github.com/repos/cf-routing/lattice-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cf-routing/lattice-app/merges","archive_url":"https://api.github.com/repos/cf-routing/lattice-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cf-routing/lattice-app/downloads","issues_url":"https://api.github.com/repos/cf-routing/lattice-app/issues{/number}","pulls_url":"https://api.github.com/repos/cf-routing/lattice-app/pulls{/number}","milestones_url":"https://api.github.com/repos/cf-routing/lattice-app/milestones{/number}","notifications_url":"https://api.github.com/repos/cf-routing/lattice-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cf-routing/lattice-app/labels{/name}","releases_url":"https://api.github.com/repos/cf-routing/lattice-app/releases{/id}","deployments_url":"https://api.github.com/repos/cf-routing/lattice-app/deployments","created_at":"2016-02-11T00:01:01Z","updated_at":"2016-02-11T00:01:02Z","pushed_at":"2016-02-11T00:53:24Z","git_url":"git://github.com/cf-routing/lattice-app.git","ssh_url":"git@github.com:cf-routing/lattice-app.git","clone_url":"https://github.com/cf-routing/lattice-app.git","svn_url":"https://github.com/cf-routing/lattice-app","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudfoundry-samples:master","ref":"master","sha":"53c1ccfd0265fc37be83319f648e099056562c13","user":{"login":"cloudfoundry-samples","id":823794,"avatar_url":"https://avatars.githubusercontent.com/u/823794?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-samples","html_url":"https://github.com/cloudfoundry-samples","followers_url":"https://api.github.com/users/cloudfoundry-samples/followers","following_url":"https://api.github.com/users/cloudfoundry-samples/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-samples/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-samples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-samples/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-samples/orgs","repos_url":"https://api.github.com/users/cloudfoundry-samples/repos","events_url":"https://api.github.com/users/cloudfoundry-samples/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-samples/received_events","type":"Organization","site_admin":false},"repo":{"id":27444547,"name":"lattice-app","full_name":"cloudfoundry-samples/lattice-app","owner":{"login":"cloudfoundry-samples","id":823794,"avatar_url":"https://avatars.githubusercontent.com/u/823794?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-samples","html_url":"https://github.com/cloudfoundry-samples","followers_url":"https://api.github.com/users/cloudfoundry-samples/followers","following_url":"https://api.github.com/users/cloudfoundry-samples/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-samples/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-samples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-samples/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-samples/orgs","repos_url":"https://api.github.com/users/cloudfoundry-samples/repos","events_url":"https://api.github.com/users/cloudfoundry-samples/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-samples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudfoundry-samples/lattice-app","description":"A Demo Application for Lattice","fork":false,"url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app","forks_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/forks","keys_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/teams","hooks_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/hooks","issue_events_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/issues/events{/number}","events_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/events","assignees_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/assignees{/user}","branches_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/branches{/branch}","tags_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/tags","blobs_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/languages","stargazers_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/stargazers","contributors_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/contributors","subscribers_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/subscribers","subscription_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/subscription","commits_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/contents/{+path}","compare_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/merges","archive_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/downloads","issues_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/issues{/number}","pulls_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/labels{/name}","releases_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/releases{/id}","deployments_url":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/deployments","created_at":"2014-12-02T17:33:52Z","updated_at":"2016-01-30T00:41:39Z","pushed_at":"2016-02-12T23:02:46Z","git_url":"git://github.com/cloudfoundry-samples/lattice-app.git","ssh_url":"git@github.com:cloudfoundry-samples/lattice-app.git","clone_url":"https://github.com/cloudfoundry-samples/lattice-app.git","svn_url":"https://github.com/cloudfoundry-samples/lattice-app","homepage":null,"size":79,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":0,"forks":19,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/pulls/11"},"html":{"href":"https://github.com/cloudfoundry-samples/lattice-app/pull/11"},"issue":{"href":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/issues/11"},"comments":{"href":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/cloudfoundry-samples/lattice-app/statuses/9258982cd784aeda5a62970af87fcd8ec0a3d91c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"davidwadden","id":9936700,"avatar_url":"https://avatars.githubusercontent.com/u/9936700?v=3","gravatar_id":"","url":"https://api.github.com/users/davidwadden","html_url":"https://github.com/davidwadden","followers_url":"https://api.github.com/users/davidwadden/followers","following_url":"https://api.github.com/users/davidwadden/following{/other_user}","gists_url":"https://api.github.com/users/davidwadden/gists{/gist_id}","starred_url":"https://api.github.com/users/davidwadden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidwadden/subscriptions","organizations_url":"https://api.github.com/users/davidwadden/orgs","repos_url":"https://api.github.com/users/davidwadden/repos","events_url":"https://api.github.com/users/davidwadden/events{/privacy}","received_events_url":"https://api.github.com/users/davidwadden/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":0,"additions":0,"deletions":0,"changed_files":0}}