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: add SqlCredentialStore #197

Conversation

paullatzelsperger
Copy link
Member

@paullatzelsperger paullatzelsperger commented Dec 12, 2023

What this PR changes/adds

This PR adds the SqlCredentialStore for persistent storage of VerifiableCredentials.
It also makes some modifications to the existing InMemoryCredentialStore, that became necessary due to the open structure of VCs and nested structures.

Why it does that

IATP, persistent storage of VCs

Further notes

  • Both the in-mem query and the SQL query required quite a bit of customization, because some datastructures have a very open schema, that our existing query infrastructure (Reflection-based
    query resolution, SQL statement generators,...) simply don't account for.

  • Builds and Tests will fail until feat: allow unchecked SQL operators Connector#3698 is merged

Linked Issue(s)

Closes #188

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

@paullatzelsperger paullatzelsperger merged commit 72b81bf into eclipse-edc:main Dec 14, 2023
13 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/188_credentialstore_postgres branch December 14, 2023 17:46
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.

IATP: Create Postgres implementation for CredentialStore
2 participants