{"action":"opened","number":246,"pull_request":{"url":"https://api.github.com/repos/aol/micro-server/pulls/246","id":82690656,"html_url":"https://github.com/aol/micro-server/pull/246","diff_url":"https://github.com/aol/micro-server/pull/246.diff","patch_url":"https://github.com/aol/micro-server/pull/246.patch","issue_url":"https://api.github.com/repos/aol/micro-server/issues/246","number":246,"state":"open","locked":false,"title":"Add JsonProperty annotations to ErrorCode constructor.","user":{"login":"tonyfinn","id":1097073,"avatar_url":"https://avatars.githubusercontent.com/u/1097073?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyfinn","html_url":"https://github.com/tonyfinn","followers_url":"https://api.github.com/users/tonyfinn/followers","following_url":"https://api.github.com/users/tonyfinn/following{/other_user}","gists_url":"https://api.github.com/users/tonyfinn/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyfinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyfinn/subscriptions","organizations_url":"https://api.github.com/users/tonyfinn/orgs","repos_url":"https://api.github.com/users/tonyfinn/repos","events_url":"https://api.github.com/users/tonyfinn/events{/privacy}","received_events_url":"https://api.github.com/users/tonyfinn/received_events","type":"User","site_admin":false},"body":"The ErrorCode class cannot be deserialised from a JSON response currently as\r\nit has no default constructor, and simply adding a default constructor\r\nwouldn't work with the final fields. Add the @JsonProperty annotation to the\r\nactual constructor so that Jackson can create instances of this.\r\n\r\nThis is needed for consumers of endpoints returning instances of HealthStatus\r\nas HealthStatus contains an ErrorCode field.","created_at":"2016-08-25T10:00:52Z","updated_at":"2016-08-25T10:00:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/aol/micro-server/pulls/246/commits","review_comments_url":"https://api.github.com/repos/aol/micro-server/pulls/246/comments","review_comment_url":"https://api.github.com/repos/aol/micro-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aol/micro-server/issues/246/comments","statuses_url":"https://api.github.com/repos/aol/micro-server/statuses/4b8bd27d79e1d98b2e1631f0493b6df6ff87e0d8","head":{"label":"tonyfinn:json_annotations_for_error_code","ref":"json_annotations_for_error_code","sha":"4b8bd27d79e1d98b2e1631f0493b6df6ff87e0d8","user":{"login":"tonyfinn","id":1097073,"avatar_url":"https://avatars.githubusercontent.com/u/1097073?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyfinn","html_url":"https://github.com/tonyfinn","followers_url":"https://api.github.com/users/tonyfinn/followers","following_url":"https://api.github.com/users/tonyfinn/following{/other_user}","gists_url":"https://api.github.com/users/tonyfinn/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyfinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyfinn/subscriptions","organizations_url":"https://api.github.com/users/tonyfinn/orgs","repos_url":"https://api.github.com/users/tonyfinn/repos","events_url":"https://api.github.com/users/tonyfinn/events{/privacy}","received_events_url":"https://api.github.com/users/tonyfinn/received_events","type":"User","site_admin":false},"repo":{"id":62220257,"name":"micro-server","full_name":"tonyfinn/micro-server","owner":{"login":"tonyfinn","id":1097073,"avatar_url":"https://avatars.githubusercontent.com/u/1097073?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyfinn","html_url":"https://github.com/tonyfinn","followers_url":"https://api.github.com/users/tonyfinn/followers","following_url":"https://api.github.com/users/tonyfinn/following{/other_user}","gists_url":"https://api.github.com/users/tonyfinn/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyfinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyfinn/subscriptions","organizations_url":"https://api.github.com/users/tonyfinn/orgs","repos_url":"https://api.github.com/users/tonyfinn/repos","events_url":"https://api.github.com/users/tonyfinn/events{/privacy}","received_events_url":"https://api.github.com/users/tonyfinn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tonyfinn/micro-server","description":"Microserver is a Java 8 native, zero configuration, standards based, battle hardened library to run Java Rest Microservices via a standard Java main class. Supporting pure Microservice or Micro-monolith styles.","fork":true,"url":"https://api.github.com/repos/tonyfinn/micro-server","forks_url":"https://api.github.com/repos/tonyfinn/micro-server/forks","keys_url":"https://api.github.com/repos/tonyfinn/micro-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tonyfinn/micro-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tonyfinn/micro-server/teams","hooks_url":"https://api.github.com/repos/tonyfinn/micro-server/hooks","issue_events_url":"https://api.github.com/repos/tonyfinn/micro-server/issues/events{/number}","events_url":"https://api.github.com/repos/tonyfinn/micro-server/events","assignees_url":"https://api.github.com/repos/tonyfinn/micro-server/assignees{/user}","branches_url":"https://api.github.com/repos/tonyfinn/micro-server/branches{/branch}","tags_url":"https://api.github.com/repos/tonyfinn/micro-server/tags","blobs_url":"https://api.github.com/repos/tonyfinn/micro-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tonyfinn/micro-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tonyfinn/micro-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/tonyfinn/micro-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tonyfinn/micro-server/statuses/{sha}","languages_url":"https://api.github.com/repos/tonyfinn/micro-server/languages","stargazers_url":"https://api.github.com/repos/tonyfinn/micro-server/stargazers","contributors_url":"https://api.github.com/repos/tonyfinn/micro-server/contributors","subscribers_url":"https://api.github.com/repos/tonyfinn/micro-server/subscribers","subscription_url":"https://api.github.com/repos/tonyfinn/micro-server/subscription","commits_url":"https://api.github.com/repos/tonyfinn/micro-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/tonyfinn/micro-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/tonyfinn/micro-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/tonyfinn/micro-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/tonyfinn/micro-server/contents/{+path}","compare_url":"https://api.github.com/repos/tonyfinn/micro-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tonyfinn/micro-server/merges","archive_url":"https://api.github.com/repos/tonyfinn/micro-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tonyfinn/micro-server/downloads","issues_url":"https://api.github.com/repos/tonyfinn/micro-server/issues{/number}","pulls_url":"https://api.github.com/repos/tonyfinn/micro-server/pulls{/number}","milestones_url":"https://api.github.com/repos/tonyfinn/micro-server/milestones{/number}","notifications_url":"https://api.github.com/repos/tonyfinn/micro-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tonyfinn/micro-server/labels{/name}","releases_url":"https://api.github.com/repos/tonyfinn/micro-server/releases{/id}","deployments_url":"https://api.github.com/repos/tonyfinn/micro-server/deployments","created_at":"2016-06-29T11:22:09Z","updated_at":"2016-06-29T11:22:11Z","pushed_at":"2016-08-25T10:00:20Z","git_url":"git://github.com/tonyfinn/micro-server.git","ssh_url":"git@github.com:tonyfinn/micro-server.git","clone_url":"https://github.com/tonyfinn/micro-server.git","svn_url":"https://github.com/tonyfinn/micro-server","homepage":"","size":3425,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aol:master","ref":"master","sha":"feeab2061a6196dd5aab10fd0920fe6690162107","user":{"login":"aol","id":855409,"avatar_url":"https://avatars.githubusercontent.com/u/855409?v=3","gravatar_id":"","url":"https://api.github.com/users/aol","html_url":"https://github.com/aol","followers_url":"https://api.github.com/users/aol/followers","following_url":"https://api.github.com/users/aol/following{/other_user}","gists_url":"https://api.github.com/users/aol/gists{/gist_id}","starred_url":"https://api.github.com/users/aol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aol/subscriptions","organizations_url":"https://api.github.com/users/aol/orgs","repos_url":"https://api.github.com/users/aol/repos","events_url":"https://api.github.com/users/aol/events{/privacy}","received_events_url":"https://api.github.com/users/aol/received_events","type":"Organization","site_admin":false},"repo":{"id":31231846,"name":"micro-server","full_name":"aol/micro-server","owner":{"login":"aol","id":855409,"avatar_url":"https://avatars.githubusercontent.com/u/855409?v=3","gravatar_id":"","url":"https://api.github.com/users/aol","html_url":"https://github.com/aol","followers_url":"https://api.github.com/users/aol/followers","following_url":"https://api.github.com/users/aol/following{/other_user}","gists_url":"https://api.github.com/users/aol/gists{/gist_id}","starred_url":"https://api.github.com/users/aol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aol/subscriptions","organizations_url":"https://api.github.com/users/aol/orgs","repos_url":"https://api.github.com/users/aol/repos","events_url":"https://api.github.com/users/aol/events{/privacy}","received_events_url":"https://api.github.com/users/aol/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aol/micro-server","description":"Microserver is a Java 8 native, zero configuration, standards based, battle hardened library to run Java Rest Microservices via a standard Java main class. Supporting pure Microservice or Micro-monolith styles.","fork":false,"url":"https://api.github.com/repos/aol/micro-server","forks_url":"https://api.github.com/repos/aol/micro-server/forks","keys_url":"https://api.github.com/repos/aol/micro-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aol/micro-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aol/micro-server/teams","hooks_url":"https://api.github.com/repos/aol/micro-server/hooks","issue_events_url":"https://api.github.com/repos/aol/micro-server/issues/events{/number}","events_url":"https://api.github.com/repos/aol/micro-server/events","assignees_url":"https://api.github.com/repos/aol/micro-server/assignees{/user}","branches_url":"https://api.github.com/repos/aol/micro-server/branches{/branch}","tags_url":"https://api.github.com/repos/aol/micro-server/tags","blobs_url":"https://api.github.com/repos/aol/micro-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aol/micro-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aol/micro-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/aol/micro-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aol/micro-server/statuses/{sha}","languages_url":"https://api.github.com/repos/aol/micro-server/languages","stargazers_url":"https://api.github.com/repos/aol/micro-server/stargazers","contributors_url":"https://api.github.com/repos/aol/micro-server/contributors","subscribers_url":"https://api.github.com/repos/aol/micro-server/subscribers","subscription_url":"https://api.github.com/repos/aol/micro-server/subscription","commits_url":"https://api.github.com/repos/aol/micro-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/aol/micro-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/aol/micro-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/aol/micro-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/aol/micro-server/contents/{+path}","compare_url":"https://api.github.com/repos/aol/micro-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aol/micro-server/merges","archive_url":"https://api.github.com/repos/aol/micro-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aol/micro-server/downloads","issues_url":"https://api.github.com/repos/aol/micro-server/issues{/number}","pulls_url":"https://api.github.com/repos/aol/micro-server/pulls{/number}","milestones_url":"https://api.github.com/repos/aol/micro-server/milestones{/number}","notifications_url":"https://api.github.com/repos/aol/micro-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aol/micro-server/labels{/name}","releases_url":"https://api.github.com/repos/aol/micro-server/releases{/id}","deployments_url":"https://api.github.com/repos/aol/micro-server/deployments","created_at":"2015-02-23T21:54:25Z","updated_at":"2016-08-23T07:58:51Z","pushed_at":"2016-08-25T10:00:52Z","git_url":"git://github.com/aol/micro-server.git","ssh_url":"git@github.com:aol/micro-server.git","clone_url":"https://github.com/aol/micro-server.git","svn_url":"https://github.com/aol/micro-server","homepage":"http://micro-server.io/","size":7403,"stargazers_count":605,"watchers_count":605,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":129,"mirror_url":null,"open_issues_count":30,"forks":129,"open_issues":30,"watchers":605,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aol/micro-server/pulls/246"},"html":{"href":"https://github.com/aol/micro-server/pull/246"},"issue":{"href":"https://api.github.com/repos/aol/micro-server/issues/246"},"comments":{"href":"https://api.github.com/repos/aol/micro-server/issues/246/comments"},"review_comments":{"href":"https://api.github.com/repos/aol/micro-server/pulls/246/comments"},"review_comment":{"href":"https://api.github.com/repos/aol/micro-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aol/micro-server/pulls/246/commits"},"statuses":{"href":"https://api.github.com/repos/aol/micro-server/statuses/4b8bd27d79e1d98b2e1631f0493b6df6ff87e0d8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"tonyfinn"}}