Describe the bug
When adding a specificAssetId to a SelfManagedEntity and configuring the template in BaSyx, the API response returns an empty object for specificAssetIds instead of the expected values.
To Reproduce
- Add a specificAssetId in a SelfManagedEntity.
- Configure the template in BaSyx.
- Query the entity via the API.
- Observe that the response contains:
{
"modelType": "Entity",
"entityType": "SelfManagedEntity",
"globalAssetId": "",
"specificAssetIds": [
{}
]
}
Expected behavior
The specificAssetIds array should contain the name-value pairs, semanticId and externalSubjectId for the asset IDs that were configured, not an empty object.
Screenshots
endpoint :
http://localhost:8081/submodels/aHR0cHM6Ly9hZG1pbi1zaGVsbC5pby9pZHRhL1N1Ym1vZGVsVGVtcGxhdGUvSGllcmFyY2hpY2FsU3RydWN0dXJlc0JvTS8xLzE/submodel-elements/EntryNode
response :
{
"modelType": "Entity",
"entityType": "SelfManagedEntity",
"globalAssetId": "https://admin-shell.io/idta/HierarchicalStructures/EntryNode/1/0",
"specificAssetIds": [
{
}
],
"statements": [
{
/// other value
}
]
}
Used Asset Administration files (.aasx/.json/.xml)
https___example_com_ids_aas_9194_9081_3022_4668.aas.xml
BaSyx configuration
Images Tags
- aas-env : aas-environment:2.0.0-SNAPSHOT-af9f350
- aas-registry : aas-registry-log-mongodb:2.0.0-SNAPSHOT-87d97dd
- sm-registry : submodel-registry-log-mongodb:2.0.0-SNAPSHOT-87d97dd
- aas-web-ui : aas-gui:SNAPSHOT-66091fe
basyx-setup-new.zip
Additional context
Add any other context about the problem here.
Describe the bug
When adding a specificAssetId to a SelfManagedEntity and configuring the template in BaSyx, the API response returns an empty object for specificAssetIds instead of the expected values.
To Reproduce
}
Expected behavior
The specificAssetIds array should contain the name-value pairs, semanticId and externalSubjectId for the asset IDs that were configured, not an empty object.
Screenshots
endpoint :
http://localhost:8081/submodels/aHR0cHM6Ly9hZG1pbi1zaGVsbC5pby9pZHRhL1N1Ym1vZGVsVGVtcGxhdGUvSGllcmFyY2hpY2FsU3RydWN0dXJlc0JvTS8xLzE/submodel-elements/EntryNode
response :
Used Asset Administration files (.aasx/.json/.xml)
https___example_com_ids_aas_9194_9081_3022_4668.aas.xml
BaSyx configuration
Images Tags
basyx-setup-new.zip
Additional context
Add any other context about the problem here.