wirecloud-fiware / ngsi-source-operator

WireCloud operator for using Orion Context Broker as data source
Apache License 2.0
2 stars 10 forks source link

Add support for multitenant context brokers (FIWARE-Service header) #3

Closed justb4 closed 8 years ago

justb4 commented 8 years ago

This request comes from StackOverflow

Basically, add a new preference for indicating what tenant is to be used for connecting to the context broker (if the preference is empty, then the FIWARE-Service header is not used).

See similar issue and fix here: https://github.com/wirecloud-fiware/ngsi-browser-widget/issues/1

justb4 commented 8 years ago

Ok, good to see, but I think the config.xml should also be updated to allow the user to set ngsi_tenant.

aarranz commented 8 years ago

Yeah, sorry, I pushed the changes by error. I've uploading also the commit adding the preference into the config.xml. I don't expect more problems, but I testing it just now, if everything goes well I will upload it into FIWARE Lab in a few minutes :).