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

FIWARE.Question.Tech.Data.OrionContextBroker.OrionCBSubscriptions

    Details

      Description

      Created question in FIWARE Q/A platform on 16-06-2015 at 17:06
      Please, ANSWER this question AT http://stackoverflow.com/questions/30871644/orion-context-broker-subscriptions

      Question:
      Orion Context Broker - subscriptions

      Description:
      I have a small problem. Im doing a subscription to Orion Context Broker and I have a strange problem with URL of callback:
      this code works from tutorial:

      {
      "entities": [

      { "type": "Room", "isPattern": "false", "id": "Room1" }

      ],
      "attributes": [
      "temperature"
      ],
      "reference": "http://localhost:1028/accumulate",
      "duration": "P1M",
      "notifyConditions": [

      { "type": "ONTIMEINTERVAL", "condValues": [ "PT10S" ] }

      ]
      }

      But this code doesnt work:

      {
      "entities": [

      { "type": "Room", "isPattern": "false", "id": "Room1" }

      ],
      "attributes": [
      "temperature"
      ],
      "reference": "http://192.168.1.12:1028/accumulate?name=dupex",
      "duration": "P1M",
      "notifyConditions": [

      { "type": "ONTIMEINTERVAL", "condValues": [ "PT10S" ] }

      ]
      }

      Only difference is reference field:
      "reference": "192.168.1.12:1028/accumulate?name=dupex"

      I got:

      {
      "subscribeError": {
      "errorCode":

      { "code": "400", "reasonPhrase": "Bad Request", "details": "Illegal value for JSON field" }

      }
      }

      Any Suggestion please thank you.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

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

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

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

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

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

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

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

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-28 15: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: