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

v0.3.23 DockerHub DTR-Image does not Support Look Up by multiple SpecificAssetIds #424

Closed
efiege opened this issue Jun 6, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@efiege
Copy link

efiege commented Jun 6, 2024

Description

In DockerHub there is one 0.3.23 version available for the DTR:
https://hub.docker.com/r/tractusx/sldt-digital-twin-registry/tags?page=&page_size=&ordering=&name=0.3.23

When checking out the corresponding v0.3.23 tag, the GET /lookup/shells?assetIds= endpoint accepts List<byte[]> assetIds. However this just enables to pass exactly one SpecificAssetId.

This seems to be fixed with #243. However those chnages are not integrated in the v0.3.23 tag, but in the registry-0.3.23 tag. There also seems to be quite some differences between those tags: registry-0.3.23...v0.3.23

Which one is the correct tag to use for the 0.3.23 release? The image published at DockerHub seems to be using the v0.3.23 tag.

@efiege efiege added the bug Something isn't working label Jun 6, 2024
@efiege efiege changed the title v0.3.23 DTR-Image does not Support Look Up by multiple SpecificAssetIds v0.3.23 DockerHub DTR-Image does not Support Look Up by multiple SpecificAssetIds Jun 6, 2024
@agg3fe
Copy link
Contributor

agg3fe commented Jun 7, 2024

Hi @efiege , Could you please use the latest version of DTR https://github.com/eclipse-tractusx/sldt-digital-twin-registry/releases/tag/digital-twin-registry-0.4.11.
This should already include the required changes.

@efiege
Copy link
Author

efiege commented Jun 7, 2024

Hey @agg3fe, thanks for the answer!

We want to be compatible to Tractus-X Release 24.03, which states to use the DTR in version 0.3.23:
https://eclipse-tractusx.github.io/CHANGELOG/#updated-1

As such it is not yet possible to transition to a newer version.

@arnoweiss
Copy link
Contributor

@efiege
Are you witnessing this behavior in conjunction with an 0.5.x tractusx-edc? Then it could be this: eclipse-edc/Connector#4022

Are you using a single assetIds query parameter with a single encoded json-object? Then it could be #395 (comment)

@efiege
Copy link
Author

efiege commented Jun 21, 2024

Thanks for providing these references @arnoweiss, this helped a lot. The problem has been related to #395 (comment)

I have been able to use the /lookup/shells?assetIds endpoint now.

@efiege efiege closed this as completed Jun 21, 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
None yet
Development

No branches or pull requests

3 participants