{"action":"closed","issue":{"url":"https://api.github.com/repos/reTHINK-project/dev-protostubs/issues/55","repository_url":"https://api.github.com/repos/reTHINK-project/dev-protostubs","labels_url":"https://api.github.com/repos/reTHINK-project/dev-protostubs/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/reTHINK-project/dev-protostubs/issues/55/comments","events_url":"https://api.github.com/repos/reTHINK-project/dev-protostubs/issues/55/events","html_url":"https://github.com/reTHINK-project/dev-protostubs/issues/55","id":353381183,"node_id":"MDU6SXNzdWUzNTMzODExODM=","number":55,"title":"Google Fit Protostub: 400 error handling","user":{"login":"pchainho","id":3893553,"node_id":"MDQ6VXNlcjM4OTM1NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3893553?v=4","gravatar_id":"","url":"https://api.github.com/users/pchainho","html_url":"https://github.com/pchainho","followers_url":"https://api.github.com/users/pchainho/followers","following_url":"https://api.github.com/users/pchainho/following{/other_user}","gists_url":"https://api.github.com/users/pchainho/gists{/gist_id}","starred_url":"https://api.github.com/users/pchainho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchainho/subscriptions","organizations_url":"https://api.github.com/users/pchainho/orgs","repos_url":"https://api.github.com/users/pchainho/repos","events_url":"https://api.github.com/users/pchainho/events{/privacy}","received_events_url":"https://api.github.com/users/pchainho/received_events","type":"User","site_admin":false},"labels":[{"id":442397687,"node_id":"MDU6TGFiZWw0NDIzOTc2ODc=","url":"https://api.github.com/repos/reTHINK-project/dev-protostubs/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"luistduarte","id":11315256,"node_id":"MDQ6VXNlcjExMzE1MjU2","avatar_url":"https://avatars1.githubusercontent.com/u/11315256?v=4","gravatar_id":"","url":"https://api.github.com/users/luistduarte","html_url":"https://github.com/luistduarte","followers_url":"https://api.github.com/users/luistduarte/followers","following_url":"https://api.github.com/users/luistduarte/following{/other_user}","gists_url":"https://api.github.com/users/luistduarte/gists{/gist_id}","starred_url":"https://api.github.com/users/luistduarte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luistduarte/subscriptions","organizations_url":"https://api.github.com/users/luistduarte/orgs","repos_url":"https://api.github.com/users/luistduarte/repos","events_url":"https://api.github.com/users/luistduarte/events{/privacy}","received_events_url":"https://api.github.com/users/luistduarte/received_events","type":"User","site_admin":false},"assignees":[{"login":"luistduarte","id":11315256,"node_id":"MDQ6VXNlcjExMzE1MjU2","avatar_url":"https://avatars1.githubusercontent.com/u/11315256?v=4","gravatar_id":"","url":"https://api.github.com/users/luistduarte","html_url":"https://github.com/luistduarte","followers_url":"https://api.github.com/users/luistduarte/followers","following_url":"https://api.github.com/users/luistduarte/following{/other_user}","gists_url":"https://api.github.com/users/luistduarte/gists{/gist_id}","starred_url":"https://api.github.com/users/luistduarte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luistduarte/subscriptions","organizations_url":"https://api.github.com/users/luistduarte/orgs","repos_url":"https://api.github.com/users/luistduarte/repos","events_url":"https://api.github.com/users/luistduarte/events{/privacy}","received_events_url":"https://api.github.com/users/luistduarte/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-08-23T13:28:28Z","updated_at":"2018-08-24T14:38:27Z","closed_at":"2018-08-24T14:38:27Z","author_association":"CONTRIBUTOR","body":"The error handler at:\r\n\r\nhttps://github.com/reTHINK-project/dev-protostubs/blob/master/src/protostub/google/GoogleProtoStub.ps.js#L298\r\n\r\n should update the protostubs status with status \"disconnected\":\r\n\r\n```\r\n            _this.sendStatus('disconnected', onError);\r\n```\r\n\r\nThe Observer should add a Listener to prostostub status url which requires to send the protostub url in the response body to the initial request used to deploy the protostub:\r\n\r\nhttps://github.com/reTHINK-project/dev-protostubs/blob/master/src/protostub/google/GoogleProtoStub.ps.js#L83-L85\r\n"}}
{"actor":{"display_login":"luistduarte"}}