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: implement holder credential-request state machine #602

Conversation

paullatzelsperger
Copy link
Member

@paullatzelsperger paullatzelsperger commented Feb 19, 2025

What this PR changes/adds

this PR adds statemachine capabilities to the CredentialRequestServiceImpl.

whenever a HolderCredentialRequest is in a state other than ISSUED, the state machine attempts to restart/resume the credential request.
When in REQUESTED state, the state machine sends a CredentialStatusRequest to the Issuer to get the current state.

Why it does that

robustness

Further notes

  • removed some duplicate code (default in-mem services) from the identity-hub-core module

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes #588

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

@paullatzelsperger paullatzelsperger added enhancement New feature or request dcp labels Feb 19, 2025
@paullatzelsperger paullatzelsperger marked this pull request as draft February 19, 2025 10:01
@paullatzelsperger paullatzelsperger marked this pull request as ready for review February 19, 2025 10:57
@paullatzelsperger paullatzelsperger merged commit b41ba4c into eclipse-edc:main Feb 19, 2025
18 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/588_holder_statemachine branch February 19, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dcp enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Credential Request: add state machine (manager)
2 participants