{"action":"closed","number":39,"pull_request":{"url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/pulls/39","id":47840632,"html_url":"https://github.com/lightblue-platform/lightblue-camel/pull/39","diff_url":"https://github.com/lightblue-platform/lightblue-camel/pull/39.diff","patch_url":"https://github.com/lightblue-platform/lightblue-camel/pull/39.patch","issue_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/issues/39","number":39,"state":"closed","locked":false,"title":"Lightblue endpoints should fail gracefully when Lightblue does not return a response","user":{"login":"paterczm","id":4681035,"avatar_url":"https://avatars.githubusercontent.com/u/4681035?v=3","gravatar_id":"","url":"https://api.github.com/users/paterczm","html_url":"https://github.com/paterczm","followers_url":"https://api.github.com/users/paterczm/followers","following_url":"https://api.github.com/users/paterczm/following{/other_user}","gists_url":"https://api.github.com/users/paterczm/gists{/gist_id}","starred_url":"https://api.github.com/users/paterczm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paterczm/subscriptions","organizations_url":"https://api.github.com/users/paterczm/orgs","repos_url":"https://api.github.com/users/paterczm/repos","events_url":"https://api.github.com/users/paterczm/events{/privacy}","received_events_url":"https://api.github.com/users/paterczm/received_events","type":"User","site_admin":false},"body":"There are cases when lightblue does not return anything at all or it returns html instead of json (e.g. system error). The endpoints should fail gracefully no matter what is the underlying exception.","created_at":"2015-10-15T20:56:49Z","updated_at":"2015-10-16T03:59:58Z","closed_at":"2015-10-16T03:59:58Z","merged_at":"2015-10-16T03:59:58Z","merge_commit_sha":"8dedeb38683ac593bb388fed0d5902232a327f60","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/pulls/39/commits","review_comments_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/pulls/39/comments","review_comment_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/issues/39/comments","statuses_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/statuses/7736a443a073136b788646535e05ae7ba144d7b4","head":{"label":"paterczm:noresponse","ref":"noresponse","sha":"7736a443a073136b788646535e05ae7ba144d7b4","user":{"login":"paterczm","id":4681035,"avatar_url":"https://avatars.githubusercontent.com/u/4681035?v=3","gravatar_id":"","url":"https://api.github.com/users/paterczm","html_url":"https://github.com/paterczm","followers_url":"https://api.github.com/users/paterczm/followers","following_url":"https://api.github.com/users/paterczm/following{/other_user}","gists_url":"https://api.github.com/users/paterczm/gists{/gist_id}","starred_url":"https://api.github.com/users/paterczm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paterczm/subscriptions","organizations_url":"https://api.github.com/users/paterczm/orgs","repos_url":"https://api.github.com/users/paterczm/repos","events_url":"https://api.github.com/users/paterczm/events{/privacy}","received_events_url":"https://api.github.com/users/paterczm/received_events","type":"User","site_admin":false},"repo":{"id":38068169,"name":"lightblue-camel","full_name":"paterczm/lightblue-camel","owner":{"login":"paterczm","id":4681035,"avatar_url":"https://avatars.githubusercontent.com/u/4681035?v=3","gravatar_id":"","url":"https://api.github.com/users/paterczm","html_url":"https://github.com/paterczm","followers_url":"https://api.github.com/users/paterczm/followers","following_url":"https://api.github.com/users/paterczm/following{/other_user}","gists_url":"https://api.github.com/users/paterczm/gists{/gist_id}","starred_url":"https://api.github.com/users/paterczm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paterczm/subscriptions","organizations_url":"https://api.github.com/users/paterczm/orgs","repos_url":"https://api.github.com/users/paterczm/repos","events_url":"https://api.github.com/users/paterczm/events{/privacy}","received_events_url":"https://api.github.com/users/paterczm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paterczm/lightblue-camel","description":"","fork":true,"url":"https://api.github.com/repos/paterczm/lightblue-camel","forks_url":"https://api.github.com/repos/paterczm/lightblue-camel/forks","keys_url":"https://api.github.com/repos/paterczm/lightblue-camel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paterczm/lightblue-camel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paterczm/lightblue-camel/teams","hooks_url":"https://api.github.com/repos/paterczm/lightblue-camel/hooks","issue_events_url":"https://api.github.com/repos/paterczm/lightblue-camel/issues/events{/number}","events_url":"https://api.github.com/repos/paterczm/lightblue-camel/events","assignees_url":"https://api.github.com/repos/paterczm/lightblue-camel/assignees{/user}","branches_url":"https://api.github.com/repos/paterczm/lightblue-camel/branches{/branch}","tags_url":"https://api.github.com/repos/paterczm/lightblue-camel/tags","blobs_url":"https://api.github.com/repos/paterczm/lightblue-camel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paterczm/lightblue-camel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paterczm/lightblue-camel/git/refs{/sha}","trees_url":"https://api.github.com/repos/paterczm/lightblue-camel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paterczm/lightblue-camel/statuses/{sha}","languages_url":"https://api.github.com/repos/paterczm/lightblue-camel/languages","stargazers_url":"https://api.github.com/repos/paterczm/lightblue-camel/stargazers","contributors_url":"https://api.github.com/repos/paterczm/lightblue-camel/contributors","subscribers_url":"https://api.github.com/repos/paterczm/lightblue-camel/subscribers","subscription_url":"https://api.github.com/repos/paterczm/lightblue-camel/subscription","commits_url":"https://api.github.com/repos/paterczm/lightblue-camel/commits{/sha}","git_commits_url":"https://api.github.com/repos/paterczm/lightblue-camel/git/commits{/sha}","comments_url":"https://api.github.com/repos/paterczm/lightblue-camel/comments{/number}","issue_comment_url":"https://api.github.com/repos/paterczm/lightblue-camel/issues/comments{/number}","contents_url":"https://api.github.com/repos/paterczm/lightblue-camel/contents/{+path}","compare_url":"https://api.github.com/repos/paterczm/lightblue-camel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paterczm/lightblue-camel/merges","archive_url":"https://api.github.com/repos/paterczm/lightblue-camel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paterczm/lightblue-camel/downloads","issues_url":"https://api.github.com/repos/paterczm/lightblue-camel/issues{/number}","pulls_url":"https://api.github.com/repos/paterczm/lightblue-camel/pulls{/number}","milestones_url":"https://api.github.com/repos/paterczm/lightblue-camel/milestones{/number}","notifications_url":"https://api.github.com/repos/paterczm/lightblue-camel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paterczm/lightblue-camel/labels{/name}","releases_url":"https://api.github.com/repos/paterczm/lightblue-camel/releases{/id}","created_at":"2015-06-25T19:01:16Z","updated_at":"2015-06-25T19:01:17Z","pushed_at":"2015-10-15T20:54:48Z","git_url":"git://github.com/paterczm/lightblue-camel.git","ssh_url":"git@github.com:paterczm/lightblue-camel.git","clone_url":"https://github.com/paterczm/lightblue-camel.git","svn_url":"https://github.com/paterczm/lightblue-camel","homepage":null,"size":172,"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":"lightblue-platform:master","ref":"master","sha":"d560be91e62e47d8405e9344afe6d99282a31133","user":{"login":"lightblue-platform","id":7061725,"avatar_url":"https://avatars.githubusercontent.com/u/7061725?v=3","gravatar_id":"","url":"https://api.github.com/users/lightblue-platform","html_url":"https://github.com/lightblue-platform","followers_url":"https://api.github.com/users/lightblue-platform/followers","following_url":"https://api.github.com/users/lightblue-platform/following{/other_user}","gists_url":"https://api.github.com/users/lightblue-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/lightblue-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightblue-platform/subscriptions","organizations_url":"https://api.github.com/users/lightblue-platform/orgs","repos_url":"https://api.github.com/users/lightblue-platform/repos","events_url":"https://api.github.com/users/lightblue-platform/events{/privacy}","received_events_url":"https://api.github.com/users/lightblue-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":37941166,"name":"lightblue-camel","full_name":"lightblue-platform/lightblue-camel","owner":{"login":"lightblue-platform","id":7061725,"avatar_url":"https://avatars.githubusercontent.com/u/7061725?v=3","gravatar_id":"","url":"https://api.github.com/users/lightblue-platform","html_url":"https://github.com/lightblue-platform","followers_url":"https://api.github.com/users/lightblue-platform/followers","following_url":"https://api.github.com/users/lightblue-platform/following{/other_user}","gists_url":"https://api.github.com/users/lightblue-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/lightblue-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightblue-platform/subscriptions","organizations_url":"https://api.github.com/users/lightblue-platform/orgs","repos_url":"https://api.github.com/users/lightblue-platform/repos","events_url":"https://api.github.com/users/lightblue-platform/events{/privacy}","received_events_url":"https://api.github.com/users/lightblue-platform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lightblue-platform/lightblue-camel","description":"","fork":false,"url":"https://api.github.com/repos/lightblue-platform/lightblue-camel","forks_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/forks","keys_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/teams","hooks_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/hooks","issue_events_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/issues/events{/number}","events_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/events","assignees_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/assignees{/user}","branches_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/branches{/branch}","tags_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/tags","blobs_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/git/refs{/sha}","trees_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/statuses/{sha}","languages_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/languages","stargazers_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/stargazers","contributors_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/contributors","subscribers_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/subscribers","subscription_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/subscription","commits_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/commits{/sha}","git_commits_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/git/commits{/sha}","comments_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/comments{/number}","issue_comment_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/issues/comments{/number}","contents_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/contents/{+path}","compare_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/merges","archive_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/downloads","issues_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/issues{/number}","pulls_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/pulls{/number}","milestones_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/milestones{/number}","notifications_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/labels{/name}","releases_url":"https://api.github.com/repos/lightblue-platform/lightblue-camel/releases{/id}","created_at":"2015-06-23T19:49:02Z","updated_at":"2015-06-23T19:49:36Z","pushed_at":"2015-10-16T03:59:58Z","git_url":"git://github.com/lightblue-platform/lightblue-camel.git","ssh_url":"git@github.com:lightblue-platform/lightblue-camel.git","clone_url":"https://github.com/lightblue-platform/lightblue-camel.git","svn_url":"https://github.com/lightblue-platform/lightblue-camel","homepage":null,"size":464,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lightblue-platform/lightblue-camel/pulls/39"},"html":{"href":"https://github.com/lightblue-platform/lightblue-camel/pull/39"},"issue":{"href":"https://api.github.com/repos/lightblue-platform/lightblue-camel/issues/39"},"comments":{"href":"https://api.github.com/repos/lightblue-platform/lightblue-camel/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/lightblue-platform/lightblue-camel/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/lightblue-platform/lightblue-camel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lightblue-platform/lightblue-camel/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/lightblue-platform/lightblue-camel/statuses/7736a443a073136b788646535e05ae7ba144d7b4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bserdar","id":3670797,"avatar_url":"https://avatars.githubusercontent.com/u/3670797?v=3","gravatar_id":"","url":"https://api.github.com/users/bserdar","html_url":"https://github.com/bserdar","followers_url":"https://api.github.com/users/bserdar/followers","following_url":"https://api.github.com/users/bserdar/following{/other_user}","gists_url":"https://api.github.com/users/bserdar/gists{/gist_id}","starred_url":"https://api.github.com/users/bserdar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bserdar/subscriptions","organizations_url":"https://api.github.com/users/bserdar/orgs","repos_url":"https://api.github.com/users/bserdar/repos","events_url":"https://api.github.com/users/bserdar/events{/privacy}","received_events_url":"https://api.github.com/users/bserdar/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":100,"deletions":6,"changed_files":6}}