eclipse-aaspe / server

C# based server for AASX packages
Other
72 stars 52 forks source link

Jtikekar/GitHub issues/201 #225

Closed juileetikekar closed 8 months ago

juileetikekar commented 8 months ago

Description

This fix corrects the handling of IdShortPath in various APIs with respect to specifications. With this PR, it is possible to access the elements of SubmodelElementList based on indices. The PR also provides a refactoring of GetSubmodelELementByPath method and gets rid of recurssion.

Fixes #201

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

The changes have been manually tested. The tests included APIs for Get/Put/Post/Delete/Patch a submodel element with nesting. The blazor UI tests were also carried out, w.r.t. URLs of the submodel elements update.

Screenshots (if appropriate):

image

Checklist: