You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two valid ways to implement AAS registries:
AAS Registry including SubmodelDescriptors
AAS Registry containing AAS endpoint but no SubmodelDescriptors + separate Submodel Registry
In the first case the ID of the Submodel is not needed because it is implicitly contained in the endpoint. Many operators probably would also prefer to hide this (internal) Submodel/id.
How?
Make SubmodelDescriptors/id optional
add constraint for SubmodelRegistry that it is mandatory for it
Or
Make two SubmodelDescriptors classes, one for AAS registry and one for Submodel Registry
This change is backward compatible
I have signed the required Developer Certificate of Origin (DCO) already.
The text was updated successfully, but these errors were encountered:
Many operators probably would also prefer to hide this (internal) Submodel/id.
Are you saying that there are use cases where the Submodel provider wants to expose the existence of a certain Submodel to the public / certain audience but hide its identifier? What would be the benefit of it?
I think I understand the motivation now. In case only an AAS Registry is provided, and the GetSubmodelDescriptorByIdThroughSuperpath API Operation is not exposed, the SubmodelDescriptors/id field would indeed not be necessary.
This would however require that at least one new profile for the AAS Registry is created, with at max. a POST and GET on /shell-descriptors/{aasIdentifier}/submodel-descriptors. PUT or DELETE on individual SubmodelDescriptors would not be possible anymore.
In addition, we definitely need a corresponding constraint that regulates when SubmodelDescriptors/id is needed and when not, and an own "SubmodelDescriptors-with-optional-id" OpenAPI class...
It will add a lot of additional complexity, not sure yet if the added value is worth it.
What?
There are two valid ways to implement AAS registries:
In the first case the ID of the Submodel is not needed because it is implicitly contained in the endpoint. Many operators probably would also prefer to hide this (internal) Submodel/id.
How?
Make SubmodelDescriptors/id optional
Or
Make two SubmodelDescriptors classes, one for AAS registry and one for Submodel Registry
This change is backward compatible
The text was updated successfully, but these errors were encountered: