{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/nsync/issues/4","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/nsync/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/nsync/issues/4/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/nsync/issues/4/events","html_url":"https://github.com/cloudfoundry-incubator/nsync/pull/4","id":120295723,"number":4,"title":"Use ports in desired app cc message for docker app","user":{"login":"atulkc","id":7399237,"avatar_url":"https://avatars.githubusercontent.com/u/7399237?v=3","gravatar_id":"","url":"https://api.github.com/users/atulkc","html_url":"https://github.com/atulkc","followers_url":"https://api.github.com/users/atulkc/followers","following_url":"https://api.github.com/users/atulkc/following{/other_user}","gists_url":"https://api.github.com/users/atulkc/gists{/gist_id}","starred_url":"https://api.github.com/users/atulkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atulkc/subscriptions","organizations_url":"https://api.github.com/users/atulkc/orgs","repos_url":"https://api.github.com/users/atulkc/repos","events_url":"https://api.github.com/users/atulkc/events{/privacy}","received_events_url":"https://api.github.com/users/atulkc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-03T23:24:59Z","updated_at":"2015-12-03T23:25:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cloudfoundry-incubator/nsync/pulls/4","html_url":"https://github.com/cloudfoundry-incubator/nsync/pull/4","diff_url":"https://github.com/cloudfoundry-incubator/nsync/pull/4.diff","patch_url":"https://github.com/cloudfoundry-incubator/nsync/pull/4.patch"},"body":"This PR is to allow docker recipe builder to use ports specified in desire app message from cc. If no ports are specified in desire app message from cc then it continues to extract ports from execution metadata.\r\n\r\nThis is done because we need to return the ports opened for docker app as part of GET /v2/apps/:guid call in CC. Since CC already has execution_metadata, it can parse it and determine the ports to be opened for docker app. Letting CC figuring out ports for app will allow us to control the limit on number of ports in one place for both buildpack apps as well as docker apps.\r\n\r\nLink to pivotal tracker story: https://www.pivotaltracker.com/story/show/108391924\r\n\r\nRegards,\r\n@atulkc and @jeffpak93 \r\n(CF Routing team and CAPI team)"},"comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/nsync/issues/comments/161822141","html_url":"https://github.com/cloudfoundry-incubator/nsync/pull/4#issuecomment-161822141","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/nsync/issues/4","id":161822141,"user":{"login":"cf-gitbot","id":5589368,"avatar_url":"https://avatars.githubusercontent.com/u/5589368?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-gitbot","html_url":"https://github.com/cf-gitbot","followers_url":"https://api.github.com/users/cf-gitbot/followers","following_url":"https://api.github.com/users/cf-gitbot/following{/other_user}","gists_url":"https://api.github.com/users/cf-gitbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-gitbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-gitbot/subscriptions","organizations_url":"https://api.github.com/users/cf-gitbot/orgs","repos_url":"https://api.github.com/users/cf-gitbot/repos","events_url":"https://api.github.com/users/cf-gitbot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-gitbot/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T23:25:03Z","updated_at":"2015-12-03T23:25:03Z","body":"We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/109489966."}}