Open IAIS4EP opened 9 years ago
+1 (and congrats, Orion is becoming a really important piece of IoT infrastructure)
CC: @fortizc
We are going to start this work in November 2015 sprint. Let's see how it goes... :)
Olé!! :+1: Just in time! We need that feature in this moment. Thanks!
A first proof of concept will be done, based on the following encoding:
{
"verb": "POST",
"url": "/v2/entities",
"headers": {
"Fiware-Service": "myServ",
"Fiware-ServicePath": "/test2",
"X-Auth-Token": <...>
},
"payload": {
"type": "Room",
"id": "Bcn-Welt",
"temperature": 21.7,
"humidity": 60,
"location": {
"value": "41.3763726, 2.1864475",
"type": "geo:point",
"crs": "WGS84"
}
}
}
(Responses will be encoded in a similar way)
That way, it could be relatively easy to "link" the fields in the above JSON envelop with the current CB logic (ConnectionInfo mainly).
I would like to stress that this would be a first proof of concept. Once we achieve this step, evolutions and optimization of it would be done (anybody is welcome to suggest! please use the comments to this issue).
+1 This is woulde me a must, actually Orion's subscription needs an external url to receive messages
It would be a must Orion had a subscribe mechanism in the way Faye makes it : a client that has internet access subscribes to a channel on the server & stays connected using a socket.
Wish you the Best
+1 This could be very interesting in the context of working with actuators, for instance, operating a motorized robot remotely
A first proof of concept prototype has been developed (soon to be landed in the feature/1181_websockets so interested people may test and provide feedback). In order to complete the implementation so this code may land in develop branch some pending task should be completed:
Hello, this looks like a very interesting/important feature. Can I ask what is the status? Thanks
Current status involves two branches:
Taking into account the implementation is pretty old and that CB has evolved a lot during last year, probably it doesn't make much sense to complete the sub-issues for feature/1181_websocket to merge it into master. However, it can be very useful to guide a new implementaiton in a fresh branch. That's the point with proof-of-concepts: they allow to test and learn before the definitive implementation :)
Unfortunatelly, websockets are not currently a priority for us so we are not puting effort into this at the present moment.
Websocket Support for Context Broker:
In order to make the device and backend communication efficient it is desired by the Orion Context broker to support Websocket transport protocol.