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

feat(SSI): implements the MIW client #489

Conversation

wolf4ood
Copy link
Contributor

WHAT

Implements the MIW client with Oauth2 as token provider for using the MIW APIs

WHY

SSI/MIW integration

FURTHER NOTES

  • Token caching
  • E2E test in the next PR

Closes #466

@wolf4ood wolf4ood force-pushed the feat/466_miw_client branch 7 times, most recently from 7219002 to df91818 Compare June 16, 2023 08:07
@sonarcloud
Copy link

sonarcloud bot commented Jun 16, 2023

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 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@wolf4ood wolf4ood marked this pull request as ready for review June 16, 2023 08:53
Copy link
Contributor

@paullatzelsperger paullatzelsperger left a comment

Choose a reason for hiding this comment

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

cool stuff! i guess we can then finally retire the InMemoryVault and the VaultMemoryExtension -> in a housekeeping pr

/**
* OAuth2 client for fetching an access token to be added when using the MIW APIs
*/
@ExtensionPoint
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: could be a @FunctionalInterface

@paullatzelsperger paullatzelsperger merged commit cf97446 into eclipse-tractusx:previews/preview_0_1_1_snapshot Jun 16, 2023
@wolf4ood wolf4ood mentioned this pull request Jun 16, 2023
paullatzelsperger pushed a commit that referenced this pull request Jun 19, 2023
paullatzelsperger added a commit that referenced this pull request Jun 21, 2023
* feat: upgrade to 0.1.1-SNAPSHOT, fix resulting compile errors

* chore: fix tests (#479)

* feat: Initial implementation of Catena-X policies (#477)

* Initial implementation of Catena-X policies

* Add header

* Fix checkstyle

* Fix typo

* Fix typo

* Add javadoc

* Add javadoc

* Switch token eval to a policy validator function

* chore: fix tests (#481)

* feat(policy):  (#487)

* Cleanup namespaces, add extension class, implement summary constraint

* Update credential names; add rule bindings

* feat(SSI): implements the MIW client with Oauth2 as token provider for using the MIW APIs (#489)

* fix: version catalog

* feat(ParticipantIdentity): implements the ID extractor  (#504)

* feat(ParticipantIdentity): implements the ID extractor for the summary credential + E2E test

* feat(ParticipantIdentity): more tests and ID extractor exception if identity not extracted

* feat(ParticipantIdentity): add audience validation + tests

* fix after review

* remove short-term cache invalidation

---------

Co-authored-by: Enrico Risa <[email protected]>
Co-authored-by: Jim Marino <[email protected]>
@wolf4ood wolf4ood deleted the feat/466_miw_client branch July 17, 2023 11:54
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.

2 participants