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

FIWARE.Question.Tech.Data.OrionContextBroker.SubscribeToAllContextUpdates

    Details

      Description

      Created question in FIWARE Q/A platform on 05-08-2015 at 09:08
      Please, ANSWER this question AT http://stackoverflow.com/questions/31826459/fiware-context-broker-can-we-subscribe-to-all-the-context-updates

      Question:
      Fiware Context Broker: can we subscribe to all the context updates?

      Description:
      I am using Fiware cygnus to subscribe to orion context broker entities.
      Is it possible to subscribe to all the context updates with one script?
      I dont want to do it one by one.
      Here is an example of subscription:

      (curl 192.168.1.79:1026/v1/subscribeContext s -S --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Fiware-Service: test' --header 'Fiware-ServicePath: /testPath' -d @ | python -mjson.tool) <<EOF
      {
      "entities": [

      { "type": "room", "isPattern": "false", "id": "temperature" }

      ],
      "attributes": [
      "tmpValue"
      ],
      "reference": "http://192.168.1.40:5050/notify",
      "duration": "P1M",
      "notifyConditions": [

      { "type": "ONCHANGE", "condValues": [ "tmpValue" ] }

      ],
      "throttling": "PT1S"
      }
      EOF

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

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

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

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

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

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

        Show
        backlogmanager Backlog Manager added a comment - 2015-11-13 00:05|UPDATED status: transition Answered| # 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: