{"action":"created","comment":{"url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/comments/206463310","pull_request_review_id":141878356,"id":206463310,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjQ2MzMxMA==","diff_hunk":"@@ -2,54 +2,116 @@\n \n import static org.junit.jupiter.api.Assertions.assertEquals;\n import static org.junit.jupiter.api.Assertions.assertNotNull;\n-import static org.mockito.ArgumentMatchers.any;\n+import static org.mockito.Mockito.doReturn;\n import static org.mockito.Mockito.when;\n-\n+import java.util.HashMap;\n+import java.util.Map;\n+import javax.servlet.http.HttpServletRequest;\n+import javax.servlet.http.HttpSession;\n import java.security.NoSuchAlgorithmException;\n import org.junit.jupiter.api.BeforeEach;\n import org.junit.jupiter.api.DisplayName;\n import org.junit.jupiter.api.Test;\n import org.junit.jupiter.api.TestInstance;\n import org.junit.jupiter.api.TestInstance.Lifecycle;\n import org.junit.jupiter.api.extension.ExtendWith;\n+import org.mockito.ArgumentMatchers;\n import org.mockito.InjectMocks;\n import org.mockito.Mock;\n+import org.mockito.MockitoAnnotations;\n import org.mockito.junit.jupiter.MockitoExtension;\n+import org.springframework.http.HttpStatus;\n+import org.springframework.http.ResponseEntity;\n+import org.springframework.web.context.request.RequestContextHolder;\n+import org.springframework.web.context.request.ServletRequestAttributes;\n+import uk.gov.companieshouse.api.accounts.LinkType;\n+import uk.gov.companieshouse.api.accounts.model.entity.CompanyAccountDataEntity;\n import uk.gov.companieshouse.api.accounts.model.entity.CompanyAccountEntity;\n import uk.gov.companieshouse.api.accounts.model.rest.CompanyAccount;\n import uk.gov.companieshouse.api.accounts.repository.CompanyAccountRepository;\n+import uk.gov.companieshouse.api.accounts.transaction.Transaction;\n+import uk.gov.companieshouse.api.accounts.transaction.TransactionManager;\n+import uk.gov.companieshouse.api.accounts.transaction.TransactionStatus;\n import uk.gov.companieshouse.api.accounts.transformer.CompanyAccountTransformer;\n \n @ExtendWith(MockitoExtension.class)\n @TestInstance(Lifecycle.PER_CLASS)\n public class CompanyAccountServiceImplTest {\n \n+    @InjectMocks\n+    private CompanyAccountServiceImpl companyAccountService;\n+\n+    @Mock\n+    private CompanyAccount companyAccountMock;\n+\n     @Mock\n-    private CompanyAccount companyAccount;\n+    private CompanyAccountEntity companyAccountEntityMock;\n \n     @Mock\n-    private CompanyAccountEntity createdCompanyAccountEntity;\n+    private CompanyAccountDataEntity companyAccountDataEntityMock;\n \n     @Mock\n     private CompanyAccountRepository companyAccountRepository;\n \n     @Mock\n     private CompanyAccountTransformer companyAccountTransformer;\n \n-    @InjectMocks\n-    private CompanyAccountServiceImpl companyAccountService;\n+    @Mock\n+    private TransactionManager transactionManagerMock;\n+\n+    @Mock\n+    private HttpServletRequest httpServletRequest;\n+\n+    @Mock\n+    private HttpSession httpSessionMock;\n \n     @BeforeEach\n-    public void setUp() {\n-        when(companyAccountTransformer.transform(companyAccount)).thenReturn(createdCompanyAccountEntity);\n+    void setUp() {\n+        RequestContextHolder.setRequestAttributes(new ServletRequestAttributes(httpServletRequest));\n+\n+        when(httpServletRequest.getSession()).thenReturn(httpSessionMock);\n+        when(httpSessionMock.getAttribute(\"transaction\")).thenReturn(createDummyTransaction(true));\n+        when(httpServletRequest.getHeader(\"X-Request-Id\")).thenReturn(\"test\");\n+        when(companyAccountDataEntityMock.getLinks()).thenReturn(createLinksMap());\n     }\n \n     @Test\n-    @DisplayName(\"Tests the successful creation of an companyAccount resource\")\n-    public void canCreateAccount() throws NoSuchAlgorithmException {\n-        CompanyAccount result = companyAccountService.save(companyAccount, \"\");\n+    @DisplayName(\"Tests the successful creation of an company account resource\")\n+    void canCreateAccount() {\n+        doReturn(companyAccountEntityMock).when(companyAccountTransformer).transform(ArgumentMatchers\n+                .any(CompanyAccount.class));\n+\n+        when(companyAccountEntityMock.getData()).thenReturn(companyAccountDataEntityMock);\n+\n+        CompanyAccount result = companyAccountService.createCompanyAccount(companyAccountMock);\n+  \n         assertNotNull(result);\n-        assertEquals(companyAccount, result);\n+        assertEquals(companyAccountMock, result);","path":"src/test/java/uk/gov/companieshouse/api/accounts/service/impl/CompanyAccountServiceImplTest.java","position":95,"original_position":100,"commit_id":"c86d07c8ee3eedc01621cdfacbad108541c5ea38","original_commit_id":"84cf875e89314405dc62d67ea18ed659b1e62044","user":{"login":"cburns93","id":29541485,"node_id":"MDQ6VXNlcjI5NTQxNDg1","avatar_url":"https://avatars2.githubusercontent.com/u/29541485?v=4","gravatar_id":"","url":"https://api.github.com/users/cburns93","html_url":"https://github.com/cburns93","followers_url":"https://api.github.com/users/cburns93/followers","following_url":"https://api.github.com/users/cburns93/following{/other_user}","gists_url":"https://api.github.com/users/cburns93/gists{/gist_id}","starred_url":"https://api.github.com/users/cburns93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburns93/subscriptions","organizations_url":"https://api.github.com/users/cburns93/orgs","repos_url":"https://api.github.com/users/cburns93/repos","events_url":"https://api.github.com/users/cburns93/events{/privacy}","received_events_url":"https://api.github.com/users/cburns93/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-07-31T09:48:55Z","updated_at":"2018-07-31T09:48:55Z","html_url":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk/pull/18#discussion_r206463310","pull_request_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/18","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/comments/206463310"},"html":{"href":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk/pull/18#discussion_r206463310"},"pull_request":{"href":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/18"}},"in_reply_to_id":206398132},"pull_request":{"url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/18","id":204114914,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MTE0OTE0","html_url":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk/pull/18","diff_url":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk/pull/18.diff","patch_url":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk/pull/18.patch","issue_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/issues/18","number":18,"state":"open","locked":false,"title":"Connecting accounts to transaction resource links","user":{"login":"cburns93","id":29541485,"node_id":"MDQ6VXNlcjI5NTQxNDg1","avatar_url":"https://avatars2.githubusercontent.com/u/29541485?v=4","gravatar_id":"","url":"https://api.github.com/users/cburns93","html_url":"https://github.com/cburns93","followers_url":"https://api.github.com/users/cburns93/followers","following_url":"https://api.github.com/users/cburns93/following{/other_user}","gists_url":"https://api.github.com/users/cburns93/gists{/gist_id}","starred_url":"https://api.github.com/users/cburns93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cburns93/subscriptions","organizations_url":"https://api.github.com/users/cburns93/orgs","repos_url":"https://api.github.com/users/cburns93/repos","events_url":"https://api.github.com/users/cburns93/events{/privacy}","received_events_url":"https://api.github.com/users/cburns93/received_events","type":"User","site_admin":false},"body":"- adds new company-account resource to the transaction resource links\r\n- adds new functionality to deal with the patching of the transaction using api key\r\n- adds `routes.yml` for path based routing\r\n- amended company accounts service layer implementation to deal with the patching of the transaction\r\n- minor refactor of other classes and interfaces (includes removing redundant code)\r\n- adds and amends unit tests to cover new and amended functionality\r\n\r\n**NOTE:** The transaction patching implementation will be taken out and put into the private sdk, so it is worth noting that the currently implementation is only temporary.\r\n\r\nResolves: SFA-465","created_at":"2018-07-26T11:42:31Z","updated_at":"2018-07-31T09:48:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a20485b450d37e97de4dc207223ea7cfab350451","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":977231343,"node_id":"MDU6TGFiZWw5NzcyMzEzNDM=","url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/labels/New","name":"New","color":"FF9900","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/18/commits","review_comments_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/18/comments","review_comment_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/issues/18/comments","statuses_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/statuses/c86d07c8ee3eedc01621cdfacbad108541c5ea38","head":{"label":"companieshouse:feature/link-company-accounts-to-transaction","ref":"feature/link-company-accounts-to-transaction","sha":"c86d07c8ee3eedc01621cdfacbad108541c5ea38","user":{"login":"companieshouse","id":4947323,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5NDczMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/4947323?v=4","gravatar_id":"","url":"https://api.github.com/users/companieshouse","html_url":"https://github.com/companieshouse","followers_url":"https://api.github.com/users/companieshouse/followers","following_url":"https://api.github.com/users/companieshouse/following{/other_user}","gists_url":"https://api.github.com/users/companieshouse/gists{/gist_id}","starred_url":"https://api.github.com/users/companieshouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/companieshouse/subscriptions","organizations_url":"https://api.github.com/users/companieshouse/orgs","repos_url":"https://api.github.com/users/companieshouse/repos","events_url":"https://api.github.com/users/companieshouse/events{/privacy}","received_events_url":"https://api.github.com/users/companieshouse/received_events","type":"Organization","site_admin":false},"repo":{"id":137176372,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxNzYzNzI=","name":"company-accounts.api.ch.gov.uk","full_name":"companieshouse/company-accounts.api.ch.gov.uk","owner":{"login":"companieshouse","id":4947323,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5NDczMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/4947323?v=4","gravatar_id":"","url":"https://api.github.com/users/companieshouse","html_url":"https://github.com/companieshouse","followers_url":"https://api.github.com/users/companieshouse/followers","following_url":"https://api.github.com/users/companieshouse/following{/other_user}","gists_url":"https://api.github.com/users/companieshouse/gists{/gist_id}","starred_url":"https://api.github.com/users/companieshouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/companieshouse/subscriptions","organizations_url":"https://api.github.com/users/companieshouse/orgs","repos_url":"https://api.github.com/users/companieshouse/repos","events_url":"https://api.github.com/users/companieshouse/events{/privacy}","received_events_url":"https://api.github.com/users/companieshouse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk","description":"The Companies House API for handling company accounts","fork":false,"url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk","forks_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/forks","keys_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/teams","hooks_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/hooks","issue_events_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/issues/events{/number}","events_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/events","assignees_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/assignees{/user}","branches_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/branches{/branch}","tags_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/tags","blobs_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/git/refs{/sha}","trees_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/statuses/{sha}","languages_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/languages","stargazers_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/stargazers","contributors_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/contributors","subscribers_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/subscribers","subscription_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/subscription","commits_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/commits{/sha}","git_commits_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/git/commits{/sha}","comments_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/comments{/number}","issue_comment_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/issues/comments{/number}","contents_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/contents/{+path}","compare_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/merges","archive_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/downloads","issues_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/issues{/number}","pulls_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls{/number}","milestones_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/milestones{/number}","notifications_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/labels{/name}","releases_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/releases{/id}","deployments_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/deployments","created_at":"2018-06-13T07:06:55Z","updated_at":"2018-07-30T09:39:19Z","pushed_at":"2018-07-31T09:48:45Z","git_url":"git://github.com/companieshouse/company-accounts.api.ch.gov.uk.git","ssh_url":"git@github.com:companieshouse/company-accounts.api.ch.gov.uk.git","clone_url":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk.git","svn_url":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk","homepage":null,"size":247,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":5,"watchers":0,"default_branch":"develop"}},"base":{"label":"companieshouse:develop","ref":"develop","sha":"25bd772216717a12ff9b8efcced6207bef9b260a","user":{"login":"companieshouse","id":4947323,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5NDczMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/4947323?v=4","gravatar_id":"","url":"https://api.github.com/users/companieshouse","html_url":"https://github.com/companieshouse","followers_url":"https://api.github.com/users/companieshouse/followers","following_url":"https://api.github.com/users/companieshouse/following{/other_user}","gists_url":"https://api.github.com/users/companieshouse/gists{/gist_id}","starred_url":"https://api.github.com/users/companieshouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/companieshouse/subscriptions","organizations_url":"https://api.github.com/users/companieshouse/orgs","repos_url":"https://api.github.com/users/companieshouse/repos","events_url":"https://api.github.com/users/companieshouse/events{/privacy}","received_events_url":"https://api.github.com/users/companieshouse/received_events","type":"Organization","site_admin":false},"repo":{"id":137176372,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxNzYzNzI=","name":"company-accounts.api.ch.gov.uk","full_name":"companieshouse/company-accounts.api.ch.gov.uk","owner":{"login":"companieshouse","id":4947323,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5NDczMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/4947323?v=4","gravatar_id":"","url":"https://api.github.com/users/companieshouse","html_url":"https://github.com/companieshouse","followers_url":"https://api.github.com/users/companieshouse/followers","following_url":"https://api.github.com/users/companieshouse/following{/other_user}","gists_url":"https://api.github.com/users/companieshouse/gists{/gist_id}","starred_url":"https://api.github.com/users/companieshouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/companieshouse/subscriptions","organizations_url":"https://api.github.com/users/companieshouse/orgs","repos_url":"https://api.github.com/users/companieshouse/repos","events_url":"https://api.github.com/users/companieshouse/events{/privacy}","received_events_url":"https://api.github.com/users/companieshouse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk","description":"The Companies House API for handling company accounts","fork":false,"url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk","forks_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/forks","keys_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/teams","hooks_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/hooks","issue_events_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/issues/events{/number}","events_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/events","assignees_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/assignees{/user}","branches_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/branches{/branch}","tags_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/tags","blobs_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/git/refs{/sha}","trees_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/statuses/{sha}","languages_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/languages","stargazers_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/stargazers","contributors_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/contributors","subscribers_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/subscribers","subscription_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/subscription","commits_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/commits{/sha}","git_commits_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/git/commits{/sha}","comments_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/comments{/number}","issue_comment_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/issues/comments{/number}","contents_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/contents/{+path}","compare_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/merges","archive_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/downloads","issues_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/issues{/number}","pulls_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls{/number}","milestones_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/milestones{/number}","notifications_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/labels{/name}","releases_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/releases{/id}","deployments_url":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/deployments","created_at":"2018-06-13T07:06:55Z","updated_at":"2018-07-30T09:39:19Z","pushed_at":"2018-07-31T09:48:45Z","git_url":"git://github.com/companieshouse/company-accounts.api.ch.gov.uk.git","ssh_url":"git@github.com:companieshouse/company-accounts.api.ch.gov.uk.git","clone_url":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk.git","svn_url":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk","homepage":null,"size":247,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":5,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/18"},"html":{"href":"https://github.com/companieshouse/company-accounts.api.ch.gov.uk/pull/18"},"issue":{"href":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/issues/18"},"comments":{"href":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/companieshouse/company-accounts.api.ch.gov.uk/statuses/c86d07c8ee3eedc01621cdfacbad108541c5ea38"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"cburns93"}}