{"action":"created","comment":{"url":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments/57046136","id":57046136,"diff_hunk":"@@ -0,0 +1,94 @@\n+// Copyright 2016, EMC, Inc.\n+\n+'use strict';\n+\n+describe('Emc Redfish Catalog Job', function () {\n+    var uuid = require('node-uuid'),\n+        graphId = uuid.v4(),\n+        redfishJob,\n+        redfishTool,\n+        waterline = {},\n+        sandbox = sinon.sandbox.create(),\n+        rootData = {\n+            body: { \n+                Oem: { \n+                    Emc: {\n+                        Elements: { \n+                            '@odata.id':'/redfish/v1/Chassis/0/Elements' \n+                        }     \n+                    }\n+                }\n+            }\n+        },\n+        elementMembers = {\n+            body: {\n+                Members: [\n+                    { '@odata.id':'/redfish/v1/Chassis/0/Elements/0'},\n+                    { '@odata.id':'/redfish/v1/Chassis/0/Elements/' }\n+                ]\n+            }\n+        },\n+        elementData = {\n+            body: [{ data: 'data' }]\n+        };\n+    \n+    before(function() { \n+        function redfishTool() {\n+            this.setup = sandbox.stub().resolves();","path":"spec/lib/jobs/emc-redfish-catalog-spec.js","position":37,"original_position":37,"commit_id":"30aad13b876cae18b16f2e088aa5613bda602152","original_commit_id":"30aad13b876cae18b16f2e088aa5613bda602152","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Possible strict violation.","created_at":"2016-03-22T18:48:21Z","updated_at":"2016-03-22T18:48:21Z","html_url":"https://github.com/RackHD/on-tasks/pull/145#discussion_r57046136","pull_request_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/145","_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments/57046136"},"html":{"href":"https://github.com/RackHD/on-tasks/pull/145#discussion_r57046136"},"pull_request":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/145"}}},"pull_request":{"url":"https://api.github.com/repos/RackHD/on-tasks/pulls/145","id":63772812,"html_url":"https://github.com/RackHD/on-tasks/pull/145","diff_url":"https://github.com/RackHD/on-tasks/pull/145.diff","patch_url":"https://github.com/RackHD/on-tasks/pull/145.patch","issue_url":"https://api.github.com/repos/RackHD/on-tasks/issues/145","number":145,"state":"open","locked":false,"title":"Add platform-A discovery","user":{"login":"jlongever","id":13769308,"avatar_url":"https://avatars.githubusercontent.com/u/13769308?v=3","gravatar_id":"","url":"https://api.github.com/users/jlongever","html_url":"https://github.com/jlongever","followers_url":"https://api.github.com/users/jlongever/followers","following_url":"https://api.github.com/users/jlongever/following{/other_user}","gists_url":"https://api.github.com/users/jlongever/gists{/gist_id}","starred_url":"https://api.github.com/users/jlongever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlongever/subscriptions","organizations_url":"https://api.github.com/users/jlongever/orgs","repos_url":"https://api.github.com/users/jlongever/repos","events_url":"https://api.github.com/users/jlongever/events{/privacy}","received_events_url":"https://api.github.com/users/jlongever/received_events","type":"User","site_admin":false},"body":"Introduces EMC Redfish service discovery and Platform-A resource cataloging.  \r\nSome updates to the standard Redfish discovery job which removes the redfish-node client library and in favor of dynamic Redfish discovery. Tested against various vendor Redfish services.\r\n\r\n-Add Catalog of Platform-A Elements.\r\n-Add Compose, Recompose, Delete action workflow tasks and provisioned element tracking.\r\n-Add Redfish System LogService poller (verified against IML and IPMI SEL log services).\r\n-Update standard Redfish poller to traverse root members (fix Action resources).\r\n-Update mapping of target relations to RackHD node identifiers.\r\n-Update Redfish discovery enhancements to traverse root members (dynamic).\r\n-Update Redfish discovery to upsert latest relations (update on subsequent discovery invocations).\r\n-Add/Update to relevant unit-tests.\r\n\r\n@RackHD/corecommitters @uppalk1 @zyoung51 @geoff-reid @tannoa2 @keedya ","created_at":"2016-03-22T18:48:00Z","updated_at":"2016-03-22T18:48:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b28803a4efcdcb1a484581648d23e01d99365cc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/145/commits","review_comments_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/145/comments","review_comment_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RackHD/on-tasks/issues/145/comments","statuses_url":"https://api.github.com/repos/RackHD/on-tasks/statuses/30aad13b876cae18b16f2e088aa5613bda602152","head":{"label":"jlongever:redfish/oem_discovery_catalog","ref":"redfish/oem_discovery_catalog","sha":"30aad13b876cae18b16f2e088aa5613bda602152","user":{"login":"jlongever","id":13769308,"avatar_url":"https://avatars.githubusercontent.com/u/13769308?v=3","gravatar_id":"","url":"https://api.github.com/users/jlongever","html_url":"https://github.com/jlongever","followers_url":"https://api.github.com/users/jlongever/followers","following_url":"https://api.github.com/users/jlongever/following{/other_user}","gists_url":"https://api.github.com/users/jlongever/gists{/gist_id}","starred_url":"https://api.github.com/users/jlongever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlongever/subscriptions","organizations_url":"https://api.github.com/users/jlongever/orgs","repos_url":"https://api.github.com/users/jlongever/repos","events_url":"https://api.github.com/users/jlongever/events{/privacy}","received_events_url":"https://api.github.com/users/jlongever/received_events","type":"User","site_admin":false},"repo":{"id":45497609,"name":"on-tasks","full_name":"jlongever/on-tasks","owner":{"login":"jlongever","id":13769308,"avatar_url":"https://avatars.githubusercontent.com/u/13769308?v=3","gravatar_id":"","url":"https://api.github.com/users/jlongever","html_url":"https://github.com/jlongever","followers_url":"https://api.github.com/users/jlongever/followers","following_url":"https://api.github.com/users/jlongever/following{/other_user}","gists_url":"https://api.github.com/users/jlongever/gists{/gist_id}","starred_url":"https://api.github.com/users/jlongever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlongever/subscriptions","organizations_url":"https://api.github.com/users/jlongever/orgs","repos_url":"https://api.github.com/users/jlongever/repos","events_url":"https://api.github.com/users/jlongever/events{/privacy}","received_events_url":"https://api.github.com/users/jlongever/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlongever/on-tasks","description":"","fork":true,"url":"https://api.github.com/repos/jlongever/on-tasks","forks_url":"https://api.github.com/repos/jlongever/on-tasks/forks","keys_url":"https://api.github.com/repos/jlongever/on-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlongever/on-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlongever/on-tasks/teams","hooks_url":"https://api.github.com/repos/jlongever/on-tasks/hooks","issue_events_url":"https://api.github.com/repos/jlongever/on-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/jlongever/on-tasks/events","assignees_url":"https://api.github.com/repos/jlongever/on-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/jlongever/on-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/jlongever/on-tasks/tags","blobs_url":"https://api.github.com/repos/jlongever/on-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlongever/on-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlongever/on-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlongever/on-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlongever/on-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/jlongever/on-tasks/languages","stargazers_url":"https://api.github.com/repos/jlongever/on-tasks/stargazers","contributors_url":"https://api.github.com/repos/jlongever/on-tasks/contributors","subscribers_url":"https://api.github.com/repos/jlongever/on-tasks/subscribers","subscription_url":"https://api.github.com/repos/jlongever/on-tasks/subscription","commits_url":"https://api.github.com/repos/jlongever/on-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlongever/on-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlongever/on-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlongever/on-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlongever/on-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/jlongever/on-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlongever/on-tasks/merges","archive_url":"https://api.github.com/repos/jlongever/on-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlongever/on-tasks/downloads","issues_url":"https://api.github.com/repos/jlongever/on-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/jlongever/on-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/jlongever/on-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/jlongever/on-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlongever/on-tasks/labels{/name}","releases_url":"https://api.github.com/repos/jlongever/on-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/jlongever/on-tasks/deployments","created_at":"2015-11-03T21:43:26Z","updated_at":"2015-11-03T21:43:27Z","pushed_at":"2016-03-22T18:34:22Z","git_url":"git://github.com/jlongever/on-tasks.git","ssh_url":"git@github.com:jlongever/on-tasks.git","clone_url":"https://github.com/jlongever/on-tasks.git","svn_url":"https://github.com/jlongever/on-tasks","homepage":null,"size":1126,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"RackHD:master","ref":"master","sha":"2f373f374fd08c589dcaaff3d069b342872d4b0a","user":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"repo":{"id":41690099,"name":"on-tasks","full_name":"RackHD/on-tasks","owner":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RackHD/on-tasks","description":"","fork":false,"url":"https://api.github.com/repos/RackHD/on-tasks","forks_url":"https://api.github.com/repos/RackHD/on-tasks/forks","keys_url":"https://api.github.com/repos/RackHD/on-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RackHD/on-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RackHD/on-tasks/teams","hooks_url":"https://api.github.com/repos/RackHD/on-tasks/hooks","issue_events_url":"https://api.github.com/repos/RackHD/on-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/RackHD/on-tasks/events","assignees_url":"https://api.github.com/repos/RackHD/on-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/RackHD/on-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/RackHD/on-tasks/tags","blobs_url":"https://api.github.com/repos/RackHD/on-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RackHD/on-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RackHD/on-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/RackHD/on-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RackHD/on-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/RackHD/on-tasks/languages","stargazers_url":"https://api.github.com/repos/RackHD/on-tasks/stargazers","contributors_url":"https://api.github.com/repos/RackHD/on-tasks/contributors","subscribers_url":"https://api.github.com/repos/RackHD/on-tasks/subscribers","subscription_url":"https://api.github.com/repos/RackHD/on-tasks/subscription","commits_url":"https://api.github.com/repos/RackHD/on-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/RackHD/on-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/RackHD/on-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/RackHD/on-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/RackHD/on-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/RackHD/on-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RackHD/on-tasks/merges","archive_url":"https://api.github.com/repos/RackHD/on-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RackHD/on-tasks/downloads","issues_url":"https://api.github.com/repos/RackHD/on-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/RackHD/on-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/RackHD/on-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/RackHD/on-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RackHD/on-tasks/labels{/name}","releases_url":"https://api.github.com/repos/RackHD/on-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/RackHD/on-tasks/deployments","created_at":"2015-08-31T17:29:32Z","updated_at":"2016-01-31T09:07:09Z","pushed_at":"2016-03-22T18:48:01Z","git_url":"git://github.com/RackHD/on-tasks.git","ssh_url":"git@github.com:RackHD/on-tasks.git","clone_url":"https://github.com/RackHD/on-tasks.git","svn_url":"https://github.com/RackHD/on-tasks","homepage":null,"size":1163,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":4,"forks":32,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/145"},"html":{"href":"https://github.com/RackHD/on-tasks/pull/145"},"issue":{"href":"https://api.github.com/repos/RackHD/on-tasks/issues/145"},"comments":{"href":"https://api.github.com/repos/RackHD/on-tasks/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/RackHD/on-tasks/statuses/30aad13b876cae18b16f2e088aa5613bda602152"}}}}