{"action":"closed","number":81,"pull_request":{"url":"https://api.github.com/repos/hmcts/send-letter-producer-service/pulls/81","id":170308645,"html_url":"https://github.com/hmcts/send-letter-producer-service/pull/81","diff_url":"https://github.com/hmcts/send-letter-producer-service/pull/81.diff","patch_url":"https://github.com/hmcts/send-letter-producer-service/pull/81.patch","issue_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/issues/81","number":81,"state":"closed","locked":false,"title":"Updated response of save letter to return json instead of uuid","user":{"login":"nitinprabhu","id":13840402,"avatar_url":"https://avatars1.githubusercontent.com/u/13840402?v=4","gravatar_id":"","url":"https://api.github.com/users/nitinprabhu","html_url":"https://github.com/nitinprabhu","followers_url":"https://api.github.com/users/nitinprabhu/followers","following_url":"https://api.github.com/users/nitinprabhu/following{/other_user}","gists_url":"https://api.github.com/users/nitinprabhu/gists{/gist_id}","starred_url":"https://api.github.com/users/nitinprabhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitinprabhu/subscriptions","organizations_url":"https://api.github.com/users/nitinprabhu/orgs","repos_url":"https://api.github.com/users/nitinprabhu/repos","events_url":"https://api.github.com/users/nitinprabhu/events{/privacy}","received_events_url":"https://api.github.com/users/nitinprabhu/received_events","type":"User","site_admin":false},"body":"### JIRA link (if applicable) ###\r\n\r\n\r\n\r\n### Change description ###\r\n\r\n- Currently response of send letter is UUID.When response is sent to client it is sent as json which then returns a string with double quotes.\r\n\r\n- Updated response to return json string containing uuid so that api response can be consumed easily.\r\n\r\n- Updated unit and functional test cases.\r\n\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[ x] No\r\n```","created_at":"2018-02-20T21:08:14Z","updated_at":"2018-02-21T09:36:56Z","closed_at":"2018-02-21T09:36:56Z","merged_at":"2018-02-21T09:36:56Z","merge_commit_sha":"7494cb442be67de56adfb83ddc06c44d72ce8cbc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/pulls/81/commits","review_comments_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/pulls/81/comments","review_comment_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/issues/81/comments","statuses_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/statuses/b58fe14ac167b9b4d1aaf0a6a2fb7061c8921819","head":{"label":"hmcts:UPDATE-SAVE-LETTER-RESPONSE","ref":"UPDATE-SAVE-LETTER-RESPONSE","sha":"b58fe14ac167b9b4d1aaf0a6a2fb7061c8921819","user":{"login":"hmcts","id":22817111,"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":117090637,"name":"send-letter-producer-service","full_name":"hmcts/send-letter-producer-service","owner":{"login":"hmcts","id":22817111,"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/send-letter-producer-service","description":null,"fork":false,"url":"https://api.github.com/repos/hmcts/send-letter-producer-service","forks_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/forks","keys_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/teams","hooks_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/hooks","issue_events_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/events","assignees_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/tags","blobs_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/languages","stargazers_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/stargazers","contributors_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/contributors","subscribers_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/subscribers","subscription_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/subscription","commits_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/merges","archive_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/downloads","issues_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/deployments","created_at":"2018-01-11T11:20:52Z","updated_at":"2018-02-15T16:02:17Z","pushed_at":"2018-02-21T09:36:56Z","git_url":"git://github.com/hmcts/send-letter-producer-service.git","ssh_url":"git@github.com:hmcts/send-letter-producer-service.git","clone_url":"https://github.com/hmcts/send-letter-producer-service.git","svn_url":"https://github.com/hmcts/send-letter-producer-service","homepage":null,"size":710,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"hmcts:master","ref":"master","sha":"a43eeb4bde11309b1611faf52125afe3607395dd","user":{"login":"hmcts","id":22817111,"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":117090637,"name":"send-letter-producer-service","full_name":"hmcts/send-letter-producer-service","owner":{"login":"hmcts","id":22817111,"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/send-letter-producer-service","description":null,"fork":false,"url":"https://api.github.com/repos/hmcts/send-letter-producer-service","forks_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/forks","keys_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/teams","hooks_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/hooks","issue_events_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/events","assignees_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/tags","blobs_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/languages","stargazers_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/stargazers","contributors_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/contributors","subscribers_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/subscribers","subscription_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/subscription","commits_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/merges","archive_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/downloads","issues_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/send-letter-producer-service/deployments","created_at":"2018-01-11T11:20:52Z","updated_at":"2018-02-15T16:02:17Z","pushed_at":"2018-02-21T09:36:56Z","git_url":"git://github.com/hmcts/send-letter-producer-service.git","ssh_url":"git@github.com:hmcts/send-letter-producer-service.git","clone_url":"https://github.com/hmcts/send-letter-producer-service.git","svn_url":"https://github.com/hmcts/send-letter-producer-service","homepage":null,"size":710,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmcts/send-letter-producer-service/pulls/81"},"html":{"href":"https://github.com/hmcts/send-letter-producer-service/pull/81"},"issue":{"href":"https://api.github.com/repos/hmcts/send-letter-producer-service/issues/81"},"comments":{"href":"https://api.github.com/repos/hmcts/send-letter-producer-service/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/hmcts/send-letter-producer-service/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/hmcts/send-letter-producer-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmcts/send-letter-producer-service/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/hmcts/send-letter-producer-service/statuses/b58fe14ac167b9b4d1aaf0a6a2fb7061c8921819"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"nitinprabhu","id":13840402,"avatar_url":"https://avatars1.githubusercontent.com/u/13840402?v=4","gravatar_id":"","url":"https://api.github.com/users/nitinprabhu","html_url":"https://github.com/nitinprabhu","followers_url":"https://api.github.com/users/nitinprabhu/followers","following_url":"https://api.github.com/users/nitinprabhu/following{/other_user}","gists_url":"https://api.github.com/users/nitinprabhu/gists{/gist_id}","starred_url":"https://api.github.com/users/nitinprabhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitinprabhu/subscriptions","organizations_url":"https://api.github.com/users/nitinprabhu/orgs","repos_url":"https://api.github.com/users/nitinprabhu/repos","events_url":"https://api.github.com/users/nitinprabhu/events{/privacy}","received_events_url":"https://api.github.com/users/nitinprabhu/received_events","type":"User","site_admin":false},"comments":0,"review_comments":5,"maintainer_can_modify":false,"commits":4,"additions":31,"deletions":10,"changed_files":4}}
{"actor":{"display_login":"nitinprabhu"}}