{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/comments/23560789","id":23560789,"diff_hunk":"@@ -0,0 +1,4 @@\n+object @arf_report\n+\n+attributes :id, :passed, :failed, :othered #:host, :passed, :failed, :othered","path":"app/views/api/v2/arf_reports/base.json.rabl","position":3,"original_position":3,"commit_id":"ddec926d534d380eda2c30c3f3b8b5dfa1a5e682","original_commit_id":"ddec926d534d380eda2c30c3f3b8b5dfa1a5e682","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":"commented out code?","created_at":"2015-01-26T20:17:56Z","updated_at":"2015-01-26T20:17:56Z","html_url":"https://github.com/OpenSCAP/foreman_openscap/pull/69#discussion_r23560789","pull_request_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/comments/23560789"},"html":{"href":"https://github.com/OpenSCAP/foreman_openscap/pull/69#discussion_r23560789"},"pull_request":{"href":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/69","id":28038425,"html_url":"https://github.com/OpenSCAP/foreman_openscap/pull/69","diff_url":"https://github.com/OpenSCAP/foreman_openscap/pull/69.diff","patch_url":"https://github.com/OpenSCAP/foreman_openscap/pull/69.patch","issue_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/issues/69","number":69,"state":"open","locked":false,"title":"[Do NOT Merge] Api for OpenSCAP_foreman","user":{"login":"shlomizadok","id":433583,"avatar_url":"https://avatars.githubusercontent.com/u/433583?v=3","gravatar_id":"","url":"https://api.github.com/users/shlomizadok","html_url":"https://github.com/shlomizadok","followers_url":"https://api.github.com/users/shlomizadok/followers","following_url":"https://api.github.com/users/shlomizadok/following{/other_user}","gists_url":"https://api.github.com/users/shlomizadok/gists{/gist_id}","starred_url":"https://api.github.com/users/shlomizadok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlomizadok/subscriptions","organizations_url":"https://api.github.com/users/shlomizadok/orgs","repos_url":"https://api.github.com/users/shlomizadok/repos","events_url":"https://api.github.com/users/shlomizadok/events{/privacy}","received_events_url":"https://api.github.com/users/shlomizadok/received_events","type":"User","site_admin":false},"body":"@isratrade, @ohadlevy please review.\r\nA few concerns:\r\nneeded to override a few methods, among them ```resource_name```, ```get_resource``` & ```find_resource``` - this is due the fact that all of openscap models start with ```Scaptimony::model_name```\r\nIn the weird case of policy controller I also needed to create a ```policy_url```.\r\n\r\nPlease **Do NOT merge** until I will add some tests to this functionality.\r\n\r\nPlease review and test.","created_at":"2015-01-26T16:18:38Z","updated_at":"2015-01-26T20:17:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbfb0394a54d55ff4684f121ceea25b4c033352f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/69/commits","review_comments_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/69/comments","review_comment_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/issues/69/comments","statuses_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/statuses/ddec926d534d380eda2c30c3f3b8b5dfa1a5e682","head":{"label":"shlomizadok:api","ref":"api","sha":"ddec926d534d380eda2c30c3f3b8b5dfa1a5e682","user":{"login":"shlomizadok","id":433583,"avatar_url":"https://avatars.githubusercontent.com/u/433583?v=3","gravatar_id":"","url":"https://api.github.com/users/shlomizadok","html_url":"https://github.com/shlomizadok","followers_url":"https://api.github.com/users/shlomizadok/followers","following_url":"https://api.github.com/users/shlomizadok/following{/other_user}","gists_url":"https://api.github.com/users/shlomizadok/gists{/gist_id}","starred_url":"https://api.github.com/users/shlomizadok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlomizadok/subscriptions","organizations_url":"https://api.github.com/users/shlomizadok/orgs","repos_url":"https://api.github.com/users/shlomizadok/repos","events_url":"https://api.github.com/users/shlomizadok/events{/privacy}","received_events_url":"https://api.github.com/users/shlomizadok/received_events","type":"User","site_admin":false},"repo":{"id":27426416,"name":"foreman_openscap","full_name":"shlomizadok/foreman_openscap","owner":{"login":"shlomizadok","id":433583,"avatar_url":"https://avatars.githubusercontent.com/u/433583?v=3","gravatar_id":"","url":"https://api.github.com/users/shlomizadok","html_url":"https://github.com/shlomizadok","followers_url":"https://api.github.com/users/shlomizadok/followers","following_url":"https://api.github.com/users/shlomizadok/following{/other_user}","gists_url":"https://api.github.com/users/shlomizadok/gists{/gist_id}","starred_url":"https://api.github.com/users/shlomizadok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlomizadok/subscriptions","organizations_url":"https://api.github.com/users/shlomizadok/orgs","repos_url":"https://api.github.com/users/shlomizadok/repos","events_url":"https://api.github.com/users/shlomizadok/events{/privacy}","received_events_url":"https://api.github.com/users/shlomizadok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shlomizadok/foreman_openscap","description":"Foreman plug-in for displaying OpenSCAP audit reports","fork":true,"url":"https://api.github.com/repos/shlomizadok/foreman_openscap","forks_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/forks","keys_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/teams","hooks_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/hooks","issue_events_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/issues/events{/number}","events_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/events","assignees_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/assignees{/user}","branches_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/branches{/branch}","tags_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/tags","blobs_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/git/refs{/sha}","trees_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/statuses/{sha}","languages_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/languages","stargazers_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/stargazers","contributors_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/contributors","subscribers_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/subscribers","subscription_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/subscription","commits_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/commits{/sha}","git_commits_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/git/commits{/sha}","comments_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/comments{/number}","issue_comment_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/issues/comments/{number}","contents_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/contents/{+path}","compare_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/merges","archive_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/downloads","issues_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/issues{/number}","pulls_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/pulls{/number}","milestones_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/milestones{/number}","notifications_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/labels{/name}","releases_url":"https://api.github.com/repos/shlomizadok/foreman_openscap/releases{/id}","created_at":"2014-12-02T10:04:02Z","updated_at":"2014-12-15T07:08:17Z","pushed_at":"2015-01-26T16:13:44Z","git_url":"git://github.com/shlomizadok/foreman_openscap.git","ssh_url":"git@github.com:shlomizadok/foreman_openscap.git","clone_url":"https://github.com/shlomizadok/foreman_openscap.git","svn_url":"https://github.com/shlomizadok/foreman_openscap","homepage":null,"size":733,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"OpenSCAP:master","ref":"master","sha":"950288250446e92248e9a77ffcde1d3374281e05","user":{"login":"OpenSCAP","id":7439934,"avatar_url":"https://avatars.githubusercontent.com/u/7439934?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSCAP","html_url":"https://github.com/OpenSCAP","followers_url":"https://api.github.com/users/OpenSCAP/followers","following_url":"https://api.github.com/users/OpenSCAP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSCAP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSCAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSCAP/subscriptions","organizations_url":"https://api.github.com/users/OpenSCAP/orgs","repos_url":"https://api.github.com/users/OpenSCAP/repos","events_url":"https://api.github.com/users/OpenSCAP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSCAP/received_events","type":"Organization","site_admin":false},"repo":{"id":21560665,"name":"foreman_openscap","full_name":"OpenSCAP/foreman_openscap","owner":{"login":"OpenSCAP","id":7439934,"avatar_url":"https://avatars.githubusercontent.com/u/7439934?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSCAP","html_url":"https://github.com/OpenSCAP","followers_url":"https://api.github.com/users/OpenSCAP/followers","following_url":"https://api.github.com/users/OpenSCAP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSCAP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSCAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSCAP/subscriptions","organizations_url":"https://api.github.com/users/OpenSCAP/orgs","repos_url":"https://api.github.com/users/OpenSCAP/repos","events_url":"https://api.github.com/users/OpenSCAP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSCAP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSCAP/foreman_openscap","description":"Foreman plug-in for displaying OpenSCAP audit reports","fork":false,"url":"https://api.github.com/repos/OpenSCAP/foreman_openscap","forks_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/forks","keys_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/teams","hooks_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/hooks","issue_events_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/events","assignees_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/tags","blobs_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/languages","stargazers_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/stargazers","contributors_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/contributors","subscribers_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/subscribers","subscription_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/subscription","commits_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/issues/comments/{number}","contents_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/merges","archive_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/downloads","issues_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/labels{/name}","releases_url":"https://api.github.com/repos/OpenSCAP/foreman_openscap/releases{/id}","created_at":"2014-07-07T07:17:09Z","updated_at":"2015-01-24T17:29:56Z","pushed_at":"2015-01-24T17:29:55Z","git_url":"git://github.com/OpenSCAP/foreman_openscap.git","ssh_url":"git@github.com:OpenSCAP/foreman_openscap.git","clone_url":"https://github.com/OpenSCAP/foreman_openscap.git","svn_url":"https://github.com/OpenSCAP/foreman_openscap","homepage":null,"size":1091,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":24,"forks":4,"open_issues":24,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/69"},"html":{"href":"https://github.com/OpenSCAP/foreman_openscap/pull/69"},"issue":{"href":"https://api.github.com/repos/OpenSCAP/foreman_openscap/issues/69"},"comments":{"href":"https://api.github.com/repos/OpenSCAP/foreman_openscap/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OpenSCAP/foreman_openscap/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSCAP/foreman_openscap/statuses/ddec926d534d380eda2c30c3f3b8b5dfa1a5e682"}}}}