{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/35026761","id":35026761,"diff_hunk":"@@ -5,4 +5,6 @@ class ContainerRoute < ActiveRecord::Base\n   belongs_to :ext_management_system, :foreign_key => \"ems_id\"\n   belongs_to :container_project\n   has_many :labels, -> { where(:section => \"labels\") }, :class_name => \"CustomAttribute\", :as => :resource\n+  belongs_to :container_service\n+  has_many :labels, -> { where(:section => \"labels\") }, :class_name => \"CustomAttribute\", :as => :resource","path":"app/models/container_route.rb","position":5,"original_position":5,"commit_id":"41b9446be2df605bcf08e3ef0004db490d525f24","original_commit_id":"41b9446be2df605bcf08e3ef0004db490d525f24","user":{"login":"simon3z","id":130393,"avatar_url":"https://avatars.githubusercontent.com/u/130393?v=3","gravatar_id":"","url":"https://api.github.com/users/simon3z","html_url":"https://github.com/simon3z","followers_url":"https://api.github.com/users/simon3z/followers","following_url":"https://api.github.com/users/simon3z/following{/other_user}","gists_url":"https://api.github.com/users/simon3z/gists{/gist_id}","starred_url":"https://api.github.com/users/simon3z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon3z/subscriptions","organizations_url":"https://api.github.com/users/simon3z/orgs","repos_url":"https://api.github.com/users/simon3z/repos","events_url":"https://api.github.com/users/simon3z/events{/privacy}","received_events_url":"https://api.github.com/users/simon3z/received_events","type":"User","site_admin":false},"body":"Again why adding this line? It's the same that you have at line 7.","created_at":"2015-07-20T18:25:56Z","updated_at":"2015-07-20T18:25:56Z","html_url":"https://github.com/ManageIQ/manageiq/pull/3438#discussion_r35026761","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3438","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/35026761"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/3438#discussion_r35026761"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3438"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3438","id":39881168,"html_url":"https://github.com/ManageIQ/manageiq/pull/3438","diff_url":"https://github.com/ManageIQ/manageiq/pull/3438.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/3438.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3438","number":3438,"state":"open","locked":false,"title":"Added routes/service relationships","user":{"login":"erinboyd","id":3330919,"avatar_url":"https://avatars.githubusercontent.com/u/3330919?v=3","gravatar_id":"","url":"https://api.github.com/users/erinboyd","html_url":"https://github.com/erinboyd","followers_url":"https://api.github.com/users/erinboyd/followers","following_url":"https://api.github.com/users/erinboyd/following{/other_user}","gists_url":"https://api.github.com/users/erinboyd/gists{/gist_id}","starred_url":"https://api.github.com/users/erinboyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinboyd/subscriptions","organizations_url":"https://api.github.com/users/erinboyd/orgs","repos_url":"https://api.github.com/users/erinboyd/repos","events_url":"https://api.github.com/users/erinboyd/events{/privacy}","received_events_url":"https://api.github.com/users/erinboyd/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-14T04:38:30Z","updated_at":"2015-07-20T18:25:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1534f56e0597ebcff6ac20425350c9908f0cadb3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3438/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3438/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3438/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/41b9446be2df605bcf08e3ef0004db490d525f24","head":{"label":"erinboyd:reroutes","ref":"reroutes","sha":"41b9446be2df605bcf08e3ef0004db490d525f24","user":{"login":"erinboyd","id":3330919,"avatar_url":"https://avatars.githubusercontent.com/u/3330919?v=3","gravatar_id":"","url":"https://api.github.com/users/erinboyd","html_url":"https://github.com/erinboyd","followers_url":"https://api.github.com/users/erinboyd/followers","following_url":"https://api.github.com/users/erinboyd/following{/other_user}","gists_url":"https://api.github.com/users/erinboyd/gists{/gist_id}","starred_url":"https://api.github.com/users/erinboyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinboyd/subscriptions","organizations_url":"https://api.github.com/users/erinboyd/orgs","repos_url":"https://api.github.com/users/erinboyd/repos","events_url":"https://api.github.com/users/erinboyd/events{/privacy}","received_events_url":"https://api.github.com/users/erinboyd/received_events","type":"User","site_admin":false},"repo":{"id":31383485,"name":"manageiq","full_name":"erinboyd/manageiq","owner":{"login":"erinboyd","id":3330919,"avatar_url":"https://avatars.githubusercontent.com/u/3330919?v=3","gravatar_id":"","url":"https://api.github.com/users/erinboyd","html_url":"https://github.com/erinboyd","followers_url":"https://api.github.com/users/erinboyd/followers","following_url":"https://api.github.com/users/erinboyd/following{/other_user}","gists_url":"https://api.github.com/users/erinboyd/gists{/gist_id}","starred_url":"https://api.github.com/users/erinboyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erinboyd/subscriptions","organizations_url":"https://api.github.com/users/erinboyd/orgs","repos_url":"https://api.github.com/users/erinboyd/repos","events_url":"https://api.github.com/users/erinboyd/events{/privacy}","received_events_url":"https://api.github.com/users/erinboyd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erinboyd/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/erinboyd/manageiq","forks_url":"https://api.github.com/repos/erinboyd/manageiq/forks","keys_url":"https://api.github.com/repos/erinboyd/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erinboyd/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erinboyd/manageiq/teams","hooks_url":"https://api.github.com/repos/erinboyd/manageiq/hooks","issue_events_url":"https://api.github.com/repos/erinboyd/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/erinboyd/manageiq/events","assignees_url":"https://api.github.com/repos/erinboyd/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/erinboyd/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/erinboyd/manageiq/tags","blobs_url":"https://api.github.com/repos/erinboyd/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erinboyd/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erinboyd/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/erinboyd/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erinboyd/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/erinboyd/manageiq/languages","stargazers_url":"https://api.github.com/repos/erinboyd/manageiq/stargazers","contributors_url":"https://api.github.com/repos/erinboyd/manageiq/contributors","subscribers_url":"https://api.github.com/repos/erinboyd/manageiq/subscribers","subscription_url":"https://api.github.com/repos/erinboyd/manageiq/subscription","commits_url":"https://api.github.com/repos/erinboyd/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/erinboyd/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/erinboyd/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/erinboyd/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/erinboyd/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/erinboyd/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erinboyd/manageiq/merges","archive_url":"https://api.github.com/repos/erinboyd/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erinboyd/manageiq/downloads","issues_url":"https://api.github.com/repos/erinboyd/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/erinboyd/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/erinboyd/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/erinboyd/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erinboyd/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/erinboyd/manageiq/releases{/id}","created_at":"2015-02-26T19:01:23Z","updated_at":"2015-04-01T00:12:10Z","pushed_at":"2015-07-18T15:02:19Z","git_url":"git://github.com/erinboyd/manageiq.git","ssh_url":"git@github.com:erinboyd/manageiq.git","clone_url":"https://github.com/erinboyd/manageiq.git","svn_url":"https://github.com/erinboyd/manageiq","homepage":"manageiq.org","size":76624,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ManageIQ:master","ref":"master","sha":"1cbdde0487798190fa2a4ac87199c74cd1f7aa00","user":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"repo":{"id":20789757,"name":"manageiq","full_name":"ManageIQ/manageiq","owner":{"login":"ManageIQ","id":1125575,"avatar_url":"https://avatars.githubusercontent.com/u/1125575?v=3","gravatar_id":"","url":"https://api.github.com/users/ManageIQ","html_url":"https://github.com/ManageIQ","followers_url":"https://api.github.com/users/ManageIQ/followers","following_url":"https://api.github.com/users/ManageIQ/following{/other_user}","gists_url":"https://api.github.com/users/ManageIQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManageIQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManageIQ/subscriptions","organizations_url":"https://api.github.com/users/ManageIQ/orgs","repos_url":"https://api.github.com/users/ManageIQ/repos","events_url":"https://api.github.com/users/ManageIQ/events{/privacy}","received_events_url":"https://api.github.com/users/ManageIQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ManageIQ/manageiq","description":"ManageIQ Cloud Management Platform","fork":false,"url":"https://api.github.com/repos/ManageIQ/manageiq","forks_url":"https://api.github.com/repos/ManageIQ/manageiq/forks","keys_url":"https://api.github.com/repos/ManageIQ/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManageIQ/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManageIQ/manageiq/teams","hooks_url":"https://api.github.com/repos/ManageIQ/manageiq/hooks","issue_events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/ManageIQ/manageiq/events","assignees_url":"https://api.github.com/repos/ManageIQ/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/ManageIQ/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/ManageIQ/manageiq/tags","blobs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManageIQ/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManageIQ/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManageIQ/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/ManageIQ/manageiq/languages","stargazers_url":"https://api.github.com/repos/ManageIQ/manageiq/stargazers","contributors_url":"https://api.github.com/repos/ManageIQ/manageiq/contributors","subscribers_url":"https://api.github.com/repos/ManageIQ/manageiq/subscribers","subscription_url":"https://api.github.com/repos/ManageIQ/manageiq/subscription","commits_url":"https://api.github.com/repos/ManageIQ/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManageIQ/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManageIQ/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/ManageIQ/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManageIQ/manageiq/merges","archive_url":"https://api.github.com/repos/ManageIQ/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManageIQ/manageiq/downloads","issues_url":"https://api.github.com/repos/ManageIQ/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/ManageIQ/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/ManageIQ/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/ManageIQ/manageiq/releases{/id}","created_at":"2014-06-13T02:31:26Z","updated_at":"2015-07-17T12:16:38Z","pushed_at":"2015-07-20T18:13:08Z","git_url":"git://github.com/ManageIQ/manageiq.git","ssh_url":"git@github.com:ManageIQ/manageiq.git","clone_url":"https://github.com/ManageIQ/manageiq.git","svn_url":"https://github.com/ManageIQ/manageiq","homepage":"manageiq.org","size":140916,"stargazers_count":126,"watchers_count":126,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":369,"forks":127,"open_issues":369,"watchers":126,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3438"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/3438"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/3438"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/3438/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3438/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3438/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/41b9446be2df605bcf08e3ef0004db490d525f24"}}}}