[Fiware-tech-help] fiware orion subscriptions

philippe.gibert at orange.com philippe.gibert at orange.com
Tue Feb 23 14:31:48 CET 2016


Hello, these following different points are not clear for me .....
My SW context :
     - I run a docker orion (version 0.27.0-next) in debug mode
     - i run a compiled  fiware-cygnus-0.11.0  locally( works well  when i send a notif to http://localhost:5050/notify, my  CKAN sink receive the notif) .. good
The issue is about V1 or V2 api version  , not clear for me ...
i have registered a subscription with v2 prefix
curl localhost:1026/v2/subscriptions -s -S --header 'Content-Type: application/json' --header 'Accept: application/json' -X POST-d @- | python -mjson.tool) <<eof {="" "expires":="" "2016-02-18t01:00:00.00z",="" "notification":="" {="" "attributes":="" [="" "temperature",="" "humidity"="" ],="" "callback":="" "http:="" localhost:5050="" notify",="" "throttling":="" 1="" },="" "subject":="" {="" "condition":="" {="" "attributes":="" [="" "temperature="" "="" ],="" "expression":="" {="" "q":="" "temperature="">40" } }, "entities": [ { "id": "Bcn-Welt5", "type": "Room" } ] } } EOF
i see it in the subscription list ...... with curl localhost:1026/v2/subscriptions .......
so want to create/update entities . So i use v1 or v2 api version  for entities ?
best regards phil


[Description : Description : Description : cid:image002.gif at 01CDFAED.D49218F0]<http://www.orange.com/>
Philippe Gibert
Ingénieur R&D
FT/IMT/OLPS/BIZZ/INFSVC/EMB
tél. +33 4 92 94 53 70
mob. +33 6 73 41 11 18
philippe.gibert at orange.com



_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20160223/5106c09d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1264 bytes
Desc: image001.gif
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20160223/5106c09d/attachment.gif>


More information about the Fiware-tech-help mailing list

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