-
Notifications
You must be signed in to change notification settings - Fork 9
server does not publish uuid to 'self' property #29
Comments
Exception: More than one vessel present, and no |
The current server publishes all data in the
|
I think the main use case for this is being able to retrieve self id explicitly via http for whatever purposes one might need it. Fixed this in Node server SignalK/signalk-server#111
Didn't get this - as I see it this is about full & http api, not delta. |
I think my problem here is that the java-server doesn't publish the self property in the rest api. I start up and load the initial data from the REST API and then fire off a thread to do websocket delta processing. If my background websocket thread hasn't processed the hello message, which actually does require a should my client block on a hello message? maybe.. to know the websocket is connected, ne? |
this insures we have had a chence to get the self value from the signalk java server. It doesn't publish a self property in the reset API. SignalK/signalk-server-java#29
Well, I think that the spec says (a bit amibiguously maybe) that the rest api should provide self: http://signalk.org/specification/master/keys/#self Here the appropriate action would be to add this functionality to the java server. I think that with every move we should move towards more spec compliance and less towards workarounds for specific server implementation details. And I am not saying that Node server is 100% compliant, just that this should be the general direction. |
We have already added a Hello in iKommunicate Deltas when a socket is opened and will be adding the RestAPI self call as well but it is not implemented yet. |
We agree that work arounds should be avoided and will do our best to get iKommunicate spec compliant ASAP |
Well, to be fair, the spec does not mark |
this insures we have had a chence to get the self value from the signalk java server. It doesn't publish a self property in the reset API. SignalK/signalk-server-java#29
I will add it to the REST API |
Added in JIT-DEPLOY-34 |
as specified here: https://github.com/SignalK/specification/blob/master/schemas/signalk.json#L12, a signalk server shoud publish the self propery containing the uuid of the vessel on which the server is running.
The text was updated successfully, but these errors were encountered: