-
Notifications
You must be signed in to change notification settings - Fork 47
fix: add missing sql dependency to bom and remove not null constraint #713
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
Conversation
...-sql/src/main/java/org/eclipse/edc/identityhub/store/sql/credentials/SqlCredentialStore.java
Fixed
Show fixed
Hide fixed
...-sql/src/main/java/org/eclipse/edc/identityhub/store/sql/credentials/SqlCredentialStore.java
Fixed
Show fixed
Hide fixed
65afd2e to
4c7193b
Compare
|
Hi @ndr-brt Just a quick note, the rawVc was intentionally set to null, since the issuer should not store the signed VC in the database. |
In fact I discovered that I'm not fixing the bug that I reported but a different one! 🥲 EDIT: done |
4c7193b to
77706cd
Compare
28863ef to
3c05baa
Compare
...g/eclipse/edc/issuerservice/credentials/statuslist/bitstring/BitstringStatusListManager.java
Show resolved
Hide resolved
3c05baa to
69a61f7
Compare
69a61f7 to
6664ebe
Compare
What this PR changes/adds
Removes
NOT NULLconstraint on raw_vc column in sql credential store.Adds
identity-hub-credentials-store-sqlto the sql-bom so the flow can be covered by theDcpIssuanceFlowEndToEndTest, that was still failing.To fix it I had to add a patch in the
BitstringStatusListManager, because otherwise thepublished=trueinformation gets lost.That does the job but in a really ugly and not optimal way, so my proposal would be:
Remove persistance from the
StatusListCredentialPublisherimplementation, because, as the interface is stating, that component should just publish and report the result of the publication, and the persistence could be made by the caller (theBitstringStatusListManager) directly, so in the.composeblock after calling the publisher thepublishedflag could be directly added to the metadata together with thepublicUrlone.@wolf4ood @paullatzelsperger let me know what you think about, I can take care to do this change directly
NOTE: unit tests are broken but I'd prefer to have some discussion about the solution to adopt before going and fixing them
Why it does that
Briefly state why the change was necessary.
Further notes
canHandleandunpublishmethods from theStatusListCredentialPublisheras they are not used yet and it's still not clear how they'll be used, to be reintroduced back when needed with the proper signatureWho will sponsor this feature?
Please @-mention the committer that will sponsor your feature.
Linked Issue(s)
Closes #709
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.