[ https://jira.fiware.org/browse/HELP-13368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez deleted HELP-13368:
----------------------------------
> [fiware-stackoverflow] Global Context Broker Federation
> -------------------------------------------------------
>
> Key: HELP-13368
> URL: https://jira.fiware.org/browse/HELP-13368
> Project: Help-Desk
> Issue Type: Monitor
> Reporter: Backlog Manager
> Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 12-08-2014 at 20:08
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/25271504/global-context-broker-federation
> +Question:+
> Global Context Broker Federation
> +Description:+
> Until now, I've been working with a context Broker Instance in stand-alone mode created in Fi-Lab/Cloud and using psb-orion-image. Now I would like to federate an instance of that CB with http//orion.lab.fi-ware.org. I use XML forms to create, update... and the name of the instance to federate is "UPCT:TEMPERATURE:SENSOR" wich sensor type is "UPCT:SENSOR".
> So, connecting by SSH I send the next form:
> (curl localhost:1026/NGSI10/subscribeContext -s -S --header 'Content-Type: application/xml' -d @- | xmllint --format -) <<EOF
> <?xml version="1.0"?>
> <subscribeContextRequest>
> <entityIdList>
> <entityId type="UPCT:SENSOR" isPattern="false">
> <id>UPCT:TEMPERATURE:SENSOR</id>
> </entityId>
> </entityIdList>
> <reference>http://orion.lab.fi-ware.eu:1026/ngsi10/notifyContext</reference>
> <duration>P1M</duration>
> <notifyConditions>
> <notifyCondition>
> <type>ONCHANGE</type>
> <condValueList>
> <condValue>temperature</condValue>
> </condValueList>
> </notifyCondition>
> </notifyConditions>
> <throttling>PT5S</throttling>
> </subscribeContextRequest>
> EOF
> And I get a right reply, with and subscription ID. However, if I update de contextValue of my instance and try to send a query to http://orion.lab.fi.ware.eu:1026 I receive an error:
> -:1: parser error : Start tag expected, '<' not found
> Auth-token not found in request header
> ^
> I think I should get the same value that I update to my Instance as indicate in
> https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Publish/Subscribe_Broker_-_Orion_Context_Broker_-_User_and_Programmers_Guide#Context_Broker_Federation
> I need to know what's wrong and how could I do federete to the global CB.
> Thank you
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy