Skip to content

Commit

Permalink
feat(ssi): merge create and sign credential into one (#235)
Browse files Browse the repository at this point in the history
Refs: #232
Reviewed-By: Evelyn Gurschler <evelyn.gurschler@bmw.de>
  • Loading branch information
Phil91 authored Sep 12, 2024
1 parent e34f7ee commit 510de92
Show file tree
Hide file tree
Showing 32 changed files with 1,978 additions and 486 deletions.
236 changes: 118 additions & 118 deletions charts/ssi-credential-issuer/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ spec:
key: "credential-encryption-key0"
- name: "WALLET__WALLETAPPLICATION"
value: "{{ .Values.processesworker.wallet.application }}"
- name: "WALLET__CREATESIGNEDCREDENTIALPATH"
value: "{{ .Values.processesworker.wallet.createSignedCredentialPath }}"
- name: "WALLET__CREATECREDENTIALPATH"
value: "{{ .Values.processesworker.wallet.createCredentialPath }}"
- name: "WALLET__SIGNCREDENTIALPATH"
value: "{{ .Values.processesworker.wallet.signCredentialPath }}"
- name: "WALLET__GETCREDENTIALPATH"
value: "{{ .Values.processesworker.wallet.getCredentialPath }}"
- name: "WALLET__REVOKECREDENTIALPATH"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ spec:
key: "credential-encryption-key0"
- name: "WALLET__WALLETAPPLICATION"
value: "{{ .Values.processesworker.wallet.application }}"
- name: "WALLET__CREATESIGNEDCREDENTIALPATH"
value: "{{ .Values.processesworker.wallet.createSignedCredentialPath }}"
- name: "WALLET__CREATECREDENTIALPATH"
value: "{{ .Values.processesworker.wallet.createCredentialPath }}"
- name: "WALLET__SIGNCREDENTIALPATH"
value: "{{ .Values.processesworker.wallet.signCredentialPath }}"
- name: "WALLET__GETCREDENTIALPATH"
value: "{{ .Values.processesworker.wallet.getCredentialPath }}"
- name: "WALLET__REVOKECREDENTIALPATH"
Expand Down
4 changes: 2 additions & 2 deletions charts/ssi-credential-issuer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ processesworker:
application: "catena-x-portal"
# -- path to create a credential
createCredentialPath: "api/v2.0.0/credentials"
# -- path to sign a specific credential; {0} will be replaced by the credential id
signCredentialPath: "/api/v2.0.0/credentials/{0}"
# -- path to create a specific credential which is directly signed
createSignedCredentialPath: "/api/v2.0.0/credentials"
# -- path to get a specific credential; {0} will be replaced by the credential id
getCredentialPath: "/api/v2.0.0/credentials/{0}"
# -- path to revoke a specific credential; {0} will be replaced by the credential id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ namespace Org.Eclipse.TractusX.SsiCredentialIssuer.Entities.Enums;
public enum ProcessStepTypeId
{
// CREATE CREDENTIAL PROCESS
CREATE_CREDENTIAL = 1,
SIGN_CREDENTIAL = 2,
CREATE_SIGNED_CREDENTIAL = 1,
SAVE_CREDENTIAL_DOCUMENT = 3,
CREATE_CREDENTIAL_FOR_HOLDER = 4,
TRIGGER_CALLBACK = 5,
Expand Down
Loading

0 comments on commit 510de92

Please sign in to comment.