[ https://jira.fiware.org/browse/HELP-13373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fernando Lopez deleted HELP-13373: ---------------------------------- > [fiware-stackoverflow] Subscription from an Orion Context Broker to another Orion Context Broker doesn't work > ----------------------------------------------------------------------------------------------------------------- > > Key: HELP-13373 > URL: https://jira.fiware.org/browse/HELP-13373 > Project: Help-Desk > Issue Type: Monitor > Reporter: Backlog Manager > Labels: fiware, fiware-orion > > Created question in FIWARE Q/A platform on 29-07-2014 at 09:07 > {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/25010070/subscription-from-an-orion-context-broker-to-another-orion-context-broker-doesn > +Question:+ > Subscription from an Orion Context Broker to another Orion Context Broker doesn't work > +Description:+ > I have created a new Orion instance on fi-lab in order to connect it to a CEP instance managed with us too. The data, which is going to be stored on my Orion instance, has to be provided by the existent Orion Instance located on orion.lab.fi-ware.eu:1026 > In order to have the data available in the new Orion instance, a subscription request is sent to the "principal" Orion instance. This subscription is an ONCHANGE subscription and the request is made with the appropiate header tokens to the URL http://orion.lab.fi-ware.eu:1026/NGSI10/subscribeContext > The request content is the following: > { > "entities": [ > { > "type": "location:mytype", > "isPattern": "false", > "id": "x:y:z" > } > ], > "attributes": [], > "reference": "http://a.b.c.d:1026/", > "duration": "P1M", > "notifyConditions": [ > { > "type": "ONCHANGE", > "condValues": [ > "TimeInstant" > ] > } > ] > } > When I make this request, the response is: > <subscribeContextResponse> > <subscribeResponse> > <subscriptionId>53d7473d1860a3cb2359ff11</subscriptionId> > <duration>P1M</duration> > </subscribeResponse> > </subscribeContextResponse> > But when I update the attribute 'TimeInstant' from the entity 'x:y:z' in the original Context Broker there is no changes on the similar entity in my Orion Instance. So there is no update request from the original Orion to my Orion. > I have accomplished this ONCHANGE subscription from my Orion Context Broker instance to the Proton engine, only by changing the url reference attribute from the request to the CEP url which receive events. > The CB entity works with a security group which enables access from 22, 8080 and 1026 ports. > I think the problem is in the URL reference attribute, I have tried with the a.b.c.d:1026/NGSI10/updateContext too and I have the same problem. > Could someone give me any ideas about my problem? -- 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