Identity Hub: Fix VerifiableCredentialsJwtServiceImpl's "NotSuchMethodError" (#43) #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR changes/adds
Introduce a fix for the "NoSuchMethodError" observed in the CI pipeline for the cloud system tests: https://github.com/agera-edc/MinimumViableDataspace/runs/7693917471?check_suite_focus=true
The cause of the issue is still unclear. It seems that the
toJSONObject
method is not available due to a version mismatch of the nimbus library. This does not happen when running tests locally, nor when running the local system tests in CI. Why this only manifests when running the cloud system tests in CI is still a mystery.This PR introduces a workaround by adapting the
VerifiableCredentialsJwtServiceImpl
not to use this method.Logging was improved in order to debug the issue and this PR contains additional logging statements that proved to be useful.
Why it does that
Fix Identity Hub integration in MVD.
Linked Issue(s)
Relates to #21
Checklist
no-changelog
)