Skip to content
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

[BUG] Filtering for shells does not work #517

Open
chbo-ml opened this issue Nov 6, 2024 · 1 comment
Open

[BUG] Filtering for shells does not work #517

chbo-ml opened this issue Nov 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@chbo-ml
Copy link

chbo-ml commented Nov 6, 2024

Hello,

when I try to call the GET /shells endpoint of basyx environment (Asset Administration Shell Repository) there is the possibility to filter for idShort and assetIds.

When sending an idShort ists simly ignored and all AAS are returned.
When sending assetIds an Internal Server error 500 is thrown

I'd expect to get filtered results.

  • BaSyx Version v2.0
  • AAS Version DotAAS V3
  • Tested with docker tags 2.0.0-SNAPSHOT and 2.0.0-milestone-04

Regards,
Christina

@chbo-ml chbo-ml added the bug Something isn't working label Nov 6, 2024
@github-project-automation github-project-automation bot moved this to To triage in Support Requests Nov 6, 2024
@aaronzi
Copy link
Member

aaronzi commented Nov 8, 2024

Hello @chbo-ml,

both parameters are currently not implemented.

  1. Filtering by idShort will be implemented in the future
  2. Filtering by AssetId is a bit controversial because it is a feature of the AAS Discovery Service. We feel that the Discovery Service should be used for this to separate the concerns of the AAS repository and the discovery. However, the param is part of the specification (Swagger Hub API spec) and therefore the option is there even though it is not tied to any functionality. Getting a 500 error is not good and we will look into this to fix it.

@aaronzi aaronzi moved this from To triage to Ready in Support Requests Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready
Development

No branches or pull requests

2 participants