From dde1c5521fcdcb7effbbd58d8091bcfd26048e02 Mon Sep 17 00:00:00 2001 From: Torsten Egenolf Date: Mon, 10 Jun 2024 17:31:25 +0200 Subject: [PATCH] fix(config): removed unused turstlist prefixes --- .../tngkds/charts/tngkds-backend/templates/deployment.yaml | 4 ---- k8s/helm/tngkds/charts/tngkds-backend/values.yaml | 2 -- .../keydistribution/config/KdsConfigProperties.java | 3 --- src/main/resources/application.yml | 2 -- 4 files changed, 11 deletions(-) diff --git a/k8s/helm/tngkds/charts/tngkds-backend/templates/deployment.yaml b/k8s/helm/tngkds/charts/tngkds-backend/templates/deployment.yaml index cd872b2..65307f0 100644 --- a/k8s/helm/tngkds/charts/tngkds-backend/templates/deployment.yaml +++ b/k8s/helm/tngkds/charts/tngkds-backend/templates/deployment.yaml @@ -103,10 +103,6 @@ spec: value: "{{ index .Values.did "trust-list-ref-path" }}" - name: DGC_DID_DIDCONTROLLER value: "{{ index .Values.did "did-controller" }}" - - name: DGC_DID_TRUSTLISTIDPREFIX - value: "{{ index .Values.did "trust-list-id-prefix" }}" - - name: DGC_DID_TRUSTLISTCONTROLLEPREFIX - value: "{{ index .Values.did "trust-list-controller-prefix" }}" - name: DGC_DID_LOCALKEYSTORE_ALIAS value: {{ .Values.did.localKeyStore.alias | quote }} - name: DGC_DID_LOCALKEYSTORE_PASSWORD diff --git a/k8s/helm/tngkds/charts/tngkds-backend/values.yaml b/k8s/helm/tngkds/charts/tngkds-backend/values.yaml index 69c29d4..84da4a4 100644 --- a/k8s/helm/tngkds/charts/tngkds-backend/values.yaml +++ b/k8s/helm/tngkds/charts/tngkds-backend/values.yaml @@ -163,8 +163,6 @@ did: trust-list-path: trustlist trust-list-ref-path: trustlist-ref did-controller: did:web:worldhealthorganization.github.io:tng-cdn-dev:v2.0.0 - trust-list-id-prefix: did:web:abc - trust-list-controller-prefix: did:web:abc contextMapping: "[https://www.w3.org/ns/did/v1]": did_v1.json "[https://w3id.org/security/suites/jws-2020/v1]": jws-2020_v1.json diff --git a/src/main/java/tng/trustnetwork/keydistribution/config/KdsConfigProperties.java b/src/main/java/tng/trustnetwork/keydistribution/config/KdsConfigProperties.java index f4c3e11..1e7b98a 100644 --- a/src/main/java/tng/trustnetwork/keydistribution/config/KdsConfigProperties.java +++ b/src/main/java/tng/trustnetwork/keydistribution/config/KdsConfigProperties.java @@ -101,9 +101,6 @@ public static class DidConfig { private String trustListPath; private String trustListRefPath; - private String trustListIdPrefix; - private String trustListControllerPrefix; - private String ldProofVerificationMethod; private String ldProofDomain; diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 24ae187..9d6e802 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -102,8 +102,6 @@ dgc: trust-list-path: trustlist trust-list-ref-path: trustlist-ref did-controller: did:web:def - trust-list-id-prefix: did:web:abc - trust-list-controller-prefix: did:web:abc contextMapping: "[https://www.w3.org/ns/did/v1]": did_v1.json "[https://w3id.org/security/suites/jws-2020/v1]": jws-2020_v1.json