{"action":"created","comment":{"url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/comments/235325224","pull_request_review_id":177162426,"id":235325224,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTMyNTIyNA==","diff_hunk":"@@ -81,4 +81,16 @@ private static String loadResource(String resource) {\n     }\n \n \n+    public CustodyApiMock stubPrisonCategory(String categoryCodeDescription) {\n+        val offender = JsonHelper.jsonToObjectMap(loadResource(\"/nomselite2offender/offender_G8020GG.json\"));\n+        val code = categoryCodeDescription.split(\",\")[0];\n+        val description = categoryCodeDescription.split(\",\")[1];\n+        offender.put(\"categoryCode\", code);\n+        offender.put(\"category\", description);\n+        custodyApiWireMock.stubFor(\n+                get(urlMatching(\"/elite2api/api/bookings/offenderNo/.*\"))\n+                        .willReturn(ok().withBody(JsonHelper.stringify(offender))));\n+\n+        return null;","path":"test/bdd/wiremock/CustodyApiMock.java","position":null,"original_position":14,"commit_id":"73ce535b13240e6998ed9fd4535e8ce23d565bdb","original_commit_id":"e1cbf37678bc453c5d0d9f5335cd1767952e7ea5","user":{"login":"andymarke","id":22792098,"node_id":"MDQ6VXNlcjIyNzkyMDk4","avatar_url":"https://avatars0.githubusercontent.com/u/22792098?v=4","gravatar_id":"","url":"https://api.github.com/users/andymarke","html_url":"https://github.com/andymarke","followers_url":"https://api.github.com/users/andymarke/followers","following_url":"https://api.github.com/users/andymarke/following{/other_user}","gists_url":"https://api.github.com/users/andymarke/gists{/gist_id}","starred_url":"https://api.github.com/users/andymarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymarke/subscriptions","organizations_url":"https://api.github.com/users/andymarke/orgs","repos_url":"https://api.github.com/users/andymarke/repos","events_url":"https://api.github.com/users/andymarke/events{/privacy}","received_events_url":"https://api.github.com/users/andymarke/received_events","type":"User","site_admin":false},"body":"return this","created_at":"2018-11-21T10:12:02Z","updated_at":"2018-11-21T10:38:11Z","html_url":"https://github.com/noms-digital-studio/ndelius-new-tech/pull/260#discussion_r235325224","pull_request_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/260","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/comments/235325224"},"html":{"href":"https://github.com/noms-digital-studio/ndelius-new-tech/pull/260#discussion_r235325224"},"pull_request":{"href":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/260"}}},"pull_request":{"url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/260","id":232603815,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNjAzODE1","html_url":"https://github.com/noms-digital-studio/ndelius-new-tech/pull/260","diff_url":"https://github.com/noms-digital-studio/ndelius-new-tech/pull/260.diff","patch_url":"https://github.com/noms-digital-studio/ndelius-new-tech/pull/260.patch","issue_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/issues/260","number":260,"state":"open","locked":false,"title":"272 Remove Cat A for females and improve BDD","user":{"login":"andymarke","id":22792098,"node_id":"MDQ6VXNlcjIyNzkyMDk4","avatar_url":"https://avatars0.githubusercontent.com/u/22792098?v=4","gravatar_id":"","url":"https://api.github.com/users/andymarke","html_url":"https://github.com/andymarke","followers_url":"https://api.github.com/users/andymarke/followers","following_url":"https://api.github.com/users/andymarke/following{/other_user}","gists_url":"https://api.github.com/users/andymarke/gists{/gist_id}","starred_url":"https://api.github.com/users/andymarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymarke/subscriptions","organizations_url":"https://api.github.com/users/andymarke/orgs","repos_url":"https://api.github.com/users/andymarke/repos","events_url":"https://api.github.com/users/andymarke/events{/privacy}","received_events_url":"https://api.github.com/users/andymarke/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-21T10:06:38Z","updated_at":"2018-11-21T10:38:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e0bf32991596ac060c899128d4ec54149885505","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/260/commits","review_comments_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/260/comments","review_comment_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/comments{/number}","comments_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/issues/260/comments","statuses_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/statuses/73ce535b13240e6998ed9fd4535e8ce23d565bdb","head":{"label":"noms-digital-studio:272_RemoveFemaleCatA","ref":"272_RemoveFemaleCatA","sha":"73ce535b13240e6998ed9fd4535e8ce23d565bdb","user":{"login":"noms-digital-studio","id":24717355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzE3MzU1","avatar_url":"https://avatars0.githubusercontent.com/u/24717355?v=4","gravatar_id":"","url":"https://api.github.com/users/noms-digital-studio","html_url":"https://github.com/noms-digital-studio","followers_url":"https://api.github.com/users/noms-digital-studio/followers","following_url":"https://api.github.com/users/noms-digital-studio/following{/other_user}","gists_url":"https://api.github.com/users/noms-digital-studio/gists{/gist_id}","starred_url":"https://api.github.com/users/noms-digital-studio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noms-digital-studio/subscriptions","organizations_url":"https://api.github.com/users/noms-digital-studio/orgs","repos_url":"https://api.github.com/users/noms-digital-studio/repos","events_url":"https://api.github.com/users/noms-digital-studio/events{/privacy}","received_events_url":"https://api.github.com/users/noms-digital-studio/received_events","type":"Organization","site_admin":false},"repo":{"id":93420310,"node_id":"MDEwOlJlcG9zaXRvcnk5MzQyMDMxMA==","name":"ndelius-new-tech","full_name":"noms-digital-studio/ndelius-new-tech","private":false,"owner":{"login":"noms-digital-studio","id":24717355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzE3MzU1","avatar_url":"https://avatars0.githubusercontent.com/u/24717355?v=4","gravatar_id":"","url":"https://api.github.com/users/noms-digital-studio","html_url":"https://github.com/noms-digital-studio","followers_url":"https://api.github.com/users/noms-digital-studio/followers","following_url":"https://api.github.com/users/noms-digital-studio/following{/other_user}","gists_url":"https://api.github.com/users/noms-digital-studio/gists{/gist_id}","starred_url":"https://api.github.com/users/noms-digital-studio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noms-digital-studio/subscriptions","organizations_url":"https://api.github.com/users/noms-digital-studio/orgs","repos_url":"https://api.github.com/users/noms-digital-studio/repos","events_url":"https://api.github.com/users/noms-digital-studio/events{/privacy}","received_events_url":"https://api.github.com/users/noms-digital-studio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/noms-digital-studio/ndelius-new-tech","description":"nDelius New Technology","fork":false,"url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech","forks_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/forks","keys_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/teams","hooks_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/hooks","issue_events_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/issues/events{/number}","events_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/events","assignees_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/assignees{/user}","branches_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/branches{/branch}","tags_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/tags","blobs_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/git/refs{/sha}","trees_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/statuses/{sha}","languages_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/languages","stargazers_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/stargazers","contributors_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/contributors","subscribers_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/subscribers","subscription_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/subscription","commits_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/commits{/sha}","git_commits_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/git/commits{/sha}","comments_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/comments{/number}","issue_comment_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/issues/comments{/number}","contents_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/contents/{+path}","compare_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/merges","archive_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/downloads","issues_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/issues{/number}","pulls_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls{/number}","milestones_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/milestones{/number}","notifications_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/labels{/name}","releases_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/releases{/id}","deployments_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/deployments","created_at":"2017-06-05T15:46:33Z","updated_at":"2018-11-20T15:40:36Z","pushed_at":"2018-11-21T10:24:47Z","git_url":"git://github.com/noms-digital-studio/ndelius-new-tech.git","ssh_url":"git@github.com:noms-digital-studio/ndelius-new-tech.git","clone_url":"https://github.com/noms-digital-studio/ndelius-new-tech.git","svn_url":"https://github.com/noms-digital-studio/ndelius-new-tech","homepage":"","size":12320,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"noms-digital-studio:master","ref":"master","sha":"757ec8015bd2787249a61751a3583af50605cead","user":{"login":"noms-digital-studio","id":24717355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzE3MzU1","avatar_url":"https://avatars0.githubusercontent.com/u/24717355?v=4","gravatar_id":"","url":"https://api.github.com/users/noms-digital-studio","html_url":"https://github.com/noms-digital-studio","followers_url":"https://api.github.com/users/noms-digital-studio/followers","following_url":"https://api.github.com/users/noms-digital-studio/following{/other_user}","gists_url":"https://api.github.com/users/noms-digital-studio/gists{/gist_id}","starred_url":"https://api.github.com/users/noms-digital-studio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noms-digital-studio/subscriptions","organizations_url":"https://api.github.com/users/noms-digital-studio/orgs","repos_url":"https://api.github.com/users/noms-digital-studio/repos","events_url":"https://api.github.com/users/noms-digital-studio/events{/privacy}","received_events_url":"https://api.github.com/users/noms-digital-studio/received_events","type":"Organization","site_admin":false},"repo":{"id":93420310,"node_id":"MDEwOlJlcG9zaXRvcnk5MzQyMDMxMA==","name":"ndelius-new-tech","full_name":"noms-digital-studio/ndelius-new-tech","private":false,"owner":{"login":"noms-digital-studio","id":24717355,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzE3MzU1","avatar_url":"https://avatars0.githubusercontent.com/u/24717355?v=4","gravatar_id":"","url":"https://api.github.com/users/noms-digital-studio","html_url":"https://github.com/noms-digital-studio","followers_url":"https://api.github.com/users/noms-digital-studio/followers","following_url":"https://api.github.com/users/noms-digital-studio/following{/other_user}","gists_url":"https://api.github.com/users/noms-digital-studio/gists{/gist_id}","starred_url":"https://api.github.com/users/noms-digital-studio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noms-digital-studio/subscriptions","organizations_url":"https://api.github.com/users/noms-digital-studio/orgs","repos_url":"https://api.github.com/users/noms-digital-studio/repos","events_url":"https://api.github.com/users/noms-digital-studio/events{/privacy}","received_events_url":"https://api.github.com/users/noms-digital-studio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/noms-digital-studio/ndelius-new-tech","description":"nDelius New Technology","fork":false,"url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech","forks_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/forks","keys_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/teams","hooks_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/hooks","issue_events_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/issues/events{/number}","events_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/events","assignees_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/assignees{/user}","branches_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/branches{/branch}","tags_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/tags","blobs_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/git/refs{/sha}","trees_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/statuses/{sha}","languages_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/languages","stargazers_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/stargazers","contributors_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/contributors","subscribers_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/subscribers","subscription_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/subscription","commits_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/commits{/sha}","git_commits_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/git/commits{/sha}","comments_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/comments{/number}","issue_comment_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/issues/comments{/number}","contents_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/contents/{+path}","compare_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/merges","archive_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/downloads","issues_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/issues{/number}","pulls_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls{/number}","milestones_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/milestones{/number}","notifications_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/labels{/name}","releases_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/releases{/id}","deployments_url":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/deployments","created_at":"2017-06-05T15:46:33Z","updated_at":"2018-11-20T15:40:36Z","pushed_at":"2018-11-21T10:24:47Z","git_url":"git://github.com/noms-digital-studio/ndelius-new-tech.git","ssh_url":"git@github.com:noms-digital-studio/ndelius-new-tech.git","clone_url":"https://github.com/noms-digital-studio/ndelius-new-tech.git","svn_url":"https://github.com/noms-digital-studio/ndelius-new-tech","homepage":"","size":12320,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/260"},"html":{"href":"https://github.com/noms-digital-studio/ndelius-new-tech/pull/260"},"issue":{"href":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/issues/260"},"comments":{"href":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/issues/260/comments"},"review_comments":{"href":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/260/comments"},"review_comment":{"href":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/pulls/260/commits"},"statuses":{"href":"https://api.github.com/repos/noms-digital-studio/ndelius-new-tech/statuses/73ce535b13240e6998ed9fd4535e8ce23d565bdb"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"andymarke"}}