{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/comments/62623990","id":62623990,"diff_hunk":"@@ -64,7 +63,9 @@\n import org.mortbay.jetty.Request;\n import org.mortbay.jetty.handler.AbstractHandler;\n import org.json.simple.JSONObject;\n-\n+import com.telefonica.iot.cygnus.handlers.CygnusHandler;","path":"cygnus-common/src/main/java/com/telefonica/iot/cygnus/management/ManagementInterface.java","position":null,"original_position":13,"commit_id":"04d5c8e4ea56edc31b73c53c73e313f0b75461fc","original_commit_id":"94b89100b9b296c971673c21f216e3b84e67a2eb","user":{"login":"pcoello25","id":15360342,"avatar_url":"https://avatars.githubusercontent.com/u/15360342?v=3","gravatar_id":"","url":"https://api.github.com/users/pcoello25","html_url":"https://github.com/pcoello25","followers_url":"https://api.github.com/users/pcoello25/followers","following_url":"https://api.github.com/users/pcoello25/following{/other_user}","gists_url":"https://api.github.com/users/pcoello25/gists{/gist_id}","starred_url":"https://api.github.com/users/pcoello25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcoello25/subscriptions","organizations_url":"https://api.github.com/users/pcoello25/orgs","repos_url":"https://api.github.com/users/pcoello25/repos","events_url":"https://api.github.com/users/pcoello25/events{/privacy}","received_events_url":"https://api.github.com/users/pcoello25/received_events","type":"User","site_admin":false},"body":"Fixed in 6277386","created_at":"2016-05-10T07:32:42Z","updated_at":"2016-05-10T07:32:42Z","html_url":"https://github.com/telefonicaid/fiware-cygnus/pull/1008#discussion_r62623990","pull_request_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/1008","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/comments/62623990"},"html":{"href":"https://github.com/telefonicaid/fiware-cygnus/pull/1008#discussion_r62623990"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/1008"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/1008","id":69325760,"html_url":"https://github.com/telefonicaid/fiware-cygnus/pull/1008","diff_url":"https://github.com/telefonicaid/fiware-cygnus/pull/1008.diff","patch_url":"https://github.com/telefonicaid/fiware-cygnus/pull/1008.patch","issue_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/1008","number":1008,"state":"open","locked":false,"title":"hardening/932_add_fiware_correlator_to_response_http_messages","user":{"login":"pcoello25","id":15360342,"avatar_url":"https://avatars.githubusercontent.com/u/15360342?v=3","gravatar_id":"","url":"https://api.github.com/users/pcoello25","html_url":"https://github.com/pcoello25","followers_url":"https://api.github.com/users/pcoello25/followers","following_url":"https://api.github.com/users/pcoello25/following{/other_user}","gists_url":"https://api.github.com/users/pcoello25/gists{/gist_id}","starred_url":"https://api.github.com/users/pcoello25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcoello25/subscriptions","organizations_url":"https://api.github.com/users/pcoello25/orgs","repos_url":"https://api.github.com/users/pcoello25/repos","events_url":"https://api.github.com/users/pcoello25/events{/privacy}","received_events_url":"https://api.github.com/users/pcoello25/received_events","type":"User","site_admin":false},"body":"* Fix issue #932 \r\n* 100% unit test passed:\r\n```\r\nResults :\r\nTests run: 43, Failures: 0, Errors: 0, Skipped: 0 [cygnus-common]\r\nTests run: 84, Failures: 0, Errors: 0, Skipped: 0 [cygnus-ngsi]\r\n```\r\n* e2e (unofficial) test passed:\r\n```\r\n[WITHOUT CORRELATOR IN THE REQUEST]\r\ncurl -v -X GET \"http://localhost:8081/v1/subscriptions?ngsi_version=2&subscription_id=5332502b1860a3453d395e95\" -d '{\"host\":\"orion.lab.fi-ware.org\", \"port\":\"1026\", \"ssl\":\"false\", \"xauthtoken\":\"QsENv67AJj7blC2qJ0YvfSc5hMWYrs\"}'\r\n\r\n--> header got with -v option \r\n< fiware-correlator: e8814475-c2a7-4419-b3ce-bfbd547034d0\r\n\r\n--> cygnus logs\r\ntime=2016-05-09T12:20:19.136WEST | lvl=DEBUG | corr=e8814475-c2a7-4419-b3ce-bfbd547034d0 | trans=e8814475-c2a7-4419-b3ce-bfbd547034d0 | srv= | subsrv= | function=doRequest | comp=Cygnus | msg=com.telefonica.iot.cygnus.backends.http.HttpBackend[187] : Http request: GET http://orion.lab.fi-ware.org:1026/v2/subscriptions/5332502b1860a3453d395e95 HTTP/1.1\r\n\r\n[WITH CORRELATOR]\r\ncurl -v -X GET \"http://localhost:8081/v1/subscriptions?ngsi_version=2&subscription_id=5332502b1860a3453d395e95\" --header 'fiware-correlator: correlatorId' -d '{\"host\":\"orion.lab.fi-ware.org\", \"port\":\"1026\", \"ssl\":\"false\", \"xauthtoken\":\"QsENv67AJj7blC2qJ0YvfSc5hMWYrs\"}'\r\n\r\n--> header got with -v option\r\n< fiware-correlator: correlatorId\r\n\r\n--> cygnus logs\r\ntime=2016-05-09T12:22:26.681WEST | lvl=DEBUG | corr=correlatorId | trans=e17d926e-5601-4808-80db-dd6df79c6934 | srv= | subsrv= | function=doRequest | comp=Cygnus | msg=com.telefonica.iot.cygnus.backends.http.HttpBackend[187] : Http request: GET http://orion.lab.fi-ware.org:1026/v2/subscriptions/5332502b1860a3453d395e95 HTTP/1.1\r\n```\r\n* Assignee: @frbattid ","created_at":"2016-05-09T10:38:39Z","updated_at":"2016-05-10T07:32:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d37e71e2b764a7dc0a938227445a7617e9deecc4","assignee":{"login":"frbattid","id":3865056,"avatar_url":"https://avatars.githubusercontent.com/u/3865056?v=3","gravatar_id":"","url":"https://api.github.com/users/frbattid","html_url":"https://github.com/frbattid","followers_url":"https://api.github.com/users/frbattid/followers","following_url":"https://api.github.com/users/frbattid/following{/other_user}","gists_url":"https://api.github.com/users/frbattid/gists{/gist_id}","starred_url":"https://api.github.com/users/frbattid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frbattid/subscriptions","organizations_url":"https://api.github.com/users/frbattid/orgs","repos_url":"https://api.github.com/users/frbattid/repos","events_url":"https://api.github.com/users/frbattid/events{/privacy}","received_events_url":"https://api.github.com/users/frbattid/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/1008/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/1008/comments","review_comment_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/1008/comments","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/statuses/04d5c8e4ea56edc31b73c53c73e313f0b75461fc","head":{"label":"pcoello25:hardening/932_add_fiware_correlator_to_response_http_messages","ref":"hardening/932_add_fiware_correlator_to_response_http_messages","sha":"04d5c8e4ea56edc31b73c53c73e313f0b75461fc","user":{"login":"pcoello25","id":15360342,"avatar_url":"https://avatars.githubusercontent.com/u/15360342?v=3","gravatar_id":"","url":"https://api.github.com/users/pcoello25","html_url":"https://github.com/pcoello25","followers_url":"https://api.github.com/users/pcoello25/followers","following_url":"https://api.github.com/users/pcoello25/following{/other_user}","gists_url":"https://api.github.com/users/pcoello25/gists{/gist_id}","starred_url":"https://api.github.com/users/pcoello25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcoello25/subscriptions","organizations_url":"https://api.github.com/users/pcoello25/orgs","repos_url":"https://api.github.com/users/pcoello25/repos","events_url":"https://api.github.com/users/pcoello25/events{/privacy}","received_events_url":"https://api.github.com/users/pcoello25/received_events","type":"User","site_admin":false},"repo":{"id":58030863,"name":"fiware-cygnus","full_name":"pcoello25/fiware-cygnus","owner":{"login":"pcoello25","id":15360342,"avatar_url":"https://avatars.githubusercontent.com/u/15360342?v=3","gravatar_id":"","url":"https://api.github.com/users/pcoello25","html_url":"https://github.com/pcoello25","followers_url":"https://api.github.com/users/pcoello25/followers","following_url":"https://api.github.com/users/pcoello25/following{/other_user}","gists_url":"https://api.github.com/users/pcoello25/gists{/gist_id}","starred_url":"https://api.github.com/users/pcoello25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcoello25/subscriptions","organizations_url":"https://api.github.com/users/pcoello25/orgs","repos_url":"https://api.github.com/users/pcoello25/repos","events_url":"https://api.github.com/users/pcoello25/events{/privacy}","received_events_url":"https://api.github.com/users/pcoello25/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pcoello25/fiware-cygnus","description":"Being part of FIWARE, Cygnus is a connector in charge of persisting Orion context data in certain configured third-party storages, creating a historical view of such data.","fork":true,"url":"https://api.github.com/repos/pcoello25/fiware-cygnus","forks_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/forks","keys_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/teams","hooks_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/hooks","issue_events_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/issues/events{/number}","events_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/events","assignees_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/assignees{/user}","branches_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/branches{/branch}","tags_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/tags","blobs_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/git/refs{/sha}","trees_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/statuses/{sha}","languages_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/languages","stargazers_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/stargazers","contributors_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/contributors","subscribers_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/subscribers","subscription_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/subscription","commits_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/commits{/sha}","git_commits_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/git/commits{/sha}","comments_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/comments{/number}","issue_comment_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/issues/comments{/number}","contents_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/contents/{+path}","compare_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/merges","archive_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/downloads","issues_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/issues{/number}","pulls_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/pulls{/number}","milestones_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/milestones{/number}","notifications_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/labels{/name}","releases_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/releases{/id}","deployments_url":"https://api.github.com/repos/pcoello25/fiware-cygnus/deployments","created_at":"2016-05-04T07:12:10Z","updated_at":"2016-05-05T10:22:03Z","pushed_at":"2016-05-10T07:28:06Z","git_url":"git://github.com/pcoello25/fiware-cygnus.git","ssh_url":"git@github.com:pcoello25/fiware-cygnus.git","clone_url":"https://github.com/pcoello25/fiware-cygnus.git","svn_url":"https://github.com/pcoello25/fiware-cygnus","homepage":"","size":7752,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"telefonicaid:develop","ref":"develop","sha":"af57cbbb1a7de94f6d2806d7f59778f3de0384a5","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":16607947,"name":"fiware-cygnus","full_name":"telefonicaid/fiware-cygnus","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-cygnus","description":"Being part of FIWARE, Cygnus is a connector in charge of persisting Orion context data in certain configured third-party storages, creating a historical view of such data.","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-cygnus","forks_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/releases{/id}","deployments_url":"https://api.github.com/repos/telefonicaid/fiware-cygnus/deployments","created_at":"2014-02-07T07:57:41Z","updated_at":"2016-04-19T06:30:21Z","pushed_at":"2016-05-10T07:28:06Z","git_url":"git://github.com/telefonicaid/fiware-cygnus.git","ssh_url":"git@github.com:telefonicaid/fiware-cygnus.git","clone_url":"https://github.com/telefonicaid/fiware-cygnus.git","svn_url":"https://github.com/telefonicaid/fiware-cygnus","homepage":"","size":94508,"stargazers_count":23,"watchers_count":23,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":28,"mirror_url":null,"open_issues_count":71,"forks":28,"open_issues":71,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/1008"},"html":{"href":"https://github.com/telefonicaid/fiware-cygnus/pull/1008"},"issue":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/1008"},"comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/issues/1008/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/1008/comments"},"review_comment":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/pulls/1008/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/fiware-cygnus/statuses/04d5c8e4ea56edc31b73c53c73e313f0b75461fc"}}}}