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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler Orion [ 10875 ]
        HD-Chapter Data [ 10838 ]
        oriondev TID Orion Developer made changes -
        Summary FIWARE.Question.Tech.Data.Orion Context Broker - subscriptions FIWARE.Question.Tech.Data.OrionContextBroker.OrionCBSubscriptions
        oriondev TID Orion Developer made changes -
        Summary [fiware-stackoverflow] Orion Context Broker - subscriptions FIWARE.Question.Tech.Data.Orion Context Broker - subscriptions
        mev Manuel Escriche made changes -
        Assignee Fermín Galán [ fermin ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          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: