{"action":"opened","number":87,"pull_request":{"url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/pulls/87","id":189495034,"html_url":"https://github.com/hmcts/track-your-appeal-notifications/pull/87","diff_url":"https://github.com/hmcts/track-your-appeal-notifications/pull/87.diff","patch_url":"https://github.com/hmcts/track-your-appeal-notifications/pull/87.patch","issue_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/issues/87","number":87,"state":"open","locked":false,"title":"SSCS-2877 User id extracted from IDAM authorization token","user":{"login":"fantasticjamieburns","id":1443443,"avatar_url":"https://avatars3.githubusercontent.com/u/1443443?v=4","gravatar_id":"","url":"https://api.github.com/users/fantasticjamieburns","html_url":"https://github.com/fantasticjamieburns","followers_url":"https://api.github.com/users/fantasticjamieburns/followers","following_url":"https://api.github.com/users/fantasticjamieburns/following{/other_user}","gists_url":"https://api.github.com/users/fantasticjamieburns/gists{/gist_id}","starred_url":"https://api.github.com/users/fantasticjamieburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fantasticjamieburns/subscriptions","organizations_url":"https://api.github.com/users/fantasticjamieburns/orgs","repos_url":"https://api.github.com/users/fantasticjamieburns/repos","events_url":"https://api.github.com/users/fantasticjamieburns/events{/privacy}","received_events_url":"https://api.github.com/users/fantasticjamieburns/received_events","type":"User","site_admin":false},"body":"### JIRA link (if applicable) ###\r\n\r\nhttps://tools.hmcts.net/jira/browse/SSCS-2877\r\n\r\n### Change description ###\r\n\r\nS2S IDAM user_id is taken from the Authorisation token, instead of being loaded from application configuration.\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-05-21T21:38:31Z","updated_at":"2018-05-21T21:38:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/pulls/87/commits","review_comments_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/pulls/87/comments","review_comment_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/issues/87/comments","statuses_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/statuses/879bfb5d8ecc0a49ff4c03b5375576e168337bdf","head":{"label":"hmcts:SSCS-2877-user-id","ref":"SSCS-2877-user-id","sha":"879bfb5d8ecc0a49ff4c03b5375576e168337bdf","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":116958549,"name":"track-your-appeal-notifications","full_name":"hmcts/track-your-appeal-notifications","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/track-your-appeal-notifications","description":null,"fork":false,"url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications","forks_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/forks","keys_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/teams","hooks_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/hooks","issue_events_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/events","assignees_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/tags","blobs_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/languages","stargazers_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/stargazers","contributors_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/contributors","subscribers_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/subscribers","subscription_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/subscription","commits_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/merges","archive_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/downloads","issues_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/deployments","created_at":"2018-01-10T13:03:21Z","updated_at":"2018-05-18T13:26:15Z","pushed_at":"2018-05-21T21:38:09Z","git_url":"git://github.com/hmcts/track-your-appeal-notifications.git","ssh_url":"git@github.com:hmcts/track-your-appeal-notifications.git","clone_url":"https://github.com/hmcts/track-your-appeal-notifications.git","svn_url":"https://github.com/hmcts/track-your-appeal-notifications","homepage":null,"size":575,"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":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":"4a151af4a75d23d14859df4fa3749085b7e271ad","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":116958549,"name":"track-your-appeal-notifications","full_name":"hmcts/track-your-appeal-notifications","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/track-your-appeal-notifications","description":null,"fork":false,"url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications","forks_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/forks","keys_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/teams","hooks_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/hooks","issue_events_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/events","assignees_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/tags","blobs_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/languages","stargazers_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/stargazers","contributors_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/contributors","subscribers_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/subscribers","subscription_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/subscription","commits_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/merges","archive_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/downloads","issues_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/deployments","created_at":"2018-01-10T13:03:21Z","updated_at":"2018-05-18T13:26:15Z","pushed_at":"2018-05-21T21:38:09Z","git_url":"git://github.com/hmcts/track-your-appeal-notifications.git","ssh_url":"git@github.com:hmcts/track-your-appeal-notifications.git","clone_url":"https://github.com/hmcts/track-your-appeal-notifications.git","svn_url":"https://github.com/hmcts/track-your-appeal-notifications","homepage":null,"size":575,"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":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/track-your-appeal-notifications/pulls/87"},"html":{"href":"https://github.com/hmcts/track-your-appeal-notifications/pull/87"},"issue":{"href":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/issues/87"},"comments":{"href":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/hmcts/track-your-appeal-notifications/statuses/879bfb5d8ecc0a49ff4c03b5375576e168337bdf"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":177,"deletions":145,"changed_files":26}}
{"actor":{"display_login":"fantasticjamieburns"}}