[Backlogmanager] [FIWARE-JIRA] (HELP-19888) [fiware-stackoverflow] Subscription to QuantumLeap doesnt work Orion Context Broker

Jason Fox (JIRA) jira-help-desk at jira.fiware.org
Mon Aug 15 12:33:00 CEST 2022


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

Jason Fox resolved HELP-19888.
------------------------------
    Resolution: Done

> [fiware-stackoverflow] Subscription to QuantumLeap doesnt work Orion Context Broker
> -----------------------------------------------------------------------------------
>
>                 Key: HELP-19888
>                 URL: https://jira.fiware.org/browse/HELP-19888
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Jason Fox
>              Labels: fiware
>
> Created question in FIWARE Q/A platform on 29-07-2022 at 09:07
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/73164310/subscription-to-quantumleap-doesnt-work-orion-context-broker
> +Question:+
> Subscription to QuantumLeap doesnt work Orion Context Broker
> +Description:+
> I continued with the project, but now i have encountered a problem with a subscription to quantumleap, here is the subscription: curl -iX POST 'http://localhost:1026/v2/subscriptions/' -H 'Content-Type: application/json' -H 'Fiware-Service: myClassRoom'  -H 'Fiware-ServicePath: /' -d '{ "description": "Notify QuantumLeap when the temperature changes", "subject": { "entities": [ { "idPattern": "SensTemp.*" } ], "condition": { "attrs": [ "temperature" ] } }, "notification": { "http": { "url": "http://quantum-leap:8668/v2/notify" }, "attrs": [ "temperature" ], "metadata": ["dateCreated", "dateModified"] },"expires": "2025-02-03T08:00:00.00Z", "throttling": 5 }' 
> And it gives me a positive response like this HTTP/1.1 201 Created Connection: Keep-Alive Content-Length: 0 Location: /v2/subscriptions/62e3a39b8aa7c71c4b3e6c05 Fiware-Correlator: 0b597668-0f1e-11ed-b343-0242ac120005 Date: Fri, 29 Jul 2022 09:08:43 GMT 
> But when i check for the subscriptions on Orion context Broker it doesn't exists: curl -X GET   --url 'http://localhost:1026/v2/subscriptions/'  i get the response []
> Can someone help me? Why it doesn't see the subscription?
> It also shows on the server screen that is created, but when i want to check for the subscriptions, they don't exist srdjan-orion-1         | time=2022-07-29T09:18:31.342Z | lvl=INFO | corr=69e57bcc-0f1f-11ed-abf0-0242ac120005 | trans=1659082790-602-00000000170 | from=172.18.0.1 | srv=myclassroom | subsrv=/ | comp=Orion | op=logTracing.cpp[148]:logInfoRequestWithPayload | msg=Request received: POST /v2/subscriptions/, request payload (377 bytes): { "description": "Notify QuantumLeap when the temperature changes", "subject": { "entities": [ { "idPattern": "SensTemp" } ], "condition": { "attrs": [ "temperature" ] } }, "notification": { "http": { "url": "http://quantum-leap:8668/v2/notify" }, "attrs": [ "temperature" ], "metadata": ["dateCreated", "dateModified"] },"expires": "2025-02-03T08:00:00.00Z", "throttling": 5 }, response code: 201 



--
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