Skip to content

Conversation

@paullatzelsperger
Copy link
Member

@paullatzelsperger paullatzelsperger commented Oct 21, 2025

What this PR changes/adds

this PR mainly improves the storage and handling of VerifiableCredentialResources by adding a usage field.
This new field indicates what the credential is used for, i.e. Holder, StatusList, IssuanceTracking.

Whenever credentials are handled, they must be filtered by their usage type, e.g. only Holder credentials should be used for DCP Presentation.

Why it does that

avoid clashes and weird errors when the IssuerService and IdentityHub are colocated in the same runtime.

Further notes

to assert compatibility, I created a new test DcpFlowAllInOneTest that spins up a colocated runtime and that executes several test cases:

  • DCP Credential Issuance
  • DCP Credential Presentation
  • automatic Credential renewal

this is a breaking change because a new column usage is added to the database schema

Who will sponsor this feature?

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

Linked Issue(s)

Closes #827

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

@paullatzelsperger paullatzelsperger requested a review from a team as a code owner October 21, 2025 11:55
@paullatzelsperger paullatzelsperger added enhancement New feature or request breaking-change Will require manual intervention for version update labels Oct 21, 2025
@paullatzelsperger paullatzelsperger merged commit 7882c49 into eclipse-edc:main Oct 21, 2025
16 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/colocated_runtimes branch October 21, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Will require manual intervention for version update enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decouple storage for IssuerService and IdentityHub

3 participants