[Fiware-creatifi-coaching] [CreatiFI Italy Hub] Data Handling EspR4FastData GE: headers in REST calls

Andrea Maestrini amaestrini at create-net.org
Thu May 28 14:58:17 CEST 2015


Dear FIWARE coach,
we forward you a support request received from a CreatiFI applicant we are
not able to solve.
Please let us know if you need direct contact with the submitter.
Thanks.

**********************************

Dear,
an issue to redirect to the developers of Data Handling EspR4FastData GE.

I am currently using Data Handling GE as an NGSI source for Orion Context
Broker; in other words, I set an Orion
instance as an event sink. All works fine and Orion get notified about any
update of my entities.
But for my project I need several NGSI sources and all should notify every
update to the same Orion instance.

Orion can handle this scenario using the multitenant mode. Data coming from
various tenants can be saved on different mySQL databases.
The mechanism used to instruct Orion to separate the data streams coming
from different tenants requires to add two specific headers:
"fiware-service"e and "fiware-servicepath" to each updateContext REST call.

To my understanding, Data Handling Ge seems to ignore any header added to a
request, unless I am wrong. So I cannot leverage the multitenant capability
of Orion.

There are planned developments to include headers management?

PS:
see my question/answer on stackoverflow for further details:
http://stackoverflow.com/questions/30485150/subscription-to-cygnus-in-case-of-orion-context-broker-multitenant-not-working/

**********************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-creatifi-coaching/attachments/20150528/c6bfc72a/attachment.html>


More information about the Fiware-creatifi-coaching mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy