[Backlogmanager] [FIWARE-JIRA] (HELP-14506) [fiware-askbot] REST API URL to subscribe orion from Cepheus cep

Martial Granger (JIRA) jira-help-desk at jira.fiware.org
Tue Sep 11 16:34:00 CEST 2018


    [ https://jira.fiware.org/browse/HELP-14506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=111714#comment-111714 ] 

Martial Granger commented on HELP-14506:
----------------------------------------

Hi,

is your orion server on the same machine ?
If not, I think that the problem is that your localhost machine is not accessible from the orion server...
you must provide an url that the orion server can access to (http://myserver/ or http://192.1.1.1/)

Best Regards

> [fiware-askbot] REST API URL to subscribe orion from Cepheus cep
> ----------------------------------------------------------------
>
>                 Key: HELP-14506
>                 URL: https://jira.fiware.org/browse/HELP-14506
>             Project: Help-Desk
>          Issue Type: Monitor
>            Reporter: Backlog Manager
>            Assignee: Martial Granger
>              Labels: fiware-cep
>
> 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.



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