{"action":"created","comment":{"url":"https://api.github.com/repos/Katello/katello/pulls/comments/50635187","id":50635187,"diff_hunk":"@@ -0,0 +1,22 @@\n+module Katello\n+  module Glue::Pulp::Node\n+    def self.included(base)","path":"app/models/katello/glue/pulp/node.rb","position":3,"original_position":3,"commit_id":"7a819d7f8f199d79ce3ec6e1651466eee4176d31","original_commit_id":"7a819d7f8f199d79ce3ec6e1651466eee4176d31","user":{"login":"ohadlevy","id":20167,"avatar_url":"https://avatars.githubusercontent.com/u/20167?v=3","gravatar_id":"","url":"https://api.github.com/users/ohadlevy","html_url":"https://github.com/ohadlevy","followers_url":"https://api.github.com/users/ohadlevy/followers","following_url":"https://api.github.com/users/ohadlevy/following{/other_user}","gists_url":"https://api.github.com/users/ohadlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/ohadlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohadlevy/subscriptions","organizations_url":"https://api.github.com/users/ohadlevy/orgs","repos_url":"https://api.github.com/users/ohadlevy/repos","events_url":"https://api.github.com/users/ohadlevy/events{/privacy}","received_events_url":"https://api.github.com/users/ohadlevy/received_events","type":"User","site_admin":false},"body":"please switch to using ActiveSupport::Concerns","created_at":"2016-01-24T13:21:41Z","updated_at":"2016-01-24T13:21:41Z","html_url":"https://github.com/Katello/katello/pull/5710#discussion_r50635187","pull_request_url":"https://api.github.com/repos/Katello/katello/pulls/5710","_links":{"self":{"href":"https://api.github.com/repos/Katello/katello/pulls/comments/50635187"},"html":{"href":"https://github.com/Katello/katello/pull/5710#discussion_r50635187"},"pull_request":{"href":"https://api.github.com/repos/Katello/katello/pulls/5710"}}},"pull_request":{"url":"https://api.github.com/repos/Katello/katello/pulls/5710","id":56156318,"html_url":"https://github.com/Katello/katello/pull/5710","diff_url":"https://github.com/Katello/katello/pull/5710.diff","patch_url":"https://github.com/Katello/katello/pull/5710.patch","issue_url":"https://api.github.com/repos/Katello/katello/issues/5710","number":5710,"state":"open","locked":false,"title":"Fixes #12722 and #12723 - extending capsule show page with pulp content","user":{"login":"tstrachota","id":1186631,"avatar_url":"https://avatars.githubusercontent.com/u/1186631?v=3","gravatar_id":"","url":"https://api.github.com/users/tstrachota","html_url":"https://github.com/tstrachota","followers_url":"https://api.github.com/users/tstrachota/followers","following_url":"https://api.github.com/users/tstrachota/following{/other_user}","gists_url":"https://api.github.com/users/tstrachota/gists{/gist_id}","starred_url":"https://api.github.com/users/tstrachota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tstrachota/subscriptions","organizations_url":"https://api.github.com/users/tstrachota/orgs","repos_url":"https://api.github.com/users/tstrachota/repos","events_url":"https://api.github.com/users/tstrachota/events{/privacy}","received_events_url":"https://api.github.com/users/tstrachota/received_events","type":"User","site_admin":false},"body":"- extends capsule content api with actions to get sync status and\r\n  cancelling synchronizations\r\n- adds panel with sync progress\r\n    - buttons for starting and cancelling synchronizations\r\n    - progressbar for currently running synchroniations, links to proxy\r\n      related foreman-tasks\r\n    - displays last synchronization in case it failed\r\n- adds tab with repository content details\r\n    - repositories split by content view\r\n    - grouped by lifecycle environment\r\n\r\n**TODO:**\r\n- [x] date and yes/no formatting in templates\r\n- [ ] tests for the UI js part\r\n- [ ] tests for the backend part\r\n- [ ] use certificates instead of oauth when talking to pulp node\r\n\r\nThere are several other issues that need to be fixed on Foreman side prior to merging this PR:\r\n- http://projects.theforeman.org/issues/13235 (alternatively we can do https://github.com/tstrachota/katello/commit/028ac215967518e584d57c65f811b6d04a9f9c4f)\r\n- http://projects.theforeman.org/issues/13079 \r\n- http://projects.theforeman.org/issues/13234 (alternatively we can do https://github.com/tstrachota/katello/commit/5400953a0674e175bc2ac394a94277055c2338c1)\r\n\r\nUntil they are fixed, please test this PR with following Foreman branch that contains either preliminary patches or temporary fixes for the issues:\r\nhttps://github.com/tstrachota/foreman/tree/proxy_observability_support\r\n","created_at":"2016-01-15T11:05:01Z","updated_at":"2016-01-24T13:21:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18611ae4259fd6667db90cf30f475c6c1943d724","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Katello/katello/pulls/5710/commits","review_comments_url":"https://api.github.com/repos/Katello/katello/pulls/5710/comments","review_comment_url":"https://api.github.com/repos/Katello/katello/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Katello/katello/issues/5710/comments","statuses_url":"https://api.github.com/repos/Katello/katello/statuses/7a819d7f8f199d79ce3ec6e1651466eee4176d31","head":{"label":"tstrachota:proxy_details","ref":"proxy_details","sha":"7a819d7f8f199d79ce3ec6e1651466eee4176d31","user":{"login":"tstrachota","id":1186631,"avatar_url":"https://avatars.githubusercontent.com/u/1186631?v=3","gravatar_id":"","url":"https://api.github.com/users/tstrachota","html_url":"https://github.com/tstrachota","followers_url":"https://api.github.com/users/tstrachota/followers","following_url":"https://api.github.com/users/tstrachota/following{/other_user}","gists_url":"https://api.github.com/users/tstrachota/gists{/gist_id}","starred_url":"https://api.github.com/users/tstrachota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tstrachota/subscriptions","organizations_url":"https://api.github.com/users/tstrachota/orgs","repos_url":"https://api.github.com/users/tstrachota/repos","events_url":"https://api.github.com/users/tstrachota/events{/privacy}","received_events_url":"https://api.github.com/users/tstrachota/received_events","type":"User","site_admin":false},"repo":{"id":4040551,"name":"katello","full_name":"tstrachota/katello","owner":{"login":"tstrachota","id":1186631,"avatar_url":"https://avatars.githubusercontent.com/u/1186631?v=3","gravatar_id":"","url":"https://api.github.com/users/tstrachota","html_url":"https://github.com/tstrachota","followers_url":"https://api.github.com/users/tstrachota/followers","following_url":"https://api.github.com/users/tstrachota/following{/other_user}","gists_url":"https://api.github.com/users/tstrachota/gists{/gist_id}","starred_url":"https://api.github.com/users/tstrachota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tstrachota/subscriptions","organizations_url":"https://api.github.com/users/tstrachota/orgs","repos_url":"https://api.github.com/users/tstrachota/repos","events_url":"https://api.github.com/users/tstrachota/events{/privacy}","received_events_url":"https://api.github.com/users/tstrachota/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tstrachota/katello","description":"Katello integrates open source systems management tools into a single solution for controlling the lifecycle of your machines.","fork":true,"url":"https://api.github.com/repos/tstrachota/katello","forks_url":"https://api.github.com/repos/tstrachota/katello/forks","keys_url":"https://api.github.com/repos/tstrachota/katello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tstrachota/katello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tstrachota/katello/teams","hooks_url":"https://api.github.com/repos/tstrachota/katello/hooks","issue_events_url":"https://api.github.com/repos/tstrachota/katello/issues/events{/number}","events_url":"https://api.github.com/repos/tstrachota/katello/events","assignees_url":"https://api.github.com/repos/tstrachota/katello/assignees{/user}","branches_url":"https://api.github.com/repos/tstrachota/katello/branches{/branch}","tags_url":"https://api.github.com/repos/tstrachota/katello/tags","blobs_url":"https://api.github.com/repos/tstrachota/katello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tstrachota/katello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tstrachota/katello/git/refs{/sha}","trees_url":"https://api.github.com/repos/tstrachota/katello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tstrachota/katello/statuses/{sha}","languages_url":"https://api.github.com/repos/tstrachota/katello/languages","stargazers_url":"https://api.github.com/repos/tstrachota/katello/stargazers","contributors_url":"https://api.github.com/repos/tstrachota/katello/contributors","subscribers_url":"https://api.github.com/repos/tstrachota/katello/subscribers","subscription_url":"https://api.github.com/repos/tstrachota/katello/subscription","commits_url":"https://api.github.com/repos/tstrachota/katello/commits{/sha}","git_commits_url":"https://api.github.com/repos/tstrachota/katello/git/commits{/sha}","comments_url":"https://api.github.com/repos/tstrachota/katello/comments{/number}","issue_comment_url":"https://api.github.com/repos/tstrachota/katello/issues/comments{/number}","contents_url":"https://api.github.com/repos/tstrachota/katello/contents/{+path}","compare_url":"https://api.github.com/repos/tstrachota/katello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tstrachota/katello/merges","archive_url":"https://api.github.com/repos/tstrachota/katello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tstrachota/katello/downloads","issues_url":"https://api.github.com/repos/tstrachota/katello/issues{/number}","pulls_url":"https://api.github.com/repos/tstrachota/katello/pulls{/number}","milestones_url":"https://api.github.com/repos/tstrachota/katello/milestones{/number}","notifications_url":"https://api.github.com/repos/tstrachota/katello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tstrachota/katello/labels{/name}","releases_url":"https://api.github.com/repos/tstrachota/katello/releases{/id}","deployments_url":"https://api.github.com/repos/tstrachota/katello/deployments","created_at":"2012-04-16T12:26:26Z","updated_at":"2014-08-12T07:23:26Z","pushed_at":"2016-01-20T16:06:27Z","git_url":"git://github.com/tstrachota/katello.git","ssh_url":"git@github.com:tstrachota/katello.git","clone_url":"https://github.com/tstrachota/katello.git","svn_url":"https://github.com/tstrachota/katello","homepage":"katello.org","size":74537,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"Katello:master","ref":"master","sha":"04c8b24ec4bcb342c806c95dc3ecce23f9b79de9","user":{"login":"Katello","id":1316386,"avatar_url":"https://avatars.githubusercontent.com/u/1316386?v=3","gravatar_id":"","url":"https://api.github.com/users/Katello","html_url":"https://github.com/Katello","followers_url":"https://api.github.com/users/Katello/followers","following_url":"https://api.github.com/users/Katello/following{/other_user}","gists_url":"https://api.github.com/users/Katello/gists{/gist_id}","starred_url":"https://api.github.com/users/Katello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katello/subscriptions","organizations_url":"https://api.github.com/users/Katello/orgs","repos_url":"https://api.github.com/users/Katello/repos","events_url":"https://api.github.com/users/Katello/events{/privacy}","received_events_url":"https://api.github.com/users/Katello/received_events","type":"Organization","site_admin":false},"repo":{"id":4007018,"name":"katello","full_name":"Katello/katello","owner":{"login":"Katello","id":1316386,"avatar_url":"https://avatars.githubusercontent.com/u/1316386?v=3","gravatar_id":"","url":"https://api.github.com/users/Katello","html_url":"https://github.com/Katello","followers_url":"https://api.github.com/users/Katello/followers","following_url":"https://api.github.com/users/Katello/following{/other_user}","gists_url":"https://api.github.com/users/Katello/gists{/gist_id}","starred_url":"https://api.github.com/users/Katello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katello/subscriptions","organizations_url":"https://api.github.com/users/Katello/orgs","repos_url":"https://api.github.com/users/Katello/repos","events_url":"https://api.github.com/users/Katello/events{/privacy}","received_events_url":"https://api.github.com/users/Katello/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Katello/katello","description":"Katello integrates open source systems management tools into a single solution for controlling the lifecycle of your machines.","fork":false,"url":"https://api.github.com/repos/Katello/katello","forks_url":"https://api.github.com/repos/Katello/katello/forks","keys_url":"https://api.github.com/repos/Katello/katello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Katello/katello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Katello/katello/teams","hooks_url":"https://api.github.com/repos/Katello/katello/hooks","issue_events_url":"https://api.github.com/repos/Katello/katello/issues/events{/number}","events_url":"https://api.github.com/repos/Katello/katello/events","assignees_url":"https://api.github.com/repos/Katello/katello/assignees{/user}","branches_url":"https://api.github.com/repos/Katello/katello/branches{/branch}","tags_url":"https://api.github.com/repos/Katello/katello/tags","blobs_url":"https://api.github.com/repos/Katello/katello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Katello/katello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Katello/katello/git/refs{/sha}","trees_url":"https://api.github.com/repos/Katello/katello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Katello/katello/statuses/{sha}","languages_url":"https://api.github.com/repos/Katello/katello/languages","stargazers_url":"https://api.github.com/repos/Katello/katello/stargazers","contributors_url":"https://api.github.com/repos/Katello/katello/contributors","subscribers_url":"https://api.github.com/repos/Katello/katello/subscribers","subscription_url":"https://api.github.com/repos/Katello/katello/subscription","commits_url":"https://api.github.com/repos/Katello/katello/commits{/sha}","git_commits_url":"https://api.github.com/repos/Katello/katello/git/commits{/sha}","comments_url":"https://api.github.com/repos/Katello/katello/comments{/number}","issue_comment_url":"https://api.github.com/repos/Katello/katello/issues/comments{/number}","contents_url":"https://api.github.com/repos/Katello/katello/contents/{+path}","compare_url":"https://api.github.com/repos/Katello/katello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Katello/katello/merges","archive_url":"https://api.github.com/repos/Katello/katello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Katello/katello/downloads","issues_url":"https://api.github.com/repos/Katello/katello/issues{/number}","pulls_url":"https://api.github.com/repos/Katello/katello/pulls{/number}","milestones_url":"https://api.github.com/repos/Katello/katello/milestones{/number}","notifications_url":"https://api.github.com/repos/Katello/katello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Katello/katello/labels{/name}","releases_url":"https://api.github.com/repos/Katello/katello/releases{/id}","deployments_url":"https://api.github.com/repos/Katello/katello/deployments","created_at":"2012-04-12T16:59:08Z","updated_at":"2016-01-14T05:15:22Z","pushed_at":"2016-01-23T16:34:26Z","git_url":"git://github.com/Katello/katello.git","ssh_url":"git@github.com:Katello/katello.git","clone_url":"https://github.com/Katello/katello.git","svn_url":"https://github.com/Katello/katello","homepage":"katello.org","size":91881,"stargazers_count":170,"watchers_count":170,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":117,"mirror_url":null,"open_issues_count":98,"forks":117,"open_issues":98,"watchers":170,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Katello/katello/pulls/5710"},"html":{"href":"https://github.com/Katello/katello/pull/5710"},"issue":{"href":"https://api.github.com/repos/Katello/katello/issues/5710"},"comments":{"href":"https://api.github.com/repos/Katello/katello/issues/5710/comments"},"review_comments":{"href":"https://api.github.com/repos/Katello/katello/pulls/5710/comments"},"review_comment":{"href":"https://api.github.com/repos/Katello/katello/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Katello/katello/pulls/5710/commits"},"statuses":{"href":"https://api.github.com/repos/Katello/katello/statuses/7a819d7f8f199d79ce3ec6e1651466eee4176d31"}}}}