{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/pulls/10","id":45718227,"html_url":"https://github.com/cloudfoundry-incubator/runtime-schema/pull/10","diff_url":"https://github.com/cloudfoundry-incubator/runtime-schema/pull/10.diff","patch_url":"https://github.com/cloudfoundry-incubator/runtime-schema/pull/10.patch","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/issues/10","number":10,"state":"open","locked":false,"title":"Change cc message Routes to RoutingInfo","user":{"login":"crhino","id":4146455,"avatar_url":"https://avatars.githubusercontent.com/u/4146455?v=3","gravatar_id":"","url":"https://api.github.com/users/crhino","html_url":"https://github.com/crhino","followers_url":"https://api.github.com/users/crhino/followers","following_url":"https://api.github.com/users/crhino/following{/other_user}","gists_url":"https://api.github.com/users/crhino/gists{/gist_id}","starred_url":"https://api.github.com/users/crhino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crhino/subscriptions","organizations_url":"https://api.github.com/users/crhino/orgs","repos_url":"https://api.github.com/users/crhino/repos","events_url":"https://api.github.com/users/crhino/events{/privacy}","received_events_url":"https://api.github.com/users/crhino/received_events","type":"User","site_admin":false},"body":"This commit removes the `routes` field expected from the Cloud Controller `desired` message and introduces a new field `routing_info`.\r\n\r\nThe schema of this new field is similar to that of `models.Routes` in that it is a `map[string]*json.RawMessage`. We define a single top-level key, `http_routes`, and an associated struct to marshal the raw JSON into. This enables us to add support for route services as well as paving the way for implementing TCP routes in the Cloud Controller.\r\n\r\n@crhino && @utako","created_at":"2015-09-22T21:18:14Z","updated_at":"2015-09-22T21:18:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/pulls/10/commits","review_comments_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/pulls/10/comments","review_comment_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/issues/10/comments","statuses_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/statuses/1dec7289a3ba69dac19f4b4db1cfa73b86f00759","head":{"label":"cloudfoundry-incubator:route-services-102098682","ref":"route-services-102098682","sha":"1dec7289a3ba69dac19f4b4db1cfa73b86f00759","user":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars.githubusercontent.com/u/5680605?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":16116853,"name":"runtime-schema","full_name":"cloudfoundry-incubator/runtime-schema","owner":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars.githubusercontent.com/u/5680605?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudfoundry-incubator/runtime-schema","description":"Shared golang schema for runtime","fork":false,"url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema","forks_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/forks","keys_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/teams","hooks_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/hooks","issue_events_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/issues/events{/number}","events_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/events","assignees_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/assignees{/user}","branches_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/branches{/branch}","tags_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/tags","blobs_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/languages","stargazers_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/stargazers","contributors_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/contributors","subscribers_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/subscribers","subscription_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/subscription","commits_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/contents/{+path}","compare_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/merges","archive_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/downloads","issues_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/issues{/number}","pulls_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/labels{/name}","releases_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/releases{/id}","created_at":"2014-01-21T19:49:07Z","updated_at":"2015-08-24T22:47:16Z","pushed_at":"2015-09-22T21:18:14Z","git_url":"git://github.com/cloudfoundry-incubator/runtime-schema.git","ssh_url":"git@github.com:cloudfoundry-incubator/runtime-schema.git","clone_url":"https://github.com/cloudfoundry-incubator/runtime-schema.git","svn_url":"https://github.com/cloudfoundry-incubator/runtime-schema","homepage":null,"size":4067,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"cloudfoundry-incubator:master","ref":"master","sha":"5c15b23d3e9450ec58f879e1d1d074aad8cff19c","user":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars.githubusercontent.com/u/5680605?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":16116853,"name":"runtime-schema","full_name":"cloudfoundry-incubator/runtime-schema","owner":{"login":"cloudfoundry-incubator","id":5680605,"avatar_url":"https://avatars.githubusercontent.com/u/5680605?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudfoundry-incubator","html_url":"https://github.com/cloudfoundry-incubator","followers_url":"https://api.github.com/users/cloudfoundry-incubator/followers","following_url":"https://api.github.com/users/cloudfoundry-incubator/following{/other_user}","gists_url":"https://api.github.com/users/cloudfoundry-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudfoundry-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudfoundry-incubator/subscriptions","organizations_url":"https://api.github.com/users/cloudfoundry-incubator/orgs","repos_url":"https://api.github.com/users/cloudfoundry-incubator/repos","events_url":"https://api.github.com/users/cloudfoundry-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/cloudfoundry-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudfoundry-incubator/runtime-schema","description":"Shared golang schema for runtime","fork":false,"url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema","forks_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/forks","keys_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/teams","hooks_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/hooks","issue_events_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/issues/events{/number}","events_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/events","assignees_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/assignees{/user}","branches_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/branches{/branch}","tags_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/tags","blobs_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/languages","stargazers_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/stargazers","contributors_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/contributors","subscribers_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/subscribers","subscription_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/subscription","commits_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/contents/{+path}","compare_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/merges","archive_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/downloads","issues_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/issues{/number}","pulls_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/labels{/name}","releases_url":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/releases{/id}","created_at":"2014-01-21T19:49:07Z","updated_at":"2015-08-24T22:47:16Z","pushed_at":"2015-09-22T21:18:14Z","git_url":"git://github.com/cloudfoundry-incubator/runtime-schema.git","ssh_url":"git@github.com:cloudfoundry-incubator/runtime-schema.git","clone_url":"https://github.com/cloudfoundry-incubator/runtime-schema.git","svn_url":"https://github.com/cloudfoundry-incubator/runtime-schema","homepage":null,"size":4067,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/pulls/10"},"html":{"href":"https://github.com/cloudfoundry-incubator/runtime-schema/pull/10"},"issue":{"href":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/issues/10"},"comments":{"href":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/cloudfoundry-incubator/runtime-schema/statuses/1dec7289a3ba69dac19f4b4db1cfa73b86f00759"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":49,"deletions":1,"changed_files":2}}