{"action":"created","comment":{"url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/comments/226395696","pull_request_review_id":166208979,"id":226395696,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjM5NTY5Ng==","diff_hunk":"@@ -0,0 +1,59 @@\n+package uk.gov.companieshouse.web.accounts.service.smallfull.impl;\n+\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.stereotype.Service;\n+import org.springframework.web.util.UriTemplate;\n+import uk.gov.companieshouse.api.ApiClient;\n+import uk.gov.companieshouse.api.error.ApiErrorResponseException;\n+import uk.gov.companieshouse.api.handler.exception.URIValidationException;\n+import uk.gov.companieshouse.api.model.accounts.smallfull.SmallFullApi;\n+import uk.gov.companieshouse.web.accounts.api.ApiClientService;\n+import uk.gov.companieshouse.web.accounts.exception.ServiceException;\n+import uk.gov.companieshouse.web.accounts.service.smallfull.SmallFullService;\n+\n+@Service\n+public class SmallFullServiceImpl implements SmallFullService {\n+\n+    @Autowired\n+    ApiClientService apiClientService;","path":"src/main/java/uk/gov/companieshouse/web/accounts/service/smallfull/impl/SmallFullServiceImpl.java","position":18,"original_position":18,"commit_id":"35c82935d40e8c6f44badc79c71cf7f7d003e9f0","original_commit_id":"35c82935d40e8c6f44badc79c71cf7f7d003e9f0","user":{"login":"ChrisJBurns","id":29541485,"node_id":"MDQ6VXNlcjI5NTQxNDg1","avatar_url":"https://avatars2.githubusercontent.com/u/29541485?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisJBurns","html_url":"https://github.com/ChrisJBurns","followers_url":"https://api.github.com/users/ChrisJBurns/followers","following_url":"https://api.github.com/users/ChrisJBurns/following{/other_user}","gists_url":"https://api.github.com/users/ChrisJBurns/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisJBurns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisJBurns/subscriptions","organizations_url":"https://api.github.com/users/ChrisJBurns/orgs","repos_url":"https://api.github.com/users/ChrisJBurns/repos","events_url":"https://api.github.com/users/ChrisJBurns/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisJBurns/received_events","type":"User","site_admin":false},"body":"access modifier?","created_at":"2018-10-18T17:26:28Z","updated_at":"2018-10-18T17:30:12Z","html_url":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk/pull/95#discussion_r226395696","pull_request_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/95","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/comments/226395696"},"html":{"href":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk/pull/95#discussion_r226395696"},"pull_request":{"href":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/95"}}},"pull_request":{"url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/95","id":224033721,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MDMzNzIx","html_url":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk/pull/95","diff_url":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk/pull/95.diff","patch_url":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk/pull/95.patch","issue_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/issues/95","number":95,"state":"open","locked":false,"title":"Introduce SmallFullService to delegate ownership of the small full resource","user":{"login":"BSaunders95","id":36846987,"node_id":"MDQ6VXNlcjM2ODQ2OTg3","avatar_url":"https://avatars2.githubusercontent.com/u/36846987?v=4","gravatar_id":"","url":"https://api.github.com/users/BSaunders95","html_url":"https://github.com/BSaunders95","followers_url":"https://api.github.com/users/BSaunders95/followers","following_url":"https://api.github.com/users/BSaunders95/following{/other_user}","gists_url":"https://api.github.com/users/BSaunders95/gists{/gist_id}","starred_url":"https://api.github.com/users/BSaunders95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BSaunders95/subscriptions","organizations_url":"https://api.github.com/users/BSaunders95/orgs","repos_url":"https://api.github.com/users/BSaunders95/repos","events_url":"https://api.github.com/users/BSaunders95/events{/privacy}","received_events_url":"https://api.github.com/users/BSaunders95/received_events","type":"User","site_admin":false},"body":"Introduce SmallFullService to delegate ownership of the small full resource.\r\nThe small full resource will be fetched on each child resource submission to determine whether the child resource exists.\r\nThis logic will be used to either execute a POST or PUT on the child resource.\r\n\r\nRequired for SFA-51","created_at":"2018-10-18T17:14:50Z","updated_at":"2018-10-18T17:30:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"600cec19a4b7a66277d4dd8f3441e794d62867a3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/95/commits","review_comments_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/95/comments","review_comment_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/issues/95/comments","statuses_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/statuses/35c82935d40e8c6f44badc79c71cf7f7d003e9f0","head":{"label":"companieshouse:feature/small-full-service","ref":"feature/small-full-service","sha":"35c82935d40e8c6f44badc79c71cf7f7d003e9f0","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":137176488,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxNzY0ODg=","name":"company-accounts.web.ch.gov.uk","full_name":"companieshouse/company-accounts.web.ch.gov.uk","private":false,"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},"html_url":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk","description":"The Companies House web application for handling company accounts","fork":false,"url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk","forks_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/forks","keys_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/teams","hooks_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/hooks","issue_events_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/issues/events{/number}","events_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/events","assignees_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/assignees{/user}","branches_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/branches{/branch}","tags_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/tags","blobs_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/git/refs{/sha}","trees_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/statuses/{sha}","languages_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/languages","stargazers_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/stargazers","contributors_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/contributors","subscribers_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/subscribers","subscription_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/subscription","commits_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/commits{/sha}","git_commits_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/git/commits{/sha}","comments_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/comments{/number}","issue_comment_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/issues/comments{/number}","contents_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/contents/{+path}","compare_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/merges","archive_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/downloads","issues_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/issues{/number}","pulls_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls{/number}","milestones_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/milestones{/number}","notifications_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/labels{/name}","releases_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/releases{/id}","deployments_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/deployments","created_at":"2018-06-13T07:07:53Z","updated_at":"2018-10-17T12:10:13Z","pushed_at":"2018-10-18T17:14:50Z","git_url":"git://github.com/companieshouse/company-accounts.web.ch.gov.uk.git","ssh_url":"git@github.com:companieshouse/company-accounts.web.ch.gov.uk.git","clone_url":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk.git","svn_url":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk","homepage":null,"size":658,"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":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"companieshouse:develop","ref":"develop","sha":"6314754e55c6837985de83d3c8fd6377048dae97","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":137176488,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxNzY0ODg=","name":"company-accounts.web.ch.gov.uk","full_name":"companieshouse/company-accounts.web.ch.gov.uk","private":false,"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},"html_url":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk","description":"The Companies House web application for handling company accounts","fork":false,"url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk","forks_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/forks","keys_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/teams","hooks_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/hooks","issue_events_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/issues/events{/number}","events_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/events","assignees_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/assignees{/user}","branches_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/branches{/branch}","tags_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/tags","blobs_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/git/refs{/sha}","trees_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/statuses/{sha}","languages_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/languages","stargazers_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/stargazers","contributors_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/contributors","subscribers_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/subscribers","subscription_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/subscription","commits_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/commits{/sha}","git_commits_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/git/commits{/sha}","comments_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/comments{/number}","issue_comment_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/issues/comments{/number}","contents_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/contents/{+path}","compare_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/merges","archive_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/downloads","issues_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/issues{/number}","pulls_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls{/number}","milestones_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/milestones{/number}","notifications_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/labels{/name}","releases_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/releases{/id}","deployments_url":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/deployments","created_at":"2018-06-13T07:07:53Z","updated_at":"2018-10-17T12:10:13Z","pushed_at":"2018-10-18T17:14:50Z","git_url":"git://github.com/companieshouse/company-accounts.web.ch.gov.uk.git","ssh_url":"git@github.com:companieshouse/company-accounts.web.ch.gov.uk.git","clone_url":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk.git","svn_url":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk","homepage":null,"size":658,"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":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/95"},"html":{"href":"https://github.com/companieshouse/company-accounts.web.ch.gov.uk/pull/95"},"issue":{"href":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/issues/95"},"comments":{"href":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/issues/95/comments"},"review_comments":{"href":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/95/comments"},"review_comment":{"href":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/pulls/95/commits"},"statuses":{"href":"https://api.github.com/repos/companieshouse/company-accounts.web.ch.gov.uk/statuses/35c82935d40e8c6f44badc79c71cf7f7d003e9f0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ChrisJBurns"}}