{"action":"created","comment":{"url":"https://api.github.com/repos/hmcts/snl-events/pulls/comments/196359181","pull_request_review_id":129885020,"id":196359181,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjM1OTE4MQ==","diff_hunk":"@@ -127,33 +139,117 @@ public Session save(Session session) {\n         return sessionRepository.save(session);\n     }\n \n-    public Session save(CreateSession createSession) {\n+    public Session save(UpsertSession upsertSession) {\n         Session session = new Session();\n-        session.setId(createSession.getId());\n-        session.setDuration(createSession.getDuration());\n-        session.setStart(createSession.getStart());\n-        session.setCaseType(createSession.getCaseType());\n+        session.setId(upsertSession.getId());\n+        session.setDuration(upsertSession.getDuration());\n+        session.setStart(upsertSession.getStart());\n+        session.setCaseType(upsertSession.getCaseType());\n \n-        if (createSession.getRoomId() != null) {\n-            Room room = roomRepository.findOne(createSession.getRoomId());\n+        if (upsertSession.getRoomId() != null) {\n+            Room room = roomRepository.findOne(upsertSession.getRoomId());\n             session.setRoom(room);\n         }\n \n-        if (createSession.getPersonId() != null) {\n-            Person person = personRepository.findOne(createSession.getPersonId());\n+        if (upsertSession.getPersonId() != null) {\n+            Person person = personRepository.findOne(upsertSession.getPersonId());\n             session.setPerson(person);\n         }\n \n         return this.save(session);\n     }\n \n     @Transactional\n-    public UserTransaction saveWithTransaction(CreateSession createSession) {\n-        Session session = save(createSession);\n+    public UserTransaction saveWithTransaction(UpsertSession upsertSession) {\n+        Session session = save(upsertSession);\n+\n+        List<UserTransactionData> userTransactionDataList = new ArrayList<>();\n+        userTransactionDataList.add(new UserTransactionData(\n+            \"session\",\n+            session.getId(),\n+            null,\n+            \"insert\",\n+            \"delete\",\n+            0)\n+        );\n+\n+        return userTransactionService.startTransaction(upsertSession.getUserTransactionId(), userTransactionDataList);\n+    }\n+\n+    public UserTransaction updateSession(UpsertSession upsertSession) throws IOException {\n+\n+        Session session = getSessionById(upsertSession.getId());\n+\n+        List<HearingPart> hearingParts = hearingPartRepository.findBySessionIn(Arrays.asList(session));\n+\n+        return areTransactionsInProgress(session, hearingParts)\n+            ? userTransactionService.transactionConflicted(upsertSession.getUserTransactionId())\n+            : updateWithTransaction(session, upsertSession, hearingParts);\n+    }\n+\n+    private boolean areTransactionsInProgress(Session session, List<HearingPart> hearingParts) {\n+        List<UUID> entityIds = hearingParts.stream().map(HearingPart::getId).collect(Collectors.toList());\n+        entityIds.add(session.getId());\n+\n+        return userTransactionService.isAnyBeingTransacted(entityIds.stream().toArray(UUID[]::new));\n+    }\n+\n+    @Transactional\n+    public UserTransaction updateWithTransaction(Session session,\n+                                                 UpsertSession upsertSession,\n+                                                 List<HearingPart> hearingParts) throws IOException {\n+        session = updateSessionTime(session, upsertSession);\n+        save(session);\n+\n+        List<UserTransactionData> userTransactionDataList = generateUserTransactionDataList(session, hearingParts);\n+\n+        UserTransaction ut = userTransactionService.startTransaction(upsertSession.getUserTransactionId(),\n+            userTransactionDataList);\n+\n+        String msg = factsMapper.mapUpdateSessionToRuleJsonMessage(session);\n+\n+        rulesService.postMessage(ut.getId(), RulesService.UPSERT_SESSION, msg);\n+\n+        ut = userTransactionService.rulesProcessed(ut);\n+\n+        return ut;\n+    }\n+\n+    private Session updateSessionTime(Session session, UpsertSession upsertSession) {\n+        Optional.ofNullable(upsertSession.getDuration()).ifPresent((d) -> session.setDuration(d));\n+        Optional.ofNullable(upsertSession.getStart()).ifPresent((s) -> session.setStart(s));\n+\n+        return session;\n+    }\n \n+    private List<UserTransactionData> generateUserTransactionDataList(Session session, List<HearingPart> hearingParts)\n+        throws JsonProcessingException {\n         List<UserTransactionData> userTransactionDataList = new ArrayList<>();\n-        userTransactionDataList.add(new UserTransactionData(\"session\", session.getId(), null, \"insert\", \"delete\", 0));\n \n-        return userTransactionService.startTransaction(createSession.getUserTransactionId(), userTransactionDataList);\n+        userTransactionDataList.addAll(Arrays.asList(new UserTransactionData(\"session\",\n+            session.getId(),\n+            objectMapper.writeValueAsString(session),\n+            \"update\",\n+            \"update\",\n+            0)\n+        ));\n+        hearingParts.forEach((hp) -> {\n+\n+            String beforeData = null;\n+            try {","path":"src/main/java/uk/gov/hmcts/reform/sandl.snlevents/service/SessionService.java","position":162,"original_position":162,"commit_id":"72ff70866255ffe475557a4f50d7b3c141fa391a","original_commit_id":"72ff70866255ffe475557a4f50d7b3c141fa391a","user":{"login":"leszekgu","id":15323312,"node_id":"MDQ6VXNlcjE1MzIzMzEy","avatar_url":"https://avatars3.githubusercontent.com/u/15323312?v=4","gravatar_id":"","url":"https://api.github.com/users/leszekgu","html_url":"https://github.com/leszekgu","followers_url":"https://api.github.com/users/leszekgu/followers","following_url":"https://api.github.com/users/leszekgu/following{/other_user}","gists_url":"https://api.github.com/users/leszekgu/gists{/gist_id}","starred_url":"https://api.github.com/users/leszekgu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leszekgu/subscriptions","organizations_url":"https://api.github.com/users/leszekgu/orgs","repos_url":"https://api.github.com/users/leszekgu/repos","events_url":"https://api.github.com/users/leszekgu/events{/privacy}","received_events_url":"https://api.github.com/users/leszekgu/received_events","type":"User","site_admin":false},"body":"Although I like the functional approach here, I'm not sure if this try/catch block is worth it instead of regular `for (...)` especially that this method is throwing JsonProcessingException either way.","created_at":"2018-06-19T09:46:00Z","updated_at":"2018-06-19T09:47:08Z","html_url":"https://github.com/hmcts/snl-events/pull/54#discussion_r196359181","pull_request_url":"https://api.github.com/repos/hmcts/snl-events/pulls/54","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hmcts/snl-events/pulls/comments/196359181"},"html":{"href":"https://github.com/hmcts/snl-events/pull/54#discussion_r196359181"},"pull_request":{"href":"https://api.github.com/repos/hmcts/snl-events/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/hmcts/snl-events/pulls/54","id":195748080,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NzQ4MDgw","html_url":"https://github.com/hmcts/snl-events/pull/54","diff_url":"https://github.com/hmcts/snl-events/pull/54.diff","patch_url":"https://github.com/hmcts/snl-events/pull/54.patch","issue_url":"https://api.github.com/repos/hmcts/snl-events/issues/54","number":54,"state":"open","locked":false,"title":"Feature/sl 954/drag and drop","user":{"login":"radoslawlandowskikainos","id":20284067,"node_id":"MDQ6VXNlcjIwMjg0MDY3","avatar_url":"https://avatars1.githubusercontent.com/u/20284067?v=4","gravatar_id":"","url":"https://api.github.com/users/radoslawlandowskikainos","html_url":"https://github.com/radoslawlandowskikainos","followers_url":"https://api.github.com/users/radoslawlandowskikainos/followers","following_url":"https://api.github.com/users/radoslawlandowskikainos/following{/other_user}","gists_url":"https://api.github.com/users/radoslawlandowskikainos/gists{/gist_id}","starred_url":"https://api.github.com/users/radoslawlandowskikainos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radoslawlandowskikainos/subscriptions","organizations_url":"https://api.github.com/users/radoslawlandowskikainos/orgs","repos_url":"https://api.github.com/users/radoslawlandowskikainos/repos","events_url":"https://api.github.com/users/radoslawlandowskikainos/events{/privacy}","received_events_url":"https://api.github.com/users/radoslawlandowskikainos/received_events","type":"User","site_admin":false},"body":"**Before creating a pull request make sure that:**\r\n\r\n- [ ] commit messages are meaningful and follow good commit message guidelines\r\n- [ ] README and other documentation has been updated / added (if needed)\r\n- [ ] tests have been updated / new tests has been added (if needed)\r\n\r\nPlease remove this line and everything above and fill the following sections:\r\n\r\n\r\n### JIRA link (if applicable) ###\r\n\r\n\r\n\r\n### Change description ###\r\n\r\n\r\n\r\n**Does this PR introduce a breaking change?** (check one with \"x\")\r\n\r\n```\r\n[ ] Yes\r\n[ ] No\r\n```\r\n","created_at":"2018-06-19T08:29:06Z","updated_at":"2018-06-19T09:47:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ace434715cba3d573cc0369a78d5e894ac80df0a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kpakur","id":4456120,"node_id":"MDQ6VXNlcjQ0NTYxMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/4456120?v=4","gravatar_id":"","url":"https://api.github.com/users/kpakur","html_url":"https://github.com/kpakur","followers_url":"https://api.github.com/users/kpakur/followers","following_url":"https://api.github.com/users/kpakur/following{/other_user}","gists_url":"https://api.github.com/users/kpakur/gists{/gist_id}","starred_url":"https://api.github.com/users/kpakur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpakur/subscriptions","organizations_url":"https://api.github.com/users/kpakur/orgs","repos_url":"https://api.github.com/users/kpakur/repos","events_url":"https://api.github.com/users/kpakur/events{/privacy}","received_events_url":"https://api.github.com/users/kpakur/received_events","type":"User","site_admin":false},{"login":"r-kruk-kainos","id":20284152,"node_id":"MDQ6VXNlcjIwMjg0MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/20284152?v=4","gravatar_id":"","url":"https://api.github.com/users/r-kruk-kainos","html_url":"https://github.com/r-kruk-kainos","followers_url":"https://api.github.com/users/r-kruk-kainos/followers","following_url":"https://api.github.com/users/r-kruk-kainos/following{/other_user}","gists_url":"https://api.github.com/users/r-kruk-kainos/gists{/gist_id}","starred_url":"https://api.github.com/users/r-kruk-kainos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-kruk-kainos/subscriptions","organizations_url":"https://api.github.com/users/r-kruk-kainos/orgs","repos_url":"https://api.github.com/users/r-kruk-kainos/repos","events_url":"https://api.github.com/users/r-kruk-kainos/events{/privacy}","received_events_url":"https://api.github.com/users/r-kruk-kainos/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmcts/snl-events/pulls/54/commits","review_comments_url":"https://api.github.com/repos/hmcts/snl-events/pulls/54/comments","review_comment_url":"https://api.github.com/repos/hmcts/snl-events/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmcts/snl-events/issues/54/comments","statuses_url":"https://api.github.com/repos/hmcts/snl-events/statuses/72ff70866255ffe475557a4f50d7b3c141fa391a","head":{"label":"hmcts:feature/SL-954/drag-and-drop","ref":"feature/SL-954/drag-and-drop","sha":"72ff70866255ffe475557a4f50d7b3c141fa391a","user":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"repo":{"id":129116735,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkxMTY3MzU=","name":"snl-events","full_name":"hmcts/snl-events","owner":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmcts/snl-events","description":null,"fork":false,"url":"https://api.github.com/repos/hmcts/snl-events","forks_url":"https://api.github.com/repos/hmcts/snl-events/forks","keys_url":"https://api.github.com/repos/hmcts/snl-events/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/snl-events/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/snl-events/teams","hooks_url":"https://api.github.com/repos/hmcts/snl-events/hooks","issue_events_url":"https://api.github.com/repos/hmcts/snl-events/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/snl-events/events","assignees_url":"https://api.github.com/repos/hmcts/snl-events/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/snl-events/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/snl-events/tags","blobs_url":"https://api.github.com/repos/hmcts/snl-events/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/snl-events/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/snl-events/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/snl-events/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/snl-events/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/snl-events/languages","stargazers_url":"https://api.github.com/repos/hmcts/snl-events/stargazers","contributors_url":"https://api.github.com/repos/hmcts/snl-events/contributors","subscribers_url":"https://api.github.com/repos/hmcts/snl-events/subscribers","subscription_url":"https://api.github.com/repos/hmcts/snl-events/subscription","commits_url":"https://api.github.com/repos/hmcts/snl-events/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/snl-events/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/snl-events/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/snl-events/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/snl-events/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/snl-events/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/snl-events/merges","archive_url":"https://api.github.com/repos/hmcts/snl-events/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/snl-events/downloads","issues_url":"https://api.github.com/repos/hmcts/snl-events/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/snl-events/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/snl-events/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/snl-events/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/snl-events/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/snl-events/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/snl-events/deployments","created_at":"2018-04-11T15:40:39Z","updated_at":"2018-06-18T09:21:24Z","pushed_at":"2018-06-19T08:29:07Z","git_url":"git://github.com/hmcts/snl-events.git","ssh_url":"git@github.com:hmcts/snl-events.git","clone_url":"https://github.com/hmcts/snl-events.git","svn_url":"https://github.com/hmcts/snl-events","homepage":null,"size":2573,"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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"hmcts:master","ref":"master","sha":"45797ab278cf59c08233b5706997a6bbe8483c98","user":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"repo":{"id":129116735,"node_id":"MDEwOlJlcG9zaXRvcnkxMjkxMTY3MzU=","name":"snl-events","full_name":"hmcts/snl-events","owner":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hmcts/snl-events","description":null,"fork":false,"url":"https://api.github.com/repos/hmcts/snl-events","forks_url":"https://api.github.com/repos/hmcts/snl-events/forks","keys_url":"https://api.github.com/repos/hmcts/snl-events/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/snl-events/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/snl-events/teams","hooks_url":"https://api.github.com/repos/hmcts/snl-events/hooks","issue_events_url":"https://api.github.com/repos/hmcts/snl-events/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/snl-events/events","assignees_url":"https://api.github.com/repos/hmcts/snl-events/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/snl-events/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/snl-events/tags","blobs_url":"https://api.github.com/repos/hmcts/snl-events/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/snl-events/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/snl-events/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/snl-events/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/snl-events/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/snl-events/languages","stargazers_url":"https://api.github.com/repos/hmcts/snl-events/stargazers","contributors_url":"https://api.github.com/repos/hmcts/snl-events/contributors","subscribers_url":"https://api.github.com/repos/hmcts/snl-events/subscribers","subscription_url":"https://api.github.com/repos/hmcts/snl-events/subscription","commits_url":"https://api.github.com/repos/hmcts/snl-events/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/snl-events/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/snl-events/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/snl-events/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/snl-events/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/snl-events/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/snl-events/merges","archive_url":"https://api.github.com/repos/hmcts/snl-events/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/snl-events/downloads","issues_url":"https://api.github.com/repos/hmcts/snl-events/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/snl-events/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/snl-events/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/snl-events/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/snl-events/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/snl-events/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/snl-events/deployments","created_at":"2018-04-11T15:40:39Z","updated_at":"2018-06-18T09:21:24Z","pushed_at":"2018-06-19T08:29:07Z","git_url":"git://github.com/hmcts/snl-events.git","ssh_url":"git@github.com:hmcts/snl-events.git","clone_url":"https://github.com/hmcts/snl-events.git","svn_url":"https://github.com/hmcts/snl-events","homepage":null,"size":2573,"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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmcts/snl-events/pulls/54"},"html":{"href":"https://github.com/hmcts/snl-events/pull/54"},"issue":{"href":"https://api.github.com/repos/hmcts/snl-events/issues/54"},"comments":{"href":"https://api.github.com/repos/hmcts/snl-events/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/hmcts/snl-events/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/hmcts/snl-events/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmcts/snl-events/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/hmcts/snl-events/statuses/72ff70866255ffe475557a4f50d7b3c141fa391a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"leszekgu"}}