-
Couldn't load subscription status.
- Fork 9
Description
What?
An AAS contains references to its submodels. At the same time, an AAS descriptor contains submodel descriptors, thus implicitly providing information about the submodels associated with the AAS. In addition, a separate submodel registry may contain a descriptor for the same submodel.
Consequently, (a) the "AAS -> Submodel" relationship information is redundant between the AAS and the AAS Registry, and (b) the "SubmodelId -> SubmodelDescriptor" information is redundant between the AAS Registry and the Submodel Registry.
This leads to the following problems:
- Inconsistent state of the "AAS -> Submodel" relationship if the submodel references of an AAS are changed but the AAS registry is not updated, and vice versa. This can happen not only due to oversight, but also due to simple timing issues, as it can't be guaranteed that the AAS & registry updates happen at the same time.
- Inconsistent state of "SubmodelId -> SubmodelDescriptor" information due to the AAS registry being updated (e.g. with a new submodel endpoint due to a deployment change) and the submodel registry not being updated and vice versa. Again, this can happen not only due to oversight, but also due to simple timing issues, as it can't be guaranteed that the AAS registry & submodel registry updates happen at the same time.
How?
Clarify where the ground truth is for "AAS -> Submodel" relationship information as well as "SubmodelId -> SubmodelDescriptor" information.
From my point of view, it would be best to define a clear retrieval sequence (see figure below) and mark the use of SubmodelDescriptors in AASDescriptors as deprecated.

