eclipse-tractusx / knowledge-agents-edc

EDC Extensions for CX-0084 (Federated Queries In Data Spaces)
Apache License 2.0
1 stars 4 forks source link

fix|chore: resolve a race condition in remote invocation. upgrade tooling. #165

Closed drcgjung closed 9 months ago

drcgjung commented 9 months ago

WHAT

Resolves a race condition in the asset negotiation/transfer request code. Upgrades tooling (spotless, surefire, docker build base, github actions, dash) as dependabot proposes. Counts up the overall version to comply with PI11 results.

WHY

Under rare circumstances (control plane & provider EDC resources > data plane resources) a transfer request for an already agreed asset would be so fast that the callback listener may not be initialised with the asset id and refuse the EDR/transfer token.

Since the distro in the base image (temurin:17) changed, we also have to switch to a newer curl package.

FURTHER NOTES

May conflict with https://github.com/eclipse-tractusx/knowledge-agents-edc/pull/80

Whatever PR is merged first, the other needs to be resolved.

Closes #145 Closes #76