{"action":"created","comment":{"url":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/comments/213657022","pull_request_review_id":150537085,"id":213657022,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzY1NzAyMg==","diff_hunk":"@@ -0,0 +1,99 @@\n+package uk.gov.ons.ctp.response.casesvc.client;\n+\n+import com.godaddy.logging.Logger;\n+import com.godaddy.logging.LoggerFactory;\n+import java.util.List;\n+import java.util.UUID;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.beans.factory.annotation.Qualifier;\n+import org.springframework.core.ParameterizedTypeReference;\n+import org.springframework.http.HttpEntity;\n+import org.springframework.http.HttpMethod;\n+import org.springframework.http.ResponseEntity;\n+import org.springframework.stereotype.Service;\n+import org.springframework.util.LinkedMultiValueMap;\n+import org.springframework.util.MultiValueMap;\n+import org.springframework.web.client.HttpClientErrorException;\n+import org.springframework.web.client.RestTemplate;\n+import org.springframework.web.util.UriComponents;\n+import uk.gov.ons.ctp.common.rest.RestUtility;\n+import uk.gov.ons.ctp.response.action.representation.ActionDTO;\n+import uk.gov.ons.ctp.response.action.representation.ActionPlanDTO;\n+import uk.gov.ons.ctp.response.casesvc.config.AppConfig;\n+\n+/** The impl of the service which calls the action service via REST */\n+@Service\n+public class ActionSvcClient {\n+  private static final Logger log = LoggerFactory.getLogger(ActionSvcClient.class);\n+\n+  @Autowired private AppConfig appConfig;\n+\n+  @Autowired private RestTemplate restTemplate;\n+\n+  @Qualifier(\"actionServiceRestUtility\")\n+  @Autowired\n+  private RestUtility restUtility;\n+\n+  /**\n+   * Make use of the ActionService to create and post a new Action for a given caseId according to\n+   * Category actionType and CaseEvent createdBy values\n+   *\n+   * @param actionType action type\n+   * @param caseId the UUID caseId\n+   * @param createdBy who did this\n+   */\n+  public void createAndPostAction(String actionType, UUID caseId, String createdBy) {\n+    ActionDTO actionDTO = new ActionDTO();\n+    actionDTO.setCaseId(caseId);\n+    actionDTO.setActionTypeName(actionType);\n+    actionDTO.setCreatedBy(createdBy);\n+    HttpEntity<ActionDTO> httpEntity = restUtility.createHttpEntity(actionDTO);\n+\n+    UriComponents uriComponents =\n+        restUtility.createUriComponents(appConfig.getActionSvc().getActionsPath(), null);\n+\n+    log.debug(\"about to post to the Action SVC with {}\", actionDTO);\n+    restTemplate.exchange(uriComponents.toUri(), HttpMethod.POST, httpEntity, ActionDTO.class);\n+  }\n+\n+  /**\n+   * Get actionplans from action service using action plan selectors\n+   *\n+   * @param collectionExerciseId Id of collection exercise to get action plans for\n+   * @param activeEnrolments selector to determine if actionplan for active enrolments(email) or\n+   *     not(letters)\n+   * @return List of action plans matching selectors\n+   */\n+  public List<ActionPlanDTO> getActionPlans(UUID collectionExerciseId, boolean activeEnrolments) {\n+    log.debug(\n+        \"Retrieving action plan for selectors, \" + \"collectionExerciseId: {}, activeEnrolment: {}\",\n+        collectionExerciseId,\n+        activeEnrolments);\n+\n+    MultiValueMap<String, String> queryParams = new LinkedMultiValueMap<>();\n+    queryParams.add(\"collectionExerciseId\", collectionExerciseId.toString());\n+    queryParams.add(\"activeEnrolment\", Boolean.toString(activeEnrolments));\n+    UriComponents uriComponents =\n+        restUtility.createUriComponents(appConfig.getActionSvc().getActionPlansPath(), queryParams);\n+\n+    ResponseEntity<List<ActionPlanDTO>> responseEntity;\n+    HttpEntity<?> httpEntity = restUtility.createHttpEntityWithAuthHeader();\n+    try {\n+      responseEntity =\n+          restTemplate.exchange(\n+              uriComponents.toString(),\n+              HttpMethod.GET,\n+              httpEntity,\n+              new ParameterizedTypeReference<List<ActionPlanDTO>>() {});\n+    } catch (HttpClientErrorException e) {","path":"src/main/java/uk/gov/ons/ctp/response/casesvc/client/ActionSvcClient.java","position":88,"original_position":88,"commit_id":"8ee18d0dd4c2a209058ff69882f2584888d57043","original_commit_id":"deb0340d0c79036ba851ac31290d54cd8ffef288","user":{"login":"gemmai95","id":10745032,"node_id":"MDQ6VXNlcjEwNzQ1MDMy","avatar_url":"https://avatars0.githubusercontent.com/u/10745032?v=4","gravatar_id":"","url":"https://api.github.com/users/gemmai95","html_url":"https://github.com/gemmai95","followers_url":"https://api.github.com/users/gemmai95/followers","following_url":"https://api.github.com/users/gemmai95/following{/other_user}","gists_url":"https://api.github.com/users/gemmai95/gists{/gist_id}","starred_url":"https://api.github.com/users/gemmai95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemmai95/subscriptions","organizations_url":"https://api.github.com/users/gemmai95/orgs","repos_url":"https://api.github.com/users/gemmai95/repos","events_url":"https://api.github.com/users/gemmai95/events{/privacy}","received_events_url":"https://api.github.com/users/gemmai95/received_events","type":"User","site_admin":false},"body":"I thought action returns 204 if it can't find an action plan?","created_at":"2018-08-29T12:34:04Z","updated_at":"2018-08-29T12:34:04Z","html_url":"https://github.com/ONSdigital/rm-case-service/pull/70#discussion_r213657022","pull_request_url":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/70","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/comments/213657022"},"html":{"href":"https://github.com/ONSdigital/rm-case-service/pull/70#discussion_r213657022"},"pull_request":{"href":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/70"}},"in_reply_to_id":213610816},"pull_request":{"url":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/70","id":209492447,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NDkyNDQ3","html_url":"https://github.com/ONSdigital/rm-case-service/pull/70","diff_url":"https://github.com/ONSdigital/rm-case-service/pull/70.diff","patch_url":"https://github.com/ONSdigital/rm-case-service/pull/70.patch","issue_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/70","number":70,"state":"open","locked":false,"title":"Remove bi/update case events","user":{"login":"gemmai95","id":10745032,"node_id":"MDQ6VXNlcjEwNzQ1MDMy","avatar_url":"https://avatars0.githubusercontent.com/u/10745032?v=4","gravatar_id":"","url":"https://api.github.com/users/gemmai95","html_url":"https://github.com/gemmai95","followers_url":"https://api.github.com/users/gemmai95/followers","following_url":"https://api.github.com/users/gemmai95/following{/other_user}","gists_url":"https://api.github.com/users/gemmai95/gists{/gist_id}","starred_url":"https://api.github.com/users/gemmai95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemmai95/subscriptions","organizations_url":"https://api.github.com/users/gemmai95/orgs","repos_url":"https://api.github.com/users/gemmai95/repos","events_url":"https://api.github.com/users/gemmai95/events{/privacy}","received_events_url":"https://api.github.com/users/gemmai95/received_events","type":"User","site_admin":false},"body":"# Motivation and Context\r\n<!--- Why is this change required? What problem does it solve? -->\r\nThis change is necessary for case events to handle B cases properly once BI cases are removed.\r\n\r\n# What has changed\r\n<!--- What code changes has been made -->\r\nAdd ability to get action plans from action service using action plan selectors. Update events respondent enrolled and no active enrolments to change case's action plan id and communicate change to action service.\r\n<!--- Has there been any refactoring -->\r\nRemoved code specific to BI cases.\r\n<!--- What tests have been written -->\r\n\r\n# How to test?\r\n<!--- Describe in detail how you tested your changes. -->\r\nTested with changes in casesvc-api and party service with acceptance tests.\r\n<!--- Include details of your testing environment, and the tests you ran to see how your change affects other areas of the code, etc. -->\r\n<!--- Are there any automated tests that mean changes don't need to be manually changed -->\r\n\r\n# Links\r\n<!--- Add any links to issues (trello, github issues) -->\r\nTrello: \r\nhttps://trello.com/c/V8twXPlu\r\n<!--- Links to any documentation -->\r\n<!--- Links to any related PRs -->\r\nPRs:\r\nhttps://github.com/ONSdigital/rm-casesvc-api/pull/27\r\nhttps://github.com/ONSdigital/ras-frontstage/pull/377\r\nhttps://github.com/ONSdigital/ras-party/pull/153\r\nhttps://github.com/ONSdigital/rasrm-acceptance-tests/pull/165\r\n","created_at":"2018-08-20T11:34:54Z","updated_at":"2018-08-29T12:34:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"31f2075cdf4bb1d9fb61c1a5c2645d6931bb720a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":982677598,"node_id":"MDU6TGFiZWw5ODI2Nzc1OTg=","url":"https://api.github.com/repos/ONSdigital/rm-case-service/labels/DO%20NOT%20MERGE","name":"DO NOT MERGE","color":"ef1c04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/70/commits","review_comments_url":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/70/comments","review_comment_url":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/70/comments","statuses_url":"https://api.github.com/repos/ONSdigital/rm-case-service/statuses/8ee18d0dd4c2a209058ff69882f2584888d57043","head":{"label":"ONSdigital:remove-bi/update-case-events","ref":"remove-bi/update-case-events","sha":"8ee18d0dd4c2a209058ff69882f2584888d57043","user":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":91565529,"node_id":"MDEwOlJlcG9zaXRvcnk5MTU2NTUyOQ==","name":"rm-case-service","full_name":"ONSdigital/rm-case-service","owner":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/rm-case-service","description":"This microservice manages cases.","fork":false,"url":"https://api.github.com/repos/ONSdigital/rm-case-service","forks_url":"https://api.github.com/repos/ONSdigital/rm-case-service/forks","keys_url":"https://api.github.com/repos/ONSdigital/rm-case-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/rm-case-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/rm-case-service/teams","hooks_url":"https://api.github.com/repos/ONSdigital/rm-case-service/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/rm-case-service/events","assignees_url":"https://api.github.com/repos/ONSdigital/rm-case-service/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/rm-case-service/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/rm-case-service/tags","blobs_url":"https://api.github.com/repos/ONSdigital/rm-case-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/rm-case-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/rm-case-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/rm-case-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/rm-case-service/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/rm-case-service/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/rm-case-service/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/rm-case-service/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/rm-case-service/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/rm-case-service/subscription","commits_url":"https://api.github.com/repos/ONSdigital/rm-case-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/rm-case-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/rm-case-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/rm-case-service/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/rm-case-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/rm-case-service/merges","archive_url":"https://api.github.com/repos/ONSdigital/rm-case-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/rm-case-service/downloads","issues_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/rm-case-service/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/rm-case-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/rm-case-service/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/rm-case-service/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/rm-case-service/deployments","created_at":"2017-05-17T10:45:21Z","updated_at":"2018-08-24T08:00:03Z","pushed_at":"2018-08-29T11:07:01Z","git_url":"git://github.com/ONSdigital/rm-case-service.git","ssh_url":"git@github.com:ONSdigital/rm-case-service.git","clone_url":"https://github.com/ONSdigital/rm-case-service.git","svn_url":"https://github.com/ONSdigital/rm-case-service","homepage":"","size":36638,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"ONSdigital:master","ref":"master","sha":"fc37c6a85adad3a9d520c71a9ae3ccd558bd8259","user":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":91565529,"node_id":"MDEwOlJlcG9zaXRvcnk5MTU2NTUyOQ==","name":"rm-case-service","full_name":"ONSdigital/rm-case-service","owner":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ONSdigital/rm-case-service","description":"This microservice manages cases.","fork":false,"url":"https://api.github.com/repos/ONSdigital/rm-case-service","forks_url":"https://api.github.com/repos/ONSdigital/rm-case-service/forks","keys_url":"https://api.github.com/repos/ONSdigital/rm-case-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/rm-case-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/rm-case-service/teams","hooks_url":"https://api.github.com/repos/ONSdigital/rm-case-service/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/rm-case-service/events","assignees_url":"https://api.github.com/repos/ONSdigital/rm-case-service/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/rm-case-service/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/rm-case-service/tags","blobs_url":"https://api.github.com/repos/ONSdigital/rm-case-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/rm-case-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/rm-case-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/rm-case-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/rm-case-service/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/rm-case-service/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/rm-case-service/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/rm-case-service/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/rm-case-service/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/rm-case-service/subscription","commits_url":"https://api.github.com/repos/ONSdigital/rm-case-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/rm-case-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/rm-case-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/rm-case-service/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/rm-case-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/rm-case-service/merges","archive_url":"https://api.github.com/repos/ONSdigital/rm-case-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/rm-case-service/downloads","issues_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/rm-case-service/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/rm-case-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/rm-case-service/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/rm-case-service/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/rm-case-service/deployments","created_at":"2017-05-17T10:45:21Z","updated_at":"2018-08-24T08:00:03Z","pushed_at":"2018-08-29T11:07:01Z","git_url":"git://github.com/ONSdigital/rm-case-service.git","ssh_url":"git@github.com:ONSdigital/rm-case-service.git","clone_url":"https://github.com/ONSdigital/rm-case-service.git","svn_url":"https://github.com/ONSdigital/rm-case-service","homepage":"","size":36638,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/70"},"html":{"href":"https://github.com/ONSdigital/rm-case-service/pull/70"},"issue":{"href":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/70"},"comments":{"href":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/ONSdigital/rm-case-service/statuses/8ee18d0dd4c2a209058ff69882f2584888d57043"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gemmai95"}}