{"action":"created","issue":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/720","labels_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/720/comments","events_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/720/events","html_url":"https://github.com/telefonicaid/fiware-orion/issues/720","id":55477296,"number":720,"title":"Context Provider: Provider reference is only added to the first contextElement of the response.","user":{"login":"gzarrub","id":9430687,"avatar_url":"https://avatars.githubusercontent.com/u/9430687?v=3","gravatar_id":"","url":"https://api.github.com/users/gzarrub","html_url":"https://github.com/gzarrub","followers_url":"https://api.github.com/users/gzarrub/followers","following_url":"https://api.github.com/users/gzarrub/following{/other_user}","gists_url":"https://api.github.com/users/gzarrub/gists{/gist_id}","starred_url":"https://api.github.com/users/gzarrub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzarrub/subscriptions","organizations_url":"https://api.github.com/users/gzarrub/orgs","repos_url":"https://api.github.com/users/gzarrub/repos","events_url":"https://api.github.com/users/gzarrub/events{/privacy}","received_events_url":"https://api.github.com/users/gzarrub/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-26T12:33:31Z","updated_at":"2015-05-04T10:45:38Z","closed_at":"2015-05-04T10:45:38Z","body":"If a queryContext of multiple entities, which have been registered with a context provider, is done, the Context Broker only adds the provider reference to the first contextElement of the response, the response of the other contextElements seems like a normal response of entities without context provider.\r\n\r\nI don't know if it is working properly or if on the other hand it hasn't been taken into account.\r\n>\r\n{u'contextResponses': [\r\n{\r\n'contextElement': {'attributes': [...], 'id': 'test_id1', 'isPattern': 'false', 'type': 'test_type'},\r\n**'statusCode': {'code': '200',\r\n                       'details': 'Redirected to context provider (provider url)',\r\n                       'reasonPhrase': 'OK'}**\r\n},\r\n{\r\n'contextElement': {'attributes': [...], 'id': 'test_id2', 'isPattern': 'false', 'type': 'test_type'},\r\n**'statusCode': {'code': '200', 'reasonPhrase': 'OK'}**\r\n},\r\n{\r\n'contextElement': {'attributes': [...], 'id': 'test_id3', 'isPattern': 'false', 'type': 'test_type'},\r\n**'statusCode': {'code': '200', 'reasonPhrase': 'OK'}**\r\n}\r\n]}\r\n>"},"comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/comments/98673704","html_url":"https://github.com/telefonicaid/fiware-orion/issues/720#issuecomment-98673704","issue_url":"https://api.github.com/repos/telefonicaid/fiware-orion/issues/720","id":98673704,"user":{"login":"fgalan","id":1534240,"avatar_url":"https://avatars.githubusercontent.com/u/1534240?v=3","gravatar_id":"","url":"https://api.github.com/users/fgalan","html_url":"https://github.com/fgalan","followers_url":"https://api.github.com/users/fgalan/followers","following_url":"https://api.github.com/users/fgalan/following{/other_user}","gists_url":"https://api.github.com/users/fgalan/gists{/gist_id}","starred_url":"https://api.github.com/users/fgalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgalan/subscriptions","organizations_url":"https://api.github.com/users/fgalan/orgs","repos_url":"https://api.github.com/users/fgalan/repos","events_url":"https://api.github.com/users/fgalan/events{/privacy}","received_events_url":"https://api.github.com/users/fgalan/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T10:45:38Z","updated_at":"2015-05-04T10:45:38Z","body":"From 0.21.0 on (about to be released), CB no longer returns the \"Redirected to\" detail in order to improve client transparence and topology-hiding security. Thus, this issue will be closed."}}