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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        martial.granger Martial Granger made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        martial.granger Martial Granger made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        martial.granger Martial Granger made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        HD-Enabler Cepheus [ 10883 ]
        Description
        Created question in FIWARE Q/A platform on 09-08-2018 at 12:08
        {color: red}Please, ANSWER this question AT{color} 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.
        Created question in FIWARE Q/A platform on 09-08-2018 at 12:08
        {color: red}Please, ANSWER this question AT{color} 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.
        fla Fernando Lopez made changes -
        Assignee Gilles Privat [ gprivat ] Martial Granger [ martial.granger ]
        veronika Veronika Vlnkova made changes -
        Field Original Value New Value
        Assignee Gilles Privat [ gprivat ]
        backlogmanager Backlog Manager created issue -

          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: