-
Notifications
You must be signed in to change notification settings - Fork 9
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): Issuer component re issuance of bpnl and membership credentials #239
base: main
Are you sure you want to change the base?
Conversation
…t-Re-issuance-of-BPNL-and-Membership-Credentials
…mbership-Credentials' of https://github.com/leandro-cavalcante/ssi-credential-issuer into feat/CS-948-Issuer-Component-Re-issuance-of-BPNL-and-Membership-Credentials
…mbership-Credentials' of https://github.com/leandro-cavalcante/ssi-credential-issuer into feat/CS-948-Issuer-Component-Re-issuance-of-BPNL-and-Membership-Credentials
src/credentials/SsiCredentialIssuer.Reissuance.App/Services/ReissuanceService.cs
Fixed
Show resolved
Hide resolved
src/credentials/SsiCredentialIssuer.Reissuance.App/Services/ReissuanceService.cs
Fixed
Show fixed
Hide fixed
src/processes/CredentialProcess.Library/Reissuance/CredentialReissuanceProcessHandler.cs
Fixed
Show resolved
Hide resolved
tests/credentials/SsiCredentialIssuer.Reissuance.App.Tests/Services/ReissuanceServiceTests.cs
Fixed
Show fixed
Hide fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leandro-cavalcante I have made some changes to your branch, but can't currently push to your repo due to permission issues. The changes can be found here: fce37a1
I've put them in one commit so it should be easy to integrate within your branch. Please have a look at that.
|
||
reissuanceRepository.CreateReissuanceProcess(credentialRequest.Id, ssiDetailId); | ||
|
||
companyCredentialDetailsRepository.CreateProcessData(ssiDetailId, JsonDocument.Parse(credentialRequest.Schema), credentialRequest.KindId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will not work with the current process. It will fail when trying to import the created credential to the holder wallet, because we need the auth data for that. In the current api implementation when creating the credential the auth data are send within the request of the creation.
…t-Re-issuance-of-BPNL-and-Membership-Credentials
Description
Development of an automated backend logic inside the issuer component for the re-issuance of BPNL and Membership credentials prior to their expiration. The system will incorporate a scheduled job to run nightly, identifying credentials expiring the next day and re-issuing them automatically, while adhering to defined business rules and workflows.
Why
A creation of a new Reissuance service and related process were created in order to fulfill the requirements of reissuing a new credential when the actual credential is about to expire.
Issue
Link to Github issue.
Checklist
Please delete options that are not relevant.