eclipse-edc / MinimumViableDataspace

Guidance on documentation, scripts and integration steps on using the EDC project results
Apache License 2.0
51 stars 160 forks source link

fix: flaky integration test #299

Closed paullatzelsperger closed 1 month ago

paullatzelsperger commented 1 month ago

What this PR changes/adds

use proper deserialization of the Catalog[] response, so we can filter for the asset-1 of the provider-qna connector.

Why it does that

previously it used hard-coded indices in JSONPath expressions, which is brittle due to the non-canonical form of JSON.

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

_Please be sure to take a look at the contributing guidelines and our etiquette for pull requests._