[Backlogmanager] [FIWARE-JIRA] (HELP-15154) [fiware-stackoverflow] FIWARE Orion Docker container: problems in notification subscriptions

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Tue Jan 8 08:58:00 CET 2019


     [ https://jira.fiware.org/browse/HELP-15154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez updated HELP-15154:
----------------------------------
    Description: 
Created question in FIWARE Q/A platform on 12-12-2018 at 16:12
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/53746833/fiware-orion-docker-container-problems-in-notification-subscriptions


+Question:+
FIWARE Orion Docker container: problems in notification subscriptions

+Description:+
I'm using Orion on my own server (through the provided Docker container (container Orion at version 1.14.0-next)).
Everything works except the subscriptions.
I found a lot of possible contents to send to Orion to submit a subscription but I continue to see "status": "failed" when I query the list of subscriptions (and, in any case, no data is received). Do you have any idea on how to solve such a problem?

In the following you can find the links to the different versions I tried:


http://telefonicaid.github.io/fiware-orion/api/v2/stable/
https://fiware-orion.readthedocs.io/en/master/user/walkthrough_apiv2/index.html#subscriptions


and also (even though it is for a different purpose):


https://fiware-orion.readthedocs.io/en/master/user/initial_notification/index.html


and finally one of the submitted subscriptions:

(curl localhost:1026/v2/subscriptions -s -S --header 'Content-Type: application/json' -d @-) <<EOF
{
  "description": "A subscription to get info about Compartment",
  "subject": {
    "entities": [
      {
        "id": "Compartment",
        "type": "Compartment"
      }
    ],
    "condition": {
      "attrs": [
        "lastUpdate"
      ]
    }
  },
  "notification": {
    "http": {
      "url": "http://0.0.0.0:1028/accumulate"
    },
    "attrs": [
    ]
  },
  "expires": "2040-01-01T14:00:00.00Z",
  "throttling": 1
}
EOF



  was:

Created question in FIWARE Q/A platform on 12-12-2018 at 16:12
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/53746833/fiware-orion-docker-container-problems-in-notification-subscriptions


+Question:+
FIWARE Orion Docker container: problems in notification subscriptions

+Description:+
I'm using Orion on my own server (through the provided Docker container (container Orion at version 1.14.0-next)).
Everything works except the subscriptions.
I found a lot of possible contents to send to Orion to submit a subscription but I continue to see "status": "failed" when I query the list of subscriptions (and, in any case, no data is received). Do you have any idea on how to solve such a problem?

In the following you can find the links to the different versions I tried:


http://telefonicaid.github.io/fiware-orion/api/v2/stable/
https://fiware-orion.readthedocs.io/en/master/user/walkthrough_apiv2/index.html#subscriptions


and also (even though it is for a different purpose):


https://fiware-orion.readthedocs.io/en/master/user/initial_notification/index.html


and finally one of the submitted subscriptions:

(curl localhost:1026/v2/subscriptions -s -S --header 'Content-Type: application/json' -d @-) <<EOF
{
  "description": "A subscription to get info about Compartment",
  "subject": {
    "entities": [
      {
        "id": "Compartment",
        "type": "Compartment"
      }
    ],
    "condition": {
      "attrs": [
        "lastUpdate"
      ]
    }
  },
  "notification": {
    "http": {
      "url": "http://0.0.0.0:1028/accumulate"
    },
    "attrs": [
    ]
  },
  "expires": "2040-01-01T14:00:00.00Z",
  "throttling": 1
}
EOF



     HD-Enabler: Orion

> [fiware-stackoverflow] FIWARE Orion Docker container: problems in notification subscriptions
> --------------------------------------------------------------------------------------------
>
>                 Key: HELP-15154
>                 URL: https://jira.fiware.org/browse/HELP-15154
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>              Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 12-12-2018 at 16:12
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/53746833/fiware-orion-docker-container-problems-in-notification-subscriptions
> +Question:+
> FIWARE Orion Docker container: problems in notification subscriptions
> +Description:+
> I'm using Orion on my own server (through the provided Docker container (container Orion at version 1.14.0-next)).
> Everything works except the subscriptions.
> I found a lot of possible contents to send to Orion to submit a subscription but I continue to see "status": "failed" when I query the list of subscriptions (and, in any case, no data is received). Do you have any idea on how to solve such a problem?
> In the following you can find the links to the different versions I tried:
> http://telefonicaid.github.io/fiware-orion/api/v2/stable/
> https://fiware-orion.readthedocs.io/en/master/user/walkthrough_apiv2/index.html#subscriptions
> and also (even though it is for a different purpose):
> https://fiware-orion.readthedocs.io/en/master/user/initial_notification/index.html
> and finally one of the submitted subscriptions:
> (curl localhost:1026/v2/subscriptions -s -S --header 'Content-Type: application/json' -d @-) <<EOF
> {
>   "description": "A subscription to get info about Compartment",
>   "subject": {
>     "entities": [
>       {
>         "id": "Compartment",
>         "type": "Compartment"
>       }
>     ],
>     "condition": {
>       "attrs": [
>         "lastUpdate"
>       ]
>     }
>   },
>   "notification": {
>     "http": {
>       "url": "http://0.0.0.0:1028/accumulate"
>     },
>     "attrs": [
>     ]
>   },
>   "expires": "2040-01-01T14:00:00.00Z",
>   "throttling": 1
> }
> EOF



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy