-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments following review #14
Comments
Responses below...
|
A few more comments. Sorry for the volume, just want to make sure there's a note of these before the deadline:
|
Hi Andrew, I quick reply to number 10. One example is in the health messages for websocket. The creation_timestamp is sent by the server at the time of generating the response whereas the origin_timestamp is the original timestamp sent by the client in the health command. You could use this information to measure a rough round-trip time. |
Hi Andrew, |
I am very late to the party in reviewing Event & Tally, sorry - not enough bandwidth! Andrew's item 12 jumped out at me as well. Using JSON Schema for type definitions, or a similar kind of cut-down JSON Schema that we adopted for IS-05 constraints, looks to me like it ought to work well here. The first thing that jumped out at me was seeing “min_length” rather than “minLength” for strings, and then the different way of defining enums, and rationals. |
broker_topic vs. rest_api_url I'm not an MQTT expert; would it make sense to add "events" before "source" in the broker_topic, to clearly indicate this spec, and possibly the version too? E.g. {
"broker_topic": "x-nmos/events/v1.0/sources/{sourceId}",
"rest_api_url": "http://hostname/x-nmos/events/v1.0/sources/{sourceId}/"
} I also wonder whether using "href", or "events_href", rather than "rest_api_url", would be more consistent with the naming of similar URL properties in IS-04? |
Regarding item 11: I have now added flow_id to the messages sent over one of the transports. Please note that no flow_id will be returned in the JSON when returning values through the REST API as there is not necessarily a 1:1 relationship between a source and a flow (the API is defined on the source as that is where the state is held). |
Hi Gareth, These parameter names are deprecated and as part of discussions with Andrew (he is looking at additions in IS-04 and IS-05) we have decided to go with some other names. The more up to date versions are in my pull request here: |
The spelling of that field was done with underscores so it would be compatible with the rest of NMOS where multi-word property names are spelled that way. The purpose of the type definition is to communicate the metadata related to the state in a simple and easy readable way and not to provide validation. |
@cristian-recoseanu > The more up to date versions are in my pull request OK, thanks! I knew I had a lot to catch up with. :-) @mjeras > The purpose of the type definition is to communicate the metadata related to the state in a simple and easy readable way and not to provide validation. Neither are the IS-05 constraints about validation so much as setting expectation. It seems a good fit to me, but I may have missed some subtlety. |
@garethsb-sony |
I'm copying a few comments here that I originally sent via e-mail, just so they're a bit easier to track and resolve. Responses from @cristian-recoseanu are noted underneath in italics.
I don’t have a strong opinion on this and we just made a decision so we could move on with the work. Would you recommend using the simple _mqtt._tcp instead?
The text was updated successfully, but these errors were encountered: