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

FIWARE.Question.Tech.Orion-LD Subscription Issues.

    Details

      Description

      Created question in FIWARE Q/A platform on 04-11-2021 at 08:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/69836595/orion-ld-subscription-issues

      Question:
      Orion-LD Subscription Issues

      Description:
      I am running Orion-LD:0.8.0 as a service in a docker-compose.
      I want to create a subscription that fires every time that a new entity of type=Event is created in the broker. The subscription should fire the webhook to another service in the docker-compose, which doesn't seem to be working. I'm wondering if it's an issue of how I've written the subscription or something else.
      The subscription as returned from the get request in the broker:
      [
      {
      "id": "urn:ngsi-ld:Subscription:618397ade7b95210721ae0dd",
      "type": "Subscription",
      "description": "notify of new events",
      "entities": [

      { "type": "Event" }

      ],
      "notification": {
      "attributes": [
      "id"
      ],
      "format": "keyValues",
      "endpoint":

      { "uri": "http://anotherservice:1234/hook/events", "accept": "application/json" }

      },
      "@context": "linktocontext"
      }
      ]

        Activity

          People

          • Assignee:
            kzangeli Ken Zangelin
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: