Skip to content

Commit 510de92

Browse files
authored
feat(ssi): merge create and sign credential into one (#235)
Refs: #232 Reviewed-By: Evelyn Gurschler <[email protected]>
1 parent e34f7ee commit 510de92

File tree

32 files changed

+1978
-486
lines changed

32 files changed

+1978
-486
lines changed

charts/ssi-credential-issuer/README.md

+118-118
Large diffs are not rendered by default.

charts/ssi-credential-issuer/templates/cronjob-issuer-processes.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ spec:
138138
key: "credential-encryption-key0"
139139
- name: "WALLET__WALLETAPPLICATION"
140140
value: "{{ .Values.processesworker.wallet.application }}"
141+
- name: "WALLET__CREATESIGNEDCREDENTIALPATH"
142+
value: "{{ .Values.processesworker.wallet.createSignedCredentialPath }}"
141143
- name: "WALLET__CREATECREDENTIALPATH"
142144
value: "{{ .Values.processesworker.wallet.createCredentialPath }}"
143-
- name: "WALLET__SIGNCREDENTIALPATH"
144-
value: "{{ .Values.processesworker.wallet.signCredentialPath }}"
145145
- name: "WALLET__GETCREDENTIALPATH"
146146
value: "{{ .Values.processesworker.wallet.getCredentialPath }}"
147147
- name: "WALLET__REVOKECREDENTIALPATH"

charts/ssi-credential-issuer/templates/deployment-issuer-service.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ spec:
165165
key: "credential-encryption-key0"
166166
- name: "WALLET__WALLETAPPLICATION"
167167
value: "{{ .Values.processesworker.wallet.application }}"
168+
- name: "WALLET__CREATESIGNEDCREDENTIALPATH"
169+
value: "{{ .Values.processesworker.wallet.createSignedCredentialPath }}"
168170
- name: "WALLET__CREATECREDENTIALPATH"
169171
value: "{{ .Values.processesworker.wallet.createCredentialPath }}"
170-
- name: "WALLET__SIGNCREDENTIALPATH"
171-
value: "{{ .Values.processesworker.wallet.signCredentialPath }}"
172172
- name: "WALLET__GETCREDENTIALPATH"
173173
value: "{{ .Values.processesworker.wallet.getCredentialPath }}"
174174
- name: "WALLET__REVOKECREDENTIALPATH"

charts/ssi-credential-issuer/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ processesworker:
128128
application: "catena-x-portal"
129129
# -- path to create a credential
130130
createCredentialPath: "api/v2.0.0/credentials"
131-
# -- path to sign a specific credential; {0} will be replaced by the credential id
132-
signCredentialPath: "/api/v2.0.0/credentials/{0}"
131+
# -- path to create a specific credential which is directly signed
132+
createSignedCredentialPath: "/api/v2.0.0/credentials"
133133
# -- path to get a specific credential; {0} will be replaced by the credential id
134134
getCredentialPath: "/api/v2.0.0/credentials/{0}"
135135
# -- path to revoke a specific credential; {0} will be replaced by the credential id

src/database/SsiCredentialIssuer.Entities/Enums/ProcessStepTypeId.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ namespace Org.Eclipse.TractusX.SsiCredentialIssuer.Entities.Enums;
2222
public enum ProcessStepTypeId
2323
{
2424
// CREATE CREDENTIAL PROCESS
25-
CREATE_CREDENTIAL = 1,
26-
SIGN_CREDENTIAL = 2,
25+
CREATE_SIGNED_CREDENTIAL = 1,
2726
SAVE_CREDENTIAL_DOCUMENT = 3,
2827
CREATE_CREDENTIAL_FOR_HOLDER = 4,
2928
TRIGGER_CALLBACK = 5,

0 commit comments

Comments
 (0)