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

[fiware-askbot] REST API URL to subscribe orion from Cepheus cep

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: None
    • Labels:

      Description

      Created question in FIWARE Q/A platform on 09-08-2018 at 12:08
      Please, ANSWER this question AT https://ask.fiware.org/question/1026/rest-api-url-to-subscribe-orion-from-cepheus-cep/

      Question:
      REST API URL to subscribe orion from Cepheus cep

      Description:
      An entity is created at orion and we want to subscribe it from cepheus cep.
      i am using /v1/subscribeContext url for subscription. Body of this POST method url is below
      {
      "entities": [

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

      ],
      "attributes": [
      "pressure","temperature"
      ],
      "reference": "http://localhost:8080",
      "duration": "P1M",
      "notifyConditions": [

      { "type": "ONCHANGE", "condValues": [ "pressure","temperature" ] }

      ],
      "throttling": "PT5S"
      }

      Now in reference tag i have to give URL where this subscribed value will be published. If i give simple 'localhost:8080' then it will not work. i have to give a specific URL. Can anyone please let me know what may the URL of CEP where orion will publish.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        32d 7h 22m 1 Martial Granger 11/Sep/18 4:28 PM
        In Progress In Progress Answered Answered
        5m 12s 1 Martial Granger 11/Sep/18 4:33 PM
        Answered Answered Closed Closed
        2s 1 Martial Granger 11/Sep/18 4:33 PM

          People

          • Assignee:
            martial.granger Martial Granger
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: