Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4945

FIWARE.Question.Tech.Data.OrionContextBroker.NotWorkingSubscriptionsBetweenOrionCBs

    Details

      Description

      Created question in FIWARE Q/A platform on 29-07-2014 at 09:07
      Please, ANSWER this question AT http://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:

      <subscriptionId>53d7473d1860a3cb2359ff11</subscriptionId>

      <duration>P1M</duration>

      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?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-23 18:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-23 18:05|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-23 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-23 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-24 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-24 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-24 03:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-24 03:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: