-
Notifications
You must be signed in to change notification settings - Fork 68
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
Convert Vehicle Signal Client spec from markdown to respec #137
Conversation
Great! Thank you, Powell. |
@Hirabayashi-KDDI: Thank you for the comment. I will make the update and push to this branch later today. |
Updates made based on @Hirabayashi-KDDI's comments. |
Hi Powell-san , thanks for the nice job! A) 4. W3CClient() > Client Options > Connection PropertiesIn VISS, B) 4. W3CClient() > Client Options > Handler Properties > onErrorThe returned error is C) 4. W3CClient() > FunctionsLooks some functions provide D) 4. W3CClient() > Functions: authenticate()
According to below URL, in authentication, usuallly
E) 4. W3CClient() > Functions: get()I suppose,
F) 4. W3CClient() > Functions: subscribe()In VISS, G) 5. Subscription Object > EXAMPLE3There is H) 6. VSS Object > pathsByCSS()How much portion of CSS selectors will be supported, do you think? In https://www.w3.org/TR/css3-selectors/#selectors
I'm not sure about these things. May be not very important..
Another point is how to describe about supported functions. I) 6. VSS Object > EXAMPLE4There are description of J) GeneralI suppose better to add K) OthersIn VISS, 'wss://' is MUST condition and in VIAS 'wss://' is written as strongly recommended. |
I hasten to make another comment. If the above policy applies to this spec, description about interaction between VISS and VIAS should be non-normative as a guideline for implementation. VIAS could be independent of VISS. If you and everyone will be agreeable to the above thoughts, I will help editing works, referring to the previous spec [1]. |
@aShinjiroUrata: Thank you for your great comments. I have addressed them below individually. A) In practice, this should be internal to the library. I don't believe that the abstraction we are providing should require this knowledge on the client side. Additionally, if this is the only option, then we probably shouldn't offer any way to change it (See my answer to point K). B) It could be, but in addition to the errors returned by VISS there are client-side errors (i.e. timeout, no-connect, bad response format, etc.) that are also included here. We could make a note that the error format is left to the implementation and/or could require that when an error is returned directly by the VISS, that the structure/format be preserved here. C) Hmm. I only provide a client to the callback on the D) "Authorize" is the appropriate term as as I am "authorizing" this connection for certain access that it didn't have before. The Authentication of the token I am using is up to the client's internal implementation since at this point I have already "Authenticated" myself with the token-issuing authority in order to get the token. If there is confusion, perhaps we can change the function name to E) I would assume that the F) Agreed, that we should directly reference the filter spec from VISS here if possible so as not to duplicate anything. G) It might be possible to handle expiration of authorization via a general H) That is a great question, and I think the best bet now is to, as you said, leave it as an implementation-dependent feature set. I will add a note to that effect. I) Yes, thank you for catching that. J) I will add to all the parameter tables. K) I will defer to the VISS spec. If it's a I'll begin working on addressing B, C, E, H, I, and J right away and we can continue discussing the others.
|
…backs, adding clarification to a few other items.
Hi, Powell-san, |
Hi Powell-san,
Since this pull request is submission of respec version of Vehicle Information API Spec,
By following above strategy, this pull request is OK to merge for me. |
As remaining issues are already separated as github issues, I think this Pull Request is ready to merge. |
@aShinjiroUrata I am ok with merging @pkinney 's pull request. |
Rudi-san Thanks for the comment. Could someone merge this PR? Or may be grant me 'write access'? |
Hi Urata-san, |
Urata-san, I have increased your permissions in this repository. |
Adam-san, Ted-san, thank you so much! |
No description provided.