{"action":"created","comment":{"url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/comments/66619345","id":66619345,"diff_hunk":"@@ -0,0 +1,543 @@\n+'use strict';\n+\n+var expect = require('chai').expect;\n+var mockery = require('mockery');\n+var sinon = require('sinon');\n+\n+describe('lib/handlers/transformFrontToBackfill.js', function() {\n+    var TransformError;\n+    var logger;\n+    var next;\n+    var backfillUtils;\n+    var transform;\n+    var presentationFrontTransform;\n+\n+    before(function() {\n+        mockery.enable({useCleanCache: true});\n+        mockery.registerAllowable('../../../../lib/handlers/transformFrontToBackfill.js');\n+    });\n+\n+    after(function() {\n+        mockery.deregisterAll();\n+        mockery.disable();\n+    });\n+\n+    beforeEach(function() {\n+        presentationFrontTransform = {getKeyBackfill: sinon.stub()};\n+        backfillUtils = {\n+            getPresentationFrontBackfillDocument: sinon.stub().returns({})\n+        };\n+        TransformError = sinon.stub();\n+        logger = {\n+            error: sinon.spy()\n+        };\n+        next = sinon.spy();\n+        mockery.registerMock('../errors/index.js', {TransformError: TransformError});\n+        mockery.registerMock('../logger.js', logger);\n+        mockery.registerMock('../backfill-utils.js', backfillUtils);\n+        mockery.registerMock('presentation-transforms', {front: presentationFrontTransform});\n+        transform = require('../../../../lib/handlers/transformFrontToBackfill.js');\n+    });\n+\n+    afterEach(function() {\n+        mockery.resetCache();\n+        mockery.deregisterMock('../errors/index.js');\n+        mockery.deregisterMock('../logger.js');\n+        mockery.deregisterMock('../backfill-utils.js');\n+        mockery.deregisterMock('../transforms/front.js');\n+    });\n+\n+    it('should call next once if state.aggregateType is not `front`', function() {\n+        var state = {aggregateType: 'someAggregateType', event: {}, transformedDocuments: []};\n+        transform(next, state);\n+        expect(next.callCount).to.equal(1);\n+    });\n+\n+    it('should call next with the first parameter as \\'failure\\' if state.aggregateType is not `front`', function() {\n+        var state = {aggregateType: 'someAggregateType', event: {}, transformedDocuments: []};\n+        transform(next, state);\n+        expect(next.getCall(0).args[0]).to.equal('failure');\n+    });\n+\n+    it('should call next with the passed in state as the second parameter if state.aggregateType is not `front`', function() {\n+        var state = {aggregateType: 'someAggregateType', event: {}, transformedDocuments: []};\n+        transform(next, state);\n+        expect(next.getCall(0).args[1]).to.equal(state);\n+    });\n+\n+    describe('state.aggregateType is `front`', function() {\n+        var recommendedDate = Date.now();\n+\n+        it('should call backfillUtils.getPresentationFrontBackfillDocument once', function() {\n+            var state = {aggregateType: 'front', event: {}, transformedDocuments: [], errors: []};\n+            transform(next, state);\n+            expect(backfillUtils.getPresentationFrontBackfillDocument.callCount).to.equal(1);\n+        });\n+\n+        it('should call backfillUtils.getPresentationFrontBackfillDocument with the passed in state.event.data', function() {\n+            var state = {\n+                aggregateType: 'front',\n+                event: {data: {id: '123'}},\n+                transformedDocuments: [],\n+                errors: []\n+            };\n+            transform(next, state);\n+            expect(backfillUtils.getPresentationFrontBackfillDocument.getCall(0).args[0]).to.equal(state.event.data);\n+        });\n+\n+        it('should call next once if backfillUtils.getPresentationFrontBackfillDocument returns empty layoutModuleDocs array', function() {\n+            var state = {aggregateType: 'front', event: {}, transformedDocuments: [], errors: []};\n+            transform(next, state);\n+            expect(next.callCount).to.equal(1);\n+        });\n+\n+        it('should call next with the first parameter as \\'success\\' if backfillUtils.getPresentationFrontBackfillDocument returns empty layoutModuleDocs array', function() {\n+            var state = {aggregateType: 'front', event: {}, transformedDocuments: [], errors: []};\n+            transform(next, state);\n+            expect(next.getCall(0).args[0]).to.equal('success');\n+        });\n+\n+        it('should call next with the passed in state as the second parameter if backfillUtils.getPresentationFrontBackfillDocument returns empty layoutModuleDocs array', function() {\n+            var state = {aggregateType: 'front', event: {}, transformedDocuments: [], errors: []};\n+            transform(next, state);\n+            expect(next.getCall(0).args[1]).to.equal(state);\n+        });\n+\n+        it('should call presentationFrontTransform.getKeyBackfill once when backfillUtils.getPresentationFrontBackfillDocument returns layoutModuleDocs', function() {\n+            backfillUtils = {\n+                getPresentationFrontBackfillDocument: sinon.stub().returns({\n+                    layoutModuleDocs: {123: [], 456: []},\n+                    recommendedDate: recommendedDate\n+                })\n+            };\n+            mockery.resetCache();\n+            mockery.registerMock('../backfill-utils.js', backfillUtils);\n+            transform = require('../../../../lib/handlers/transformFrontToBackfill.js');\n+            var state = {aggregateType: 'front', event: {}, transformedDocuments: [], errors: []};\n+            transform(next, state);\n+            expect(presentationFrontTransform.getKeyBackfill.callCount).to.equal(1);\n+        });\n+\n+        it('should call presentationFrontTransform.getKeyBackfill with the passed in state.event.data backfillUtils.getPresentationFrontBackfillDocument returns layoutModuleDocs', function() {\n+            backfillUtils = {\n+                getPresentationFrontBackfillDocument: sinon.stub().returns({\n+                    layoutModuleDocs: {123: [], 456: []},\n+                    recommendedDate: recommendedDate\n+                })\n+            };\n+            mockery.resetCache();","path":"test/unit/lib/handlers/transformFrontToBackfill-tests.js","position":113,"original_position":128,"commit_id":"55d66b3e3000afe7c6dcba720e598ff166785e35","original_commit_id":"55d66b3e3000afe7c6dcba720e598ff166785e35","user":{"login":"scottgunther","id":12629229,"avatar_url":"https://avatars.githubusercontent.com/u/12629229?v=3","gravatar_id":"","url":"https://api.github.com/users/scottgunther","html_url":"https://github.com/scottgunther","followers_url":"https://api.github.com/users/scottgunther/followers","following_url":"https://api.github.com/users/scottgunther/following{/other_user}","gists_url":"https://api.github.com/users/scottgunther/gists{/gist_id}","starred_url":"https://api.github.com/users/scottgunther/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottgunther/subscriptions","organizations_url":"https://api.github.com/users/scottgunther/orgs","repos_url":"https://api.github.com/users/scottgunther/repos","events_url":"https://api.github.com/users/scottgunther/events{/privacy}","received_events_url":"https://api.github.com/users/scottgunther/received_events","type":"User","site_admin":false},"body":"Something like: `backfillUtils.getPresentationFrontBackfillDocument = sinon.stub().returns(...)`","created_at":"2016-06-10T14:12:39Z","updated_at":"2016-06-10T14:12:39Z","html_url":"https://github.com/GannettDigital/presentation-front-storage-handler/pull/5#discussion_r66619345","pull_request_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/comments/66619345"},"html":{"href":"https://github.com/GannettDigital/presentation-front-storage-handler/pull/5#discussion_r66619345"},"pull_request":{"href":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/5","id":73240730,"html_url":"https://github.com/GannettDigital/presentation-front-storage-handler/pull/5","diff_url":"https://github.com/GannettDigital/presentation-front-storage-handler/pull/5.diff","patch_url":"https://github.com/GannettDigital/presentation-front-storage-handler/pull/5.patch","issue_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/issues/5","number":5,"state":"open","locked":false,"title":"GDCPS-1709: Adding more logic to PresentationFrontStorageBus and next events","user":{"login":"rkotangoor","id":1823744,"avatar_url":"https://avatars.githubusercontent.com/u/1823744?v=3","gravatar_id":"","url":"https://api.github.com/users/rkotangoor","html_url":"https://github.com/rkotangoor","followers_url":"https://api.github.com/users/rkotangoor/followers","following_url":"https://api.github.com/users/rkotangoor/following{/other_user}","gists_url":"https://api.github.com/users/rkotangoor/gists{/gist_id}","starred_url":"https://api.github.com/users/rkotangoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkotangoor/subscriptions","organizations_url":"https://api.github.com/users/rkotangoor/orgs","repos_url":"https://api.github.com/users/rkotangoor/repos","events_url":"https://api.github.com/users/rkotangoor/events{/privacy}","received_events_url":"https://api.github.com/users/rkotangoor/received_events","type":"User","site_admin":false},"body":"Updated presentationFrontStorageBus to go to transformFrontToBackfill as the next event , added front transform to get the backfillDoc key, add solr-adapter, added unit tests","created_at":"2016-06-09T16:00:47Z","updated_at":"2016-06-10T14:12:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"263f7d11db740eba532400b0a8019afafa50b9e7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/5/commits","review_comments_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/5/comments","review_comment_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/issues/5/comments","statuses_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/statuses/55d66b3e3000afe7c6dcba720e598ff166785e35","head":{"label":"GannettDigital:GDCPS-1709","ref":"GDCPS-1709","sha":"55d66b3e3000afe7c6dcba720e598ff166785e35","user":{"login":"GannettDigital","id":1149177,"avatar_url":"https://avatars.githubusercontent.com/u/1149177?v=3","gravatar_id":"","url":"https://api.github.com/users/GannettDigital","html_url":"https://github.com/GannettDigital","followers_url":"https://api.github.com/users/GannettDigital/followers","following_url":"https://api.github.com/users/GannettDigital/following{/other_user}","gists_url":"https://api.github.com/users/GannettDigital/gists{/gist_id}","starred_url":"https://api.github.com/users/GannettDigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GannettDigital/subscriptions","organizations_url":"https://api.github.com/users/GannettDigital/orgs","repos_url":"https://api.github.com/users/GannettDigital/repos","events_url":"https://api.github.com/users/GannettDigital/events{/privacy}","received_events_url":"https://api.github.com/users/GannettDigital/received_events","type":"Organization","site_admin":false},"repo":{"id":60575701,"name":"presentation-front-storage-handler","full_name":"GannettDigital/presentation-front-storage-handler","owner":{"login":"GannettDigital","id":1149177,"avatar_url":"https://avatars.githubusercontent.com/u/1149177?v=3","gravatar_id":"","url":"https://api.github.com/users/GannettDigital","html_url":"https://github.com/GannettDigital","followers_url":"https://api.github.com/users/GannettDigital/followers","following_url":"https://api.github.com/users/GannettDigital/following{/other_user}","gists_url":"https://api.github.com/users/GannettDigital/gists{/gist_id}","starred_url":"https://api.github.com/users/GannettDigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GannettDigital/subscriptions","organizations_url":"https://api.github.com/users/GannettDigital/orgs","repos_url":"https://api.github.com/users/GannettDigital/repos","events_url":"https://api.github.com/users/GannettDigital/events{/privacy}","received_events_url":"https://api.github.com/users/GannettDigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GannettDigital/presentation-front-storage-handler","description":"Application to store a published front in Couchbase","fork":false,"url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler","forks_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/forks","keys_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/teams","hooks_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/hooks","issue_events_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/issues/events{/number}","events_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/events","assignees_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/assignees{/user}","branches_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/branches{/branch}","tags_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/tags","blobs_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/git/refs{/sha}","trees_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/statuses/{sha}","languages_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/languages","stargazers_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/stargazers","contributors_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/contributors","subscribers_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/subscribers","subscription_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/subscription","commits_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/commits{/sha}","git_commits_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/git/commits{/sha}","comments_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/comments{/number}","issue_comment_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/issues/comments{/number}","contents_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/contents/{+path}","compare_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/merges","archive_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/downloads","issues_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/issues{/number}","pulls_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls{/number}","milestones_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/milestones{/number}","notifications_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/labels{/name}","releases_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/releases{/id}","deployments_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/deployments","created_at":"2016-06-07T02:29:45Z","updated_at":"2016-06-07T13:58:28Z","pushed_at":"2016-06-09T19:34:05Z","git_url":"git://github.com/GannettDigital/presentation-front-storage-handler.git","ssh_url":"git@github.com:GannettDigital/presentation-front-storage-handler.git","clone_url":"https://github.com/GannettDigital/presentation-front-storage-handler.git","svn_url":"https://github.com/GannettDigital/presentation-front-storage-handler","homepage":null,"size":62,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"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":"GannettDigital:master","ref":"master","sha":"dff5a27895a94911288e46d91665c92e1c671b32","user":{"login":"GannettDigital","id":1149177,"avatar_url":"https://avatars.githubusercontent.com/u/1149177?v=3","gravatar_id":"","url":"https://api.github.com/users/GannettDigital","html_url":"https://github.com/GannettDigital","followers_url":"https://api.github.com/users/GannettDigital/followers","following_url":"https://api.github.com/users/GannettDigital/following{/other_user}","gists_url":"https://api.github.com/users/GannettDigital/gists{/gist_id}","starred_url":"https://api.github.com/users/GannettDigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GannettDigital/subscriptions","organizations_url":"https://api.github.com/users/GannettDigital/orgs","repos_url":"https://api.github.com/users/GannettDigital/repos","events_url":"https://api.github.com/users/GannettDigital/events{/privacy}","received_events_url":"https://api.github.com/users/GannettDigital/received_events","type":"Organization","site_admin":false},"repo":{"id":60575701,"name":"presentation-front-storage-handler","full_name":"GannettDigital/presentation-front-storage-handler","owner":{"login":"GannettDigital","id":1149177,"avatar_url":"https://avatars.githubusercontent.com/u/1149177?v=3","gravatar_id":"","url":"https://api.github.com/users/GannettDigital","html_url":"https://github.com/GannettDigital","followers_url":"https://api.github.com/users/GannettDigital/followers","following_url":"https://api.github.com/users/GannettDigital/following{/other_user}","gists_url":"https://api.github.com/users/GannettDigital/gists{/gist_id}","starred_url":"https://api.github.com/users/GannettDigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GannettDigital/subscriptions","organizations_url":"https://api.github.com/users/GannettDigital/orgs","repos_url":"https://api.github.com/users/GannettDigital/repos","events_url":"https://api.github.com/users/GannettDigital/events{/privacy}","received_events_url":"https://api.github.com/users/GannettDigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GannettDigital/presentation-front-storage-handler","description":"Application to store a published front in Couchbase","fork":false,"url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler","forks_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/forks","keys_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/teams","hooks_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/hooks","issue_events_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/issues/events{/number}","events_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/events","assignees_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/assignees{/user}","branches_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/branches{/branch}","tags_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/tags","blobs_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/git/refs{/sha}","trees_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/statuses/{sha}","languages_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/languages","stargazers_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/stargazers","contributors_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/contributors","subscribers_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/subscribers","subscription_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/subscription","commits_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/commits{/sha}","git_commits_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/git/commits{/sha}","comments_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/comments{/number}","issue_comment_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/issues/comments{/number}","contents_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/contents/{+path}","compare_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/merges","archive_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/downloads","issues_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/issues{/number}","pulls_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls{/number}","milestones_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/milestones{/number}","notifications_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/labels{/name}","releases_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/releases{/id}","deployments_url":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/deployments","created_at":"2016-06-07T02:29:45Z","updated_at":"2016-06-07T13:58:28Z","pushed_at":"2016-06-09T19:34:05Z","git_url":"git://github.com/GannettDigital/presentation-front-storage-handler.git","ssh_url":"git@github.com:GannettDigital/presentation-front-storage-handler.git","clone_url":"https://github.com/GannettDigital/presentation-front-storage-handler.git","svn_url":"https://github.com/GannettDigital/presentation-front-storage-handler","homepage":null,"size":62,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/5"},"html":{"href":"https://github.com/GannettDigital/presentation-front-storage-handler/pull/5"},"issue":{"href":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/issues/5"},"comments":{"href":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/GannettDigital/presentation-front-storage-handler/statuses/55d66b3e3000afe7c6dcba720e598ff166785e35"}}}}
{"actor":{"display_login":"scottgunther"}}