{"action":"created","comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/73686585","id":73686585,"diff_hunk":"@@ -0,0 +1,42 @@\n+# https://pubs.vmware.com/vca/index.jsp#com.vmware.vcloud.api.doc_56/GUID-7C1F16FF-C530-404E-8533-329670B20A19.html\n+#\n+# EXAMPLE PAYLOAD:\n+# {\n+# \"eventId\"           : \"a1440dd8-60ae-46c7-b216-44693bc00c90\",\n+# \"type\"              : \"com/vmware/vcloud/event/blockingtask/create\",\n+# \"timestamp\"         : \"2011-06-18T14:33:27.787+03:00\",\n+# \"operationSuccess\"  : true,\n+# \"user\"              : \"urn:vcloud:user:44\",\n+# \"org\"               : \"urn:vcloud:org:70\",\n+# \"entity\"            : \"urn:vcloud:blockingTask:25\"\n+# \"task\"              : \"urn:vcloud:task:34\",\n+# \"taskOwner\"         : \"urn:vcloud:vapp:26\"\n+# }\n+\n+class VmwareVcloudEvent\n+  attr_accessor :payload, :metadata\n+\n+  EVENT_ID_KEY   = \"eventId\".freeze\n+  EVENT_TYPE_KEY = \"type\".freeze\n+\n+  def initialize(payload, metadata)\n+    raise \"AMQP message missing raquired keys\" if [EVENT_ID_KEY, EVENT_TYPE_KEY].any? { |s| !payload.key? s }","path":"gems/pending/vmware/events/vmware_vcloud_event.rb","position":23,"original_position":23,"commit_id":"ae7e2d5f59db2440b1fb1407fc3d71e2205f301d","original_commit_id":"ae7e2d5f59db2440b1fb1407fc3d71e2205f301d","user":{"login":"chessbyte","id":82161,"avatar_url":"https://avatars.githubusercontent.com/u/82161?v=3","gravatar_id":"","url":"https://api.github.com/users/chessbyte","html_url":"https://github.com/chessbyte","followers_url":"https://api.github.com/users/chessbyte/followers","following_url":"https://api.github.com/users/chessbyte/following{/other_user}","gists_url":"https://api.github.com/users/chessbyte/gists{/gist_id}","starred_url":"https://api.github.com/users/chessbyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chessbyte/subscriptions","organizations_url":"https://api.github.com/users/chessbyte/orgs","repos_url":"https://api.github.com/users/chessbyte/repos","events_url":"https://api.github.com/users/chessbyte/events{/privacy}","received_events_url":"https://api.github.com/users/chessbyte/received_events","type":"User","site_admin":false},"body":"typo:  `raquired` should be `required`","created_at":"2016-08-05T12:49:42Z","updated_at":"2016-08-05T12:49:42Z","html_url":"https://github.com/ManageIQ/manageiq/pull/10274#discussion_r73686585","pull_request_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10274","_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments/73686585"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/10274#discussion_r73686585"},"pull_request":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10274"}}},"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10274","id":80207093,"html_url":"https://github.com/ManageIQ/manageiq/pull/10274","diff_url":"https://github.com/ManageIQ/manageiq/pull/10274.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/10274.patch","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/10274","number":10274,"state":"open","locked":false,"title":"Implement pending gem for Vmware Cloud connection to Rabbit","user":{"login":"miha-plesko","id":8102426,"avatar_url":"https://avatars.githubusercontent.com/u/8102426?v=3","gravatar_id":"","url":"https://api.github.com/users/miha-plesko","html_url":"https://github.com/miha-plesko","followers_url":"https://api.github.com/users/miha-plesko/followers","following_url":"https://api.github.com/users/miha-plesko/following{/other_user}","gists_url":"https://api.github.com/users/miha-plesko/gists{/gist_id}","starred_url":"https://api.github.com/users/miha-plesko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miha-plesko/subscriptions","organizations_url":"https://api.github.com/users/miha-plesko/orgs","repos_url":"https://api.github.com/users/miha-plesko/repos","events_url":"https://api.github.com/users/miha-plesko/events{/privacy}","received_events_url":"https://api.github.com/users/miha-plesko/received_events","type":"User","site_admin":false},"body":"Purpose or Intent\r\n-----------------\r\nThis is firt part of EventCatcher integration for Vmware Cloud.\r\nThis module will be used by workers to consume messages from Rabbit.\r\n\r\nIt's originally part of https://github.com/ManageIQ/manageiq/pull/10192\r\n","created_at":"2016-08-05T08:30:24Z","updated_at":"2016-08-05T12:49:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0aa599b3a6d22e21623aeb2bc7b52f516303c467","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10274/commits","review_comments_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10274/comments","review_comment_url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/10274/comments","statuses_url":"https://api.github.com/repos/ManageIQ/manageiq/statuses/ae7e2d5f59db2440b1fb1407fc3d71e2205f301d","head":{"label":"xlab-si:add_vmware_vcloud_event_catcher_gem","ref":"add_vmware_vcloud_event_catcher_gem","sha":"ae7e2d5f59db2440b1fb1407fc3d71e2205f301d","user":{"login":"xlab-si","id":17640165,"avatar_url":"https://avatars.githubusercontent.com/u/17640165?v=3","gravatar_id":"","url":"https://api.github.com/users/xlab-si","html_url":"https://github.com/xlab-si","followers_url":"https://api.github.com/users/xlab-si/followers","following_url":"https://api.github.com/users/xlab-si/following{/other_user}","gists_url":"https://api.github.com/users/xlab-si/gists{/gist_id}","starred_url":"https://api.github.com/users/xlab-si/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlab-si/subscriptions","organizations_url":"https://api.github.com/users/xlab-si/orgs","repos_url":"https://api.github.com/users/xlab-si/repos","events_url":"https://api.github.com/users/xlab-si/events{/privacy}","received_events_url":"https://api.github.com/users/xlab-si/received_events","type":"Organization","site_admin":false},"repo":{"id":53126087,"name":"manageiq","full_name":"xlab-si/manageiq","owner":{"login":"xlab-si","id":17640165,"avatar_url":"https://avatars.githubusercontent.com/u/17640165?v=3","gravatar_id":"","url":"https://api.github.com/users/xlab-si","html_url":"https://github.com/xlab-si","followers_url":"https://api.github.com/users/xlab-si/followers","following_url":"https://api.github.com/users/xlab-si/following{/other_user}","gists_url":"https://api.github.com/users/xlab-si/gists{/gist_id}","starred_url":"https://api.github.com/users/xlab-si/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlab-si/subscriptions","organizations_url":"https://api.github.com/users/xlab-si/orgs","repos_url":"https://api.github.com/users/xlab-si/repos","events_url":"https://api.github.com/users/xlab-si/events{/privacy}","received_events_url":"https://api.github.com/users/xlab-si/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xlab-si/manageiq","description":"ManageIQ Cloud Management Platform","fork":true,"url":"https://api.github.com/repos/xlab-si/manageiq","forks_url":"https://api.github.com/repos/xlab-si/manageiq/forks","keys_url":"https://api.github.com/repos/xlab-si/manageiq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xlab-si/manageiq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xlab-si/manageiq/teams","hooks_url":"https://api.github.com/repos/xlab-si/manageiq/hooks","issue_events_url":"https://api.github.com/repos/xlab-si/manageiq/issues/events{/number}","events_url":"https://api.github.com/repos/xlab-si/manageiq/events","assignees_url":"https://api.github.com/repos/xlab-si/manageiq/assignees{/user}","branches_url":"https://api.github.com/repos/xlab-si/manageiq/branches{/branch}","tags_url":"https://api.github.com/repos/xlab-si/manageiq/tags","blobs_url":"https://api.github.com/repos/xlab-si/manageiq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xlab-si/manageiq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xlab-si/manageiq/git/refs{/sha}","trees_url":"https://api.github.com/repos/xlab-si/manageiq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xlab-si/manageiq/statuses/{sha}","languages_url":"https://api.github.com/repos/xlab-si/manageiq/languages","stargazers_url":"https://api.github.com/repos/xlab-si/manageiq/stargazers","contributors_url":"https://api.github.com/repos/xlab-si/manageiq/contributors","subscribers_url":"https://api.github.com/repos/xlab-si/manageiq/subscribers","subscription_url":"https://api.github.com/repos/xlab-si/manageiq/subscription","commits_url":"https://api.github.com/repos/xlab-si/manageiq/commits{/sha}","git_commits_url":"https://api.github.com/repos/xlab-si/manageiq/git/commits{/sha}","comments_url":"https://api.github.com/repos/xlab-si/manageiq/comments{/number}","issue_comment_url":"https://api.github.com/repos/xlab-si/manageiq/issues/comments{/number}","contents_url":"https://api.github.com/repos/xlab-si/manageiq/contents/{+path}","compare_url":"https://api.github.com/repos/xlab-si/manageiq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xlab-si/manageiq/merges","archive_url":"https://api.github.com/repos/xlab-si/manageiq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xlab-si/manageiq/downloads","issues_url":"https://api.github.com/repos/xlab-si/manageiq/issues{/number}","pulls_url":"https://api.github.com/repos/xlab-si/manageiq/pulls{/number}","milestones_url":"https://api.github.com/repos/xlab-si/manageiq/milestones{/number}","notifications_url":"https://api.github.com/repos/xlab-si/manageiq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xlab-si/manageiq/labels{/name}","releases_url":"https://api.github.com/repos/xlab-si/manageiq/releases{/id}","deployments_url":"https://api.github.com/repos/xlab-si/manageiq/deployments","created_at":"2016-03-04T10:03:29Z","updated_at":"2016-03-04T10:03:47Z","pushed_at":"2016-08-05T08:32:42Z","git_url":"git://github.com/xlab-si/manageiq.git","ssh_url":"git@github.com:xlab-si/manageiq.git","clone_url":"https://github.com/xlab-si/manageiq.git","svn_url":"https://github.com/xlab-si/manageiq","homepage":"manageiq.org","size":142287,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ManageIQ:master","ref":"master","sha":"8338098944ca071b03d29d2f1726b47109bfc624","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 Open-Source 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}","deployments_url":"https://api.github.com/repos/ManageIQ/manageiq/deployments","created_at":"2014-06-13T02:31:26Z","updated_at":"2016-08-04T01:15:42Z","pushed_at":"2016-08-05T12:41:12Z","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":191481,"stargazers_count":299,"watchers_count":299,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":332,"mirror_url":null,"open_issues_count":743,"forks":332,"open_issues":743,"watchers":299,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10274"},"html":{"href":"https://github.com/ManageIQ/manageiq/pull/10274"},"issue":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/10274"},"comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/issues/10274/comments"},"review_comments":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10274/comments"},"review_comment":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManageIQ/manageiq/pulls/10274/commits"},"statuses":{"href":"https://api.github.com/repos/ManageIQ/manageiq/statuses/ae7e2d5f59db2440b1fb1407fc3d71e2205f301d"}}}}
{"actor":{"display_login":"chessbyte"}}