-
Notifications
You must be signed in to change notification settings - Fork 63
Add feature hierarchical registry for AAS and Submodel Registries #549
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
Add feature hierarchical registry for AAS and Submodel Registries #549
Conversation
.../eclipse/digitaltwin/basyx/aasregistry/feature/hierarchy/HierarchicalAasRegistryStorage.java
Show resolved
Hide resolved
...igitaltwin/basyx/submodelregistry/feature/hierarchy/HierarchicalSubmodelRegistryStorage.java
Show resolved
Hide resolved
| @Test | ||
| public void getAllSubmodelDescriptor_InRoot() throws ApiException { | ||
| GetSubmodelDescriptorsResult actualDescriptors = getRootRegistryApi().getAllSubmodelDescriptors(1, null); | ||
|
|
||
| SubmodelDescriptor expectedDescriptor = getDescriptorFactory().getRootOnlySmDescriptor(); | ||
|
|
||
| List<SubmodelDescriptor> expectedDescriptors = Arrays.asList(expectedDescriptor); | ||
|
|
||
| assertEquals(expectedDescriptors, actualDescriptors.getResult()); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test seems to be unrelated since the feature is not used for getAll.
aaronzi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR. Please have a look at the headers again. The year should be updated to 2025
Closes #551