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(ssi): Issuer component re issuance of bpnl and membership credentials #239

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1365c5f
feat: Created the base structure for the renewal credential job
leandro-cavalcante Aug 1, 2024
d6aa4bb
feat: added the new renewal credential app to the project solution
leandro-cavalcante Aug 1, 2024
46bf75e
feat: Creation of the job renewal structure acceesing the database
leandro-cavalcante Aug 5, 2024
39a50d6
feat: Added new library to hold the common objects for the credential
leandro-cavalcante Aug 8, 2024
e80764f
feat: New service to handle the credential reissuance
leandro-cavalcante Aug 8, 2024
4352927
feat: Added new type and query for the issuer repository
leandro-cavalcante Aug 8, 2024
f348ef4
feat: Creation of new issuance repository and process to mark credent…
leandro-cavalcante Aug 9, 2024
bcd275c
feat: Added revocation process for reissued credentials.
leandro-cavalcante Aug 12, 2024
0055d01
feat: Added reissuance expiry settings, docker file and helm configur…
leandro-cavalcante Aug 12, 2024
b0fcc9a
feat: added credential settings to reissuance cronjob
leandro-cavalcante Aug 12, 2024
92c626c
fix: adding a correct format
leandro-cavalcante Aug 12, 2024
e2e53da
feat: added a new app settings for reissuance app
leandro-cavalcante Aug 12, 2024
39d47c5
feat: added a generic contex to issuer service buisiness logic
leandro-cavalcante Aug 12, 2024
93c3b9b
feat: added a general contex to business logic tests
leandro-cavalcante Aug 12, 2024
4280423
feat: Added process work tests for credential reissuance
leandro-cavalcante Aug 14, 2024
6c04b54
fix: correct the type of a mocked method
leandro-cavalcante Aug 14, 2024
31bd483
feat: Added tests for Reissuance service and default value for reissu…
leandro-cavalcante Aug 19, 2024
de7fb87
Merge branch 'eclipse-tractusx:main' into feat/CS-948-Issuer-Componen…
leandro-cavalcante Aug 19, 2024
1032a8a
Merge branch 'feat/CS-948-Issuer-Component-Re-issuance-of-BPNL-and-Me…
leandro-cavalcante Aug 19, 2024
60c8945
feat: Added process work tests for credential reissuance
leandro-cavalcante Aug 14, 2024
54a2a73
Merge branch 'feat/CS-948-Issuer-Component-Re-issuance-of-BPNL-and-Me…
leandro-cavalcante Aug 19, 2024
b9692e9
feat: added notification trigger for reissuanse when credential is re…
leandro-cavalcante Aug 20, 2024
5c1f484
feat: fixed the format style
leandro-cavalcante Aug 20, 2024
e823e3c
fix: removed unused imports
leandro-cavalcante Aug 20, 2024
8744628
fix: fixed style of the source files
leandro-cavalcante Aug 20, 2024
90ca841
fix: changed the format of source
leandro-cavalcante Aug 21, 2024
a8823ae
fix: removed unused variable
leandro-cavalcante Aug 21, 2024
c018245
fix: added ternary response
leandro-cavalcante Aug 21, 2024
fce37a1
feat(reissuance): adjust reissuance app
Phil91 Sep 2, 2024
107056e
Merge branch 'eclipse-tractusx:main' into feat/CS-948-Issuer-Componen…
leandro-cavalcante Sep 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: Added new type and query for the issuer repository
  • Loading branch information
leandro-cavalcante committed Aug 8, 2024
commit 43529275070e09e39aa4df5b90f828ab2d61f0d0
Original file line number Diff line number Diff line change
@@ -44,10 +44,12 @@ bool IsVcToDecline
public record CredentialAboutToExpireData(
string Holder,
string HolderBpn,
JsonDocument schema,
string WalletUrl,
string ClientId,
byte[]? ClientSecret,
VerifiedCredentialTypeId VerifiedCredentialTypeId,
VerifiedCredentialTypeKindId VerifiedCredentialTypeKindId,
JsonDocument Schema,
string IdentityId,
string? WalletUrl,
Guid? DetailVersionId,
string? CallbackUrl
);

Original file line number Diff line number Diff line change
@@ -308,10 +308,12 @@ public IAsyncEnumerable<CredentialAboutToExpireData> GetCredentialsAboutToExpire
.Select(x => new CredentialAboutToExpireData(
x.Details.Bpnl,
x.Details.Bpnl,
x.Details.VerifiedCredentialTypeId,
x.Details.CompanySsiProcessData!.CredentialTypeKindId,
x.Details.CompanySsiProcessData.Schema,
x.Details.CompanySsiProcessData.HolderWalletUrl,
x.Details.CompanySsiProcessData.ClientId,
x.Details.CompanySsiProcessData.ClientSecret,
x.Details.Documents.Select(document => document.IdentityId).SingleOrDefault()!,
x.Details.CompanySsiProcessData.HolderWalletUrl!,
x.Details.VerifiedCredentialExternalTypeDetailVersion!.Id,
x.Details.CompanySsiProcessData.CallbackUrl
))
.AsAsyncEnumerable();