Skip to content

feat(test): add integration tests for MIW#585

Merged
paullatzelsperger merged 2 commits intoeclipse-tractusx:mainfrom
paullatzelsperger:feature/add_miw_api_tests
Jul 10, 2023
Merged

feat(test): add integration tests for MIW#585
paullatzelsperger merged 2 commits intoeclipse-tractusx:mainfrom
paullatzelsperger:feature/add_miw_api_tests

Conversation

@paullatzelsperger
Copy link
Copy Markdown
Contributor

WHAT

this PR adds tests that assert basic functionality of the MIW (and by extension: the SSI lib).

WHY

Tractus-X EDC relies on MIW as the sole identity backend, so it must make sure that certain functionalities, without which EDC is not functional, are provided.

FURTHER NOTES

  • the test uses the latest-java-did-web tag of the MIW docker image to avoid stale tests
  • currently, the MIW tests are marked continue-on-error, so that they don't block our CI
  • added healthcheck configs to keycloak and postgres
  • added a custom wait script for MIW to become available
  • seeding SQL test data was moved into a separate script (seed.sh), to avoid race conditions between Postgres and MIW

this PR is a duplicate of #555, which was already approved. Unfortunately I had to close and reopen, due to some rebasing weirdness.

Closes # <-- insert Issue number if one exists

Copy link
Copy Markdown

@github-advanced-security github-advanced-security AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

KICS found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@paullatzelsperger paullatzelsperger merged commit dfb837d into eclipse-tractusx:main Jul 10, 2023
RoseMgbii-b pushed a commit to RoseMgbii-b/tractusx-edc that referenced this pull request Mar 5, 2026
* feat(test): add integration tests for MIW

* delete unneeded resources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

3 participants