-
Notifications
You must be signed in to change notification settings - Fork 7
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
idShort for Elements within SML: does this have impact on API? #334
Comments
I think this would be a breaking change to the API because a server could now return |
Remark: Most likely the final idShortPath would look like this: |
The API could define a parameter for path-with-list-number (default like today) and path-with-list-idshort: numbers re always available, idShort is optional. In case no idShort would be defined the index-number would be returned. I.e. add new value to Content Parameters in [Clause SerializationModifier](https://admin-shell-io.github.io/aas-specs-antora/IDTA-01002/v3.1/specification/interfaces-operation-parameters.html#SerializationModifier* |
Maybe we don't need a new ContentParameter. A V3.1 server may treat the following IdShortPaths equivalently: While a V3.0 server may return a the SubmodelElement for the first variant but return a 404 for the latter. But syntactically / functionally all will work. |
If we treat both idShortPaths equivalently, what about the results returned by a server for requests with If a server is free to return any format, this would be a breaking change as v.30 clients could not handle paths like The only way I see to keep backwards compatibility would be to force v3.1 servers to always return index-based idShortPaths while accepting both index-based and idShort-based idShortPaths. |
Feedback from implementers via TF Interoperability of Implementations:
The conclusion is that the TF recommends to not go forward with this changes until there is a solid use case/requirement. |
What is missing?
Describe the problem in short sentences, add a minimal example if possible
see
aas-spec #432
In V3.1 Metamodel is planned to support idShort also for SubmodelElementList. Does this have any impact on API?
The text was updated successfully, but these errors were encountered: