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
When multiple AAS are equipped with a submodel having the same identifier, the statement /shells/{aasIdentifier}/submodels/{submodelIdentifier} will only retrieve the data from the first AAS on the server that includes this submodel, regardless of the specified aasIdentifier.
Meaning:
/shells/AAS-1/submodels/Technical-Data will return all elements from SM Technical-Data of AAS-1 > correct
/shells/AAS-2/submodels/Technical-Data will also return all elements from SM Technical-Data of AAS-1 > not correct
Two different submodels with same identifiers coming from different AAS environments raise some open questions, e.g., if the submodels with already existing identifiers be allowed in the same server. etc.
We will come back to you on this with more information.
In my opinion, already existing Submodel identifier should be allowed on the same server as this is more practicable, e.g., for using identic "blueprint" submodels like technical data or nameplate multiple times within different AAS. In addition, it is possible to address a specific submodel uniquely using the combination of AAS-id and the correspondig SM-id.
Contact Details
patrick.sapel [ at ] ikv.rwth-aachen.de
Describe the bug
When multiple AAS are equipped with a submodel having the same identifier, the statement /shells/{aasIdentifier}/submodels/{submodelIdentifier} will only retrieve the data from the first AAS on the server that includes this submodel, regardless of the specified aasIdentifier.
Meaning:
To reproduce and Expected Behaviour
To reproduce, you can use the demo server and the two examples below:
https://v3.admin-shell-io.com/swagger/index.html
/shells/ZGlnaXRhbC5zaWNrLmNvbS9zaGVsbHMvMTA5MjAxNw/submodels/ZGlnaXRhbC5zaWNrLmNvbS9zaGVsbHMvc3VibW9kZWxzL25hbWVwbGF0ZQ
or
aasIdentifier: ZGlnaXRhbC5zaWNrLmNvbS9zaGVsbHMvMTA5MjAxNw
submodelIdentifier: ZGlnaXRhbC5zaWNrLmNvbS9zaGVsbHMvc3VibW9kZWxzL25hbWVwbGF0ZQ
Expected value for PROP ManufacturerProductDesignation = AHM36B-S4QC012x12 (correct)
/shells/ZGlnaXRhbC5zaWNrLmNvbS9zaGVsbHMvMTA4OTc5NA/submodels/ZGlnaXRhbC5zaWNrLmNvbS9zaGVsbHMvc3VibW9kZWxzL25hbWVwbGF0ZQ
or
aasIdentifier: ZGlnaXRhbC5zaWNrLmNvbS9zaGVsbHMvMTA4OTc5NA
submodelIdentifier: ZGlnaXRhbC5zaWNrLmNvbS9zaGVsbHMvc3VibW9kZWxzL25hbWVwbGF0ZQ
Expected value for PROP ManufacturerProductDesignation = SIG200-0A0412200 (but it displays AHM36B-S4QC012x12 )
Version
https://v3.admin-shell-io.com/swagger/index.html (08.04.2024) and AASX Server V3 2023-11-17.alpha
Thank you for your support!
The text was updated successfully, but these errors were encountered: