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":=""
Unknown macro: {="" "attributes"}
, "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@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@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.
Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
Please, send your messages using the new domain (Fiware-tech-help@lists.fiware.org) instead of the old one.
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
[Created via e-mail received from: philippe.gibert@orange.com]