Skip to content

Commit

Permalink
feat(statusList): add correct statuslist link (eclipse-tractusx#61)
Browse files Browse the repository at this point in the history
Reviewed-By: Evelyn Gurschler <[email protected]>
  • Loading branch information
Phil91 authored Apr 10, 2024
1 parent ee08d98 commit 316e608
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions consortia/environments/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ issuer:
swaggerEnabled: true
credential:
issuerBpn: "BPNL00000003CRHK"
statusListUrl: "https://dim-static-prod.dis-cloud-prod.cfapps.eu10-004.hana.ondemand.com/credentials/status/c5f1d9bb-42d5-42b7-a80a-ccbda6891df3/3e6f1f74-56e3-443a-a75e-320c301aca07"
encryptionConfigs:
index0:
encryptionKey: "<path:portal/data/ssi-credential-issuer/dev/credential#encryptionKey0>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

namespace Org.Eclipse.TractusX.SsiCredentialIssuer.DBAccess.Models;

public record DocumentData
(
public record DocumentData(
Guid DocumentId,
string DocumentName,
DocumentTypeId argDocumentTypeId);
DocumentTypeId DocumentTypeId
);
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
"BpnCredential"
]
}
},
},
"issuanceDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(Z|\\+\\d{2}:\\d{2})?$"
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(.\\d{6})?(Z|\\+\\d{2}:\\d{2})?$"
},
"expirationDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(Z|\\+\\d{2}:\\d{2})?$"
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(.\\d{6})?(Z|\\+\\d{2}:\\d{2})?$"
},
"issuer": {
"type": "string"
Expand All @@ -55,5 +55,5 @@
}
},
"required": ["id", "@context", "type", "issuanceDate", "expirationDate", "issuer", "credentialSubject"],
"additionalProperties": false
"additionalProperties": true
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://eclipse-tractusx.github.io/MembershipCredential.schema.json",
"$id": "https://eclipse-tractusx.github.io/FrameworkCredential.schema.json",
"type": "object",
"properties": {
"id": {
Expand All @@ -24,11 +24,11 @@
},
"issuanceDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(Z|\\+\\d{2}:\\d{2})?$"
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(.\\d{6})?(Z|\\+\\d{2}:\\d{2})?$"
},
"expirationDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(Z|\\+\\d{2}:\\d{2})?$"
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(.\\d{6})?(Z|\\+\\d{2}:\\d{2})?$"
},
"issuer": {
"type": "string"
Expand Down Expand Up @@ -61,5 +61,5 @@
}
},
"required": ["id", "@context", "type", "issuanceDate", "expirationDate", "issuer", "credentialSubject"],
"additionalProperties": false
"additionalProperties": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
},
"issuanceDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(Z|\\+\\d{2}:\\d{2})?$"
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(.\\d{6})?(Z|\\+\\d{2}:\\d{2})?$"
},
"expirationDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(Z|\\+\\d{2}:\\d{2})?$"
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(.\\d{6})?(Z|\\+\\d{2}:\\d{2})?$"
},
"issuer": {
"type": "string"
Expand All @@ -55,5 +55,5 @@
}
},
"required": ["id", "@context", "type", "issuanceDate", "expirationDate", "issuer", "credentialSubject"],
"additionalProperties": false
"additionalProperties": true
}

0 comments on commit 316e608

Please sign in to comment.