diff --git a/.github/workflows/helm-checks.yaml b/.github/workflows/helm-checks.yaml index 43c0e35..8734d8a 100644 --- a/.github/workflows/helm-checks.yaml +++ b/.github/workflows/helm-checks.yaml @@ -183,13 +183,21 @@ jobs: helm dep up charts/tx-data-provider helm dep up charts/umbrella helm install umbrella charts/umbrella --namespace data-exchange --create-namespace --debug --timeout 10m \ - -f charts/values-test-data-exchange.yaml -f charts/values-test-iam-init-container.yaml \ + -f charts/values-test-data-exchange.yaml + helm uninstall umbrella --namespace data-exchange + + - name: Install chart for data exchange with iatp-mock (umbrella) + run: | + helm dep up charts/tx-data-provider + helm dep up charts/umbrella + helm install umbrella charts/umbrella --namespace data-exchange --create-namespace --debug --timeout 10m \ + -f charts/values-test-data-exchange-iatp-mock.yaml -f charts/values-test-iam-init-container.yaml \ --set iatpmock.image.repository=kind-registry:5000/iatp-mock --set iatpmock.image.tag=testing helm uninstall umbrella --namespace data-exchange - name: Install chart for shared services one (umbrella) run: | - helm install umbrella charts/umbrella -f charts/values-test-shared-services-1.yaml -f charts/values-test-iam-init-container.yaml --namespace shared-services --create-namespace --debug --timeout 10m --set iatpmock.image.repository=kind-registry:5000/iatp-mock --set iatpmock.image.tag=testing + helm install umbrella charts/umbrella -f charts/values-test-shared-services-1.yaml -f charts/values-test-iam-init-container.yaml --namespace shared-services --create-namespace --debug --timeout 10m helm uninstall umbrella --namespace shared-services - name: Install chart for shared services two (umbrella) diff --git a/charts/umbrella/values-adopter-data-exchange-iatp-mock.yaml b/charts/umbrella/values-adopter-data-exchange-iatp-mock.yaml new file mode 100644 index 0000000..377f3e7 --- /dev/null +++ b/charts/umbrella/values-adopter-data-exchange-iatp-mock.yaml @@ -0,0 +1,245 @@ +# ############################################################################# +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0. +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################# +--- + +centralidp: + enabled: true + + +iatpmock: + enabled: true + ingress: + enabled: true + hosts: + - host: iatpmock.tx.test + paths: + - path: / + pathType: ImplementationSpecific + +bdrs-server-memory: + enabled: true + seeding: + bpnList: + - bpn: "BPNL00000003B3NX" + did: "did:web:mock-util-service/BPNL00000003B3NX" + - bpn: "BPNL00000003CSGV" + did: "did:web:mock-util-service/BPNL00000003CSGV" + - bpn: "BPNL00000003B6LU" + did: "did:web:mock-util-service/BPNL00000003B6LU" + - bpn: "BPNL00000003AXS3" + did: "did:web:mock-util-service/BPNL00000003AXS3" + - bpn: "BPNL00000003AZQP" + did: "did:web:mock-util-service/BPNL00000003AZQP" + - bpn: "BPNL00000003AWSS" + did: "did:web:mock-util-service/BPNL00000003AWSS" + - bpn: "BPNL00000003AYRE" + did: "did:web:mock-util-service/BPNL00000003AYRE" + - bpn: "BPNL00000003AVTH" + did: "did:web:mock-util-service/BPNL00000003AVTH" + - bpn: "BPNL00000000BJTL" + did: "did:web:mock-util-service/BPNL00000000BJTL" + - bpn: "BPNL00000003CML1" + did: "did:web:mock-util-service/BPNL00000003CML1" + - bpn: "BPNL00000003B2OM" + did: "did:web:mock-util-service/BPNL00000003B2OM" + - bpn: "BPNL00000003B0Q0" + did: "did:web:mock-util-service/BPNL00000003B0Q0" + - bpn: "BPNL00000003B5MJ" + did: "did:web:mock-util-service/BPNL00000003B5MJ" + - bpn: "BPNS0000000008ZZ" + did: "did:web:mock-util-service/BPNS0000000008ZZ" + - bpn: "BPNL00000003CNKC" + did: "did:web:mock-util-service/BPNL00000003CNKC" + - bpn: "BPNS00000008BDFH" + did: "did:web:mock-util-service/BPNS00000008BDFH" + + hostname: &hostname bdrs-server.tx.test + server: + trustedIssuers: + - did:web:mock-util-service/trusted-issuer + ingresses: + - enabled: true + hostname: *hostname + endpoints: + - directory + - management + tls: + enabled: false + +dataconsumerOne: + enabled: true + secrets: + edc-miw-keycloak-secret: UbfW4CR1xH4OskkovqJ2JzcwnQIrG7oj + tractusx-connector: + participant: + id: BPNL00000003AZQP + iatp: + id: did:web:mock-util-service/BPNL00000003AZQP + trustedIssuers: + - did:web:mock-util-service/trusted-issuer + sts: + dim: + url: http://mock-util-service/sts + oauth: + token_url: http://centralidp.tx.test/auth/realms/CX-Central/protocol/openid-connect/token + client: + id: satest01 + controlplane: + env: + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + endpoints: + management: + authKey: TEST1 + ingresses: + - enabled: true + hostname: "dataconsumer-1-controlplane.tx.test" + endpoints: + - default + - protocol + - management + tls: + enabled: false + dataplane: + env: + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + ingresses: + - enabled: true + hostname: "dataconsumer-1-dataplane.tx.test" + endpoints: + - default + - public + tls: + enabled: false + # -- uncomment the following for persistence + # postgresql: + # primary: + # persistence: + # enabled: true + +tx-data-provider: + seedTestdata: true + enabled: true + secrets: + edc-miw-keycloak-secret: pyFUZP2L9UCSVJUScHcN3ZEgy2PGyEpg + tractusx-connector: + participant: + id: BPNL00000003AYRE + iatp: + id: did:web:mock-util-service/BPNL00000003AYRE + trustedIssuers: + - did:web:mock-util-service/trusted-issuer + sts: + dim: + url: http://mock-util-service/sts + oauth: + token_url: http://centralidp.tx.test/auth/realms/CX-Central/protocol/openid-connect/token + client: + id: satest02 + controlplane: + env: + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + endpoints: + management: + authKey: TEST2 + ingresses: + - enabled: true + hostname: "dataprovider-controlplane.tx.test" + endpoints: + - default + - protocol + - management + tls: + enabled: false + dataplane: + env: + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + ingresses: + - enabled: true + hostname: "dataprovider-dataplane.tx.test" + endpoints: + - default + - public + tls: + enabled: false + # -- uncomment the following for persistence + # postgresql: + # primary: + # persistence: + # enabled: true + # digital-twin-registry: + # postgresql: + # primary: + # persistence: + # enabled: true + +dataconsumerTwo: + enabled: false + secrets: + edc-miw-keycloak-secret: tPwy4exxH1sXBRQouobSA2nNVaaPuwCs + tractusx-connector: + participant: + id: BPNL00000003AVTH + iatp: + id: did:web:mock-util-service/BPNL00000003AVTH + trustedIssuers: + - did:web:mock-util-service/trusted-issuer + sts: + dim: + url: http://mock-util-service/sts + oauth: + token_url: http://centralidp.tx.test/auth/realms/CX-Central/protocol/openid-connect/token + client: + id: satest03 + controlplane: + env: + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + endpoints: + management: + authKey: TEST3 + ingresses: + - enabled: true + hostname: "dataconsumer-2-controlplane.tx.test" + endpoints: + - default + - protocol + - management + tls: + enabled: false + dataplane: + env: + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + ingresses: + - enabled: true + hostname: "dataconsumer-2-dataplane.tx.test" + endpoints: + - default + - public + tls: + enabled: false + # -- uncomment the following for persistence + # postgresql: + # primary: + # persistence: + # enabled: true + +pgadmin4: + enabled: true + # -- uncomment the following for persistence + # persistentVolume: + # enabled: true diff --git a/charts/umbrella/values-adopter-data-exchange-stub.yaml b/charts/umbrella/values-adopter-data-exchange-stub.yaml deleted file mode 100644 index 0237dec..0000000 --- a/charts/umbrella/values-adopter-data-exchange-stub.yaml +++ /dev/null @@ -1,185 +0,0 @@ -# ############################################################################# -# Copyright (c) 2024 Contributors to the Eclipse Foundation -# -# See the NOTICE file(s) distributed with this work for additional -# information regarding copyright ownership. -# -# This program and the accompanying materials are made available under the -# terms of the Apache License, Version 2.0 which is available at -# https://www.apache.org/licenses/LICENSE-2.0. -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -# SPDX-License-Identifier: Apache-2.0 -# ############################################################################# ---- - -centralidp: - enabled: false - - -bdrs-server-memory: - enabled: true - seeding: - bpnList: - - bpn: "BPNL00000003CRHK" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK" - - bpn: "BPNL00000003B3NX" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003B3NX" - - bpn: "BPNL00000003CSGV" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CSGV" - - bpn: "BPNL00000003B6LU" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003B6LU" - - bpn: "BPNL00000003AXS3" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AXS3" - - bpn: "BPNL00000003AZQP" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AZQP" - - bpn: "BPNL00000003AWSS" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AWSS" - - bpn: "BPNL00000003AYRE" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AYRE" - - bpn: "BPNL00000003AVTH" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AVTH" - - bpn: "BPNL00000000BJTL" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000000BJTL" - - bpn: "BPNL00000003CML1" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CML1" - - bpn: "BPNL00000003B2OM" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003B2OM" - - bpn: "BPNL00000003B0Q0" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003B0Q0" - - bpn: "BPNL00000003B5MJ" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003B5MJ" - - bpn: "BPNS0000000008ZZ" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNS0000000008ZZ" - - bpn: "BPNL00000003CNKC" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CNKC" - - bpn: "BPNS00000008BDFH" - did: "did:web:ssi-dim-wallet-stub.tx.test:BPNS00000008BDFH" - hostname: &hostname bdrs-server.tx.test - server: - trustedIssuers: - - did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK - ingresses: - - enabled: true - hostname: *hostname - endpoints: - - directory - - management - tls: - enabled: false - -dataconsumerOne: - enabled: true - secrets: - edc-miw-keycloak-secret: changeme - tractusx-connector: - participant: - id: BPNL00000003AZQP - iatp: - id: did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AZQP - trustedIssuers: - - did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK - sts: - dim: - url: http://ssi-dim-wallet-stub.tx.test/api/sts - oauth: - token_url: http://ssi-dim-wallet-stub.tx.test/oauth/token - client: - id: BPNL00000003AZQP - secret_alias: edc-miw-keycloak-secret - controlplane: - env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api - dataplane: - env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api - # -- uncomment the following for persistence - # postgresql: - # primary: - # persistence: - # enabled: true - -tx-data-provider: - seedTestdata: true - enabled: true - secrets: - edc-miw-keycloak-secret: changeme - tractusx-connector: - participant: - id: BPNL00000003AYRE - iatp: - id: did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AYRE - trustedIssuers: - - did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK - sts: - dim: - url: http://ssi-dim-wallet-stub.tx.test/api/sts - oauth: - token_url: http://ssi-dim-wallet-stub.tx.test/oauth/token - client: - id: BPNL00000003AYRE - secret_alias: edc-miw-keycloak-secret - controlplane: - env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api - dataplane: - env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api - # -- uncomment the following for persistence - # postgresql: - # primary: - # persistence: - # enabled: true - # digital-twin-registry: - # postgresql: - # primary: - # persistence: - # enabled: true - -dataconsumerTwo: - enabled: false - secrets: - edc-miw-keycloak-secret: changeme - tractusx-connector: - participant: - id: BPNL00000003AVTH - iatp: - id: did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AVTH - trustedIssuers: - - did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK - sts: - dim: - url: http://ssi-dim-wallet-stub.tx.test/api/sts - oauth: - token_url: http://ssi-dim-wallet-stub.tx.test/oauth/token - client: - id: BPNL00000003AVTH - secret_alias: edc-miw-keycloak-secret - controlplane: - env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api - dataplane: - env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api - # -- uncomment the following for persistence - # postgresql: - # primary: - # persistence: - # enabled: true - -pgadmin4: - enabled: true - # -- uncomment the following for persistence - # persistentVolume: - # enabled: true - -ssi-credential-issuer: - enabled: false - -ssi-dim-wallet-stub: - enabled: true diff --git a/charts/umbrella/values-adopter-data-exchange.yaml b/charts/umbrella/values-adopter-data-exchange.yaml index 7d19c2d..c29b1bd 100644 --- a/charts/umbrella/values-adopter-data-exchange.yaml +++ b/charts/umbrella/values-adopter-data-exchange.yaml @@ -19,37 +19,8 @@ --- centralidp: - enabled: true - keycloak: - ingress: - enabled: true - ingressClassName: "nginx" - hostname: "centralidp.tx.test" - annotations: - nginx.ingress.kubernetes.io/cors-allow-credentials: "true" - nginx.ingress.kubernetes.io/cors-allow-methods: "PUT, GET, POST, OPTIONS" - nginx.ingress.kubernetes.io/cors-allow-origin: "http://centralidp.tx.test" - nginx.ingress.kubernetes.io/enable-cors: "true" - nginx.ingress.kubernetes.io/proxy-buffer-size: "128k" - nginx.ingress.kubernetes.io/proxy-buffering: "on" - nginx.ingress.kubernetes.io/proxy-buffers-number: "20" - nginx.ingress.kubernetes.io/use-regex: "true" - tls: false - # -- uncomment the following for persistence - # postgresql: - # primary: - # persistence: - # enabled: true + enabled: false -iatpmock: - enabled: true - ingress: - enabled: true - hosts: - - host: iatpmock.tx.test - paths: - - path: / - pathType: ImplementationSpecific bdrs-server-memory: enabled: true @@ -66,41 +37,6 @@ bdrs-server-memory: dataconsumerOne: enabled: true - secrets: - edc-miw-keycloak-secret: UbfW4CR1xH4OskkovqJ2JzcwnQIrG7oj - tractusx-connector: - participant: - id: BPNL00000003AZQP - iatp: - id: did:web:mock-util-service/BPNL00000003AZQP - trustedIssuers: - - did:web:mock-util-service/trusted-issuer - sts: - oauth: - client: - id: satest01 - controlplane: - endpoints: - management: - authKey: TEST1 - ingresses: - - enabled: true - hostname: "dataconsumer-1-controlplane.tx.test" - endpoints: - - default - - protocol - - management - tls: - enabled: false - dataplane: - ingresses: - - enabled: true - hostname: "dataconsumer-1-dataplane.tx.test" - endpoints: - - default - - public - tls: - enabled: false # -- uncomment the following for persistence # postgresql: # primary: @@ -110,41 +46,6 @@ dataconsumerOne: tx-data-provider: seedTestdata: true enabled: true - secrets: - edc-miw-keycloak-secret: pyFUZP2L9UCSVJUScHcN3ZEgy2PGyEpg - tractusx-connector: - participant: - id: BPNL00000003AYRE - iatp: - id: did:web:mock-util-service/BPNL00000003AYRE - trustedIssuers: - - did:web:mock-util-service/trusted-issuer - sts: - oauth: - client: - id: satest02 - controlplane: - endpoints: - management: - authKey: TEST2 - ingresses: - - enabled: true - hostname: "dataprovider-controlplane.tx.test" - endpoints: - - default - - protocol - - management - tls: - enabled: false - dataplane: - ingresses: - - enabled: true - hostname: "dataprovider-dataplane.tx.test" - endpoints: - - default - - public - tls: - enabled: false # -- uncomment the following for persistence # postgresql: # primary: @@ -158,41 +59,6 @@ tx-data-provider: dataconsumerTwo: enabled: false - secrets: - edc-miw-keycloak-secret: tPwy4exxH1sXBRQouobSA2nNVaaPuwCs - tractusx-connector: - participant: - id: BPNL00000003AVTH - iatp: - id: did:web:mock-util-service/BPNL00000003AVTH - trustedIssuers: - - did:web:mock-util-service/trusted-issuer - sts: - oauth: - client: - id: satest03 - controlplane: - endpoints: - management: - authKey: TEST3 - ingresses: - - enabled: true - hostname: "dataconsumer-2-controlplane.tx.test" - endpoints: - - default - - protocol - - management - tls: - enabled: false - dataplane: - ingresses: - - enabled: true - hostname: "dataconsumer-2-dataplane.tx.test" - endpoints: - - default - - public - tls: - enabled: false # -- uncomment the following for persistence # postgresql: # primary: @@ -204,3 +70,9 @@ pgadmin4: # -- uncomment the following for persistence # persistentVolume: # enabled: true + +ssi-credential-issuer: + enabled: false + +ssi-dim-wallet-stub: + enabled: true diff --git a/charts/umbrella/values-adopter-portal-stub.yaml b/charts/umbrella/values-adopter-portal-stub.yaml deleted file mode 100644 index bd994d7..0000000 --- a/charts/umbrella/values-adopter-portal-stub.yaml +++ /dev/null @@ -1,97 +0,0 @@ -# ############################################################################# -# Copyright (c) 2024 Contributors to the Eclipse Foundation -# -# See the NOTICE file(s) distributed with this work for additional -# information regarding copyright ownership. -# -# This program and the accompanying materials are made available under the -# terms of the Apache License, Version 2.0 which is available at -# https://www.apache.org/licenses/LICENSE-2.0. -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -# -# SPDX-License-Identifier: Apache-2.0 -# ############################################################################# ---- - -portal: - enabled: true - custodianAddress: "http://ssi-dim-wallet-stub.tx.test" - dimWrapper: - baseAddress: "http://ssi-dim-wallet-stub.tx.test" - apiPath: "/api/dim" - backend: - decentralIdentityManagementAuthAddress: "http://ssi-dim-wallet-stub.tx.test/api/sts" - administration: - issuerdid: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK" - processesworker: - sdfactory: - issuerBpn: "BPNL00000003CRHK" - dim: - clientId: "sa-cl2-05" - clientSecret: "changeme" - grantType: "client_credentials" - scope: "openid" - baseAddress: "http://ssi-dim-wallet-stub.tx.test" - - - # -- uncomment the following for persistance - # postgresql: - # primary: - # persistence: - # enabled: true - -centralidp: - enabled: true - # -- uncomment the following for persistance - # keycloak: - # postgresql: - # primary: - # persistence: - # enabled: true - -sharedidp: - enabled: true - # -- uncomment the following for persistance - # keycloak: - # postgresql: - # primary: - # persistence: - # enabled: true - -pgadmin4: - enabled: true - # -- uncomment the following for persistance - # persistentVolume: - # enabled: true - -# Interfaces are disabled by default (other than IAM) - -bpdm: - enabled: true - -selfdescription: - enabled: false - -bpndiscovery: - enabled: false - -discoveryfinder: - enabled: false - -ssi-credential-issuer: - enabled: true - walletAddress: "http://ssi-dim-wallet-stub.tx.test" - walletTokenAddress: "http://ssi-dim-wallet-stub.tx.test/oauth/token" - issuer: - credential: - issuerDid: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK" - issuerBpn: "BPNL00000003CRHK" - statusListUrl: "http://ssi-dim-wallet-stub.tx.test/status-list/BPNL00000003CRHK/8a6c7486-1e1f-4555-bdd2-1a178182651e" - -ssi-dim-wallet-stub: - enabled: true diff --git a/charts/umbrella/values-adopter-portal.yaml b/charts/umbrella/values-adopter-portal.yaml index aa17bc1..92223a0 100644 --- a/charts/umbrella/values-adopter-portal.yaml +++ b/charts/umbrella/values-adopter-portal.yaml @@ -53,7 +53,7 @@ pgadmin4: # Interfaces are disabled by default (other than IAM) bpdm: - enabled: false + enabled: true selfdescription: enabled: false @@ -64,8 +64,8 @@ bpndiscovery: discoveryfinder: enabled: false -iatpmock: - enabled: false - ssi-credential-issuer: - enabled: false + enabled: true + +ssi-dim-wallet-stub: + enabled: true diff --git a/charts/umbrella/values.yaml b/charts/umbrella/values.yaml index c3ef2b3..074f4b0 100644 --- a/charts/umbrella/values.yaml +++ b/charts/umbrella/values.yaml @@ -42,7 +42,11 @@ portal: poolApiPath: "/pool/v6" portalGateAddress: "http://business-partners.tx.test" portalGateApiPath: "/gate/v6" - custodianAddress: "http://managed-identity-wallets.tx.test" + custodianAddress: "http://ssi-dim-wallet-stub.tx.test" + dimWrapper: + baseAddress: "http://ssi-dim-wallet-stub.tx.test" + apiPath: "/api/dim" + decentralIdentityManagementAuthAddress: "http://ssi-dim-wallet-stub.tx.test/api/sts" sdfactoryAddress: "http://sdfactory.tx.test" clearinghouseAddress: "http://validation.tx.test" clearinghouseTokenAddress: "http://keycloak.tx.test/realms/example/protocol/openid-connect/token" @@ -111,7 +115,7 @@ portal: encryptionConfigs: index0: encryptionKey: "deb8261ec7b89c344f1c5ef5a11606e305f14e0d231b1357d90ad0180c5081d3" - issuerdid: "did:web:managed-identity-wallets.tx.test:BPNL00000003CRHK" + issuerdid: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK" swaggerEnabled: true appmarketplace: logging: @@ -156,8 +160,11 @@ portal: clientId: "sa-cl2-03" clientSecret: "wyNYzSnyu4iGvj17XgLSl0aQxAPjTjmI" dim: - clientId: "dim-client-id" - clientSecret: "" + clientId: "sa-cl2-05" + clientSecret: "zuBGfr67Tj0WJ5fAJSIRvoPEP5hSQFMT" + grantType: "client_credentials" + scope: "openid" + baseAddress: "http://ssi-dim-wallet-stub.tx.test" universalResolverAddress: "https://dev.uniresolver.io/" encryptionConfigs: index0: @@ -194,23 +201,34 @@ portal: encryptionKey: "d2e27d71b018cb36029184852f1baa3e26891be94718f77de4c7cc6c882fe317" mailing: - host: "smtp.tx.test" - port: "587" - user: "smtp-user" - senderEmail: "smtp@tx.test" - password: "" + # We need a valid SMTP server to send emails from the portal + host: "smtp4dev" + port: "25" + user: "portal-user" + senderEmail: "portal-admin@lksnext.com" + password: "portal-password" portalmigrations: logging: default: "Debug" + portalmaintenance: + logging: + default: "Debug" provisioning: + # Seeds centralidp and sharedidp + centralRealmId: "CX-Central" # El realm de centralidp que se va a utilizar + serviceAccountClientPrefix: "sa" # Prefijo para los technical users (service accounts) + centralIdentityProvider: + clientId: "central-idp" + sharedRealmClient: + clientId: "central-idp" sharedRealm: smtpServer: - host: "smtp.tx.test" - port: "587" - user: "smtp-user" - password: "" - from: "smtp@tx.test" - replyTo: "smtp@tx.test" + host: "smtp4dev" + port: "25" + user: "portal-user" + password: "portal-password" + from: "portal-admin@lksnext.com" + replyTo: "portal-replt@lksnext.com" # -- docs: http://portal-backend.tx.test/api/administration/swagger/index.html # http://portal-backend.tx.test/api/registration/swagger/index.html # http://portal-backend.tx.test/api/apps/swagger/index.html @@ -645,11 +663,11 @@ iatpmock: nameOverride: mock-util-service fullnameOverride: mock-util-service # -- see README ## Precondition for IATP Mock - image: - # override with locally built image if needed, default "tractusx/iatp-mock" - repository: "" - # override tag if needed, default "testing" - tag: "" + # image: + # # override with locally built image if needed, default "tractusx/iatp-mock" + # repository: "" + # # override tag if needed, default "testing" + # tag: "" ingress: enabled: true hosts: @@ -661,8 +679,8 @@ iatpmock: ssi-credential-issuer: enabled: false portalBackendAddress: "http://portal-backend.tx.test" - walletAddress: "http://iatpmock.tx.test" - walletTokenAddress: "https://iatpmock-token-address.tx.test/oauth/token" + walletAddress: "http://ssi-dim-wallet-stub.tx.test" + walletTokenAddress: "http://ssi-dim-wallet-stub.tx.test/oauth/token" issuer: swaggerEnabled: true logging: @@ -675,9 +693,9 @@ ssi-credential-issuer: # -- Client-secret for portal client-id. Secret-key 'portal-client-secret'. clientSecret: "VRHQM2NOA4176Vrscxey1DdO4P7ikUQc" credential: - issuerDid: "did:web:managed-identity-wallets.tx.test:BPNL00000003CRHK" + issuerDid: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK" issuerBpn: "BPNL00000003CRHK" - # statusListUrl: "https://example.org/statuslist" + statusListUrl: "http://ssi-dim-wallet-stub.tx.test/status-list/BPNL00000003CRHK/8a6c7486-1e1f-4555-bdd2-1a178182651e" encryptionConfigIndex: 0 encryptionConfigs: index0: @@ -944,26 +962,26 @@ dataconsumerOne: seedTestdata: false nameOverride: dataconsumer-1 secrets: - edc-miw-keycloak-secret: UbfW4CR1xH4OskkovqJ2JzcwnQIrG7oj + edc-miw-keycloak-secret: changeme tractusx-connector: nameOverride: dataconsumer-1-edc participant: id: BPNL00000003AZQP iatp: - id: did:web:mock-util-service:BPNL00000003AZQP + id: did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AZQP trustedIssuers: - - did:web:mock-util-service:trusted-issuer + - did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK sts: dim: - url: http://mock-util-service/sts + url: http://ssi-dim-wallet-stub.tx.test/api/sts oauth: - token_url: http://centralidp.tx.test/auth/realms/CX-Central/protocol/openid-connect/token + token_url: http://ssi-dim-wallet-stub.tx.test/oauth/token client: - id: satest01 + id: BPNL00000003AZQP secret_alias: edc-miw-keycloak-secret controlplane: env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api EDC_IAM_DID_WEB_USE_HTTPS: false bdrs: server: @@ -983,7 +1001,7 @@ dataconsumerOne: enabled: false dataplane: env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api EDC_IAM_DID_WEB_USE_HTTPS: false ingresses: - enabled: true @@ -1036,26 +1054,26 @@ tx-data-provider: dataplaneUrl: http://{{ .Release.Name }}-dataprovider-edc-dataplane:8081 nameOverride: dataprovider secrets: - edc-miw-keycloak-secret: pyFUZP2L9UCSVJUScHcN3ZEgy2PGyEpg + edc-miw-keycloak-secret: changeme tractusx-connector: nameOverride: dataprovider-edc participant: id: BPNL00000003AYRE iatp: - id: did:web:mock-util-service:BPNL00000003AYRE + id: did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AYRE trustedIssuers: - - did:web:mock-util-service:trusted-issuer + - did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK sts: dim: - url: http://mock-util-service/sts + url: http://ssi-dim-wallet-stub.tx.test/api/sts oauth: - token_url: http://centralidp.tx.test/auth/realms/CX-Central/protocol/openid-connect/token + token_url: http://ssi-dim-wallet-stub.tx.test/oauth/token client: - id: satest02 + id: BPNL00000003AYRE secret_alias: edc-miw-keycloak-secret controlplane: env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api EDC_IAM_DID_WEB_USE_HTTPS: false bdrs: server: @@ -1075,7 +1093,7 @@ tx-data-provider: enabled: false dataplane: env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api EDC_IAM_DID_WEB_USE_HTTPS: false ingresses: - enabled: true @@ -1167,26 +1185,26 @@ dataconsumerTwo: seedTestdata: false nameOverride: dataconsumer-2 secrets: - edc-miw-keycloak-secret: tPwy4exxH1sXBRQouobSA2nNVaaPuwCs + edc-miw-keycloak-secret: changeme tractusx-connector: nameOverride: dataconsumer-2-edc participant: id: BPNL00000003AVTH iatp: - id: did:web:mock-util-service:BPNL00000003AVTH + id: did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AVTH trustedIssuers: - - did:web:mock-util-service:trusted-issuer + - did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK sts: dim: - url: http://mock-util-service/sts + url: http://ssi-dim-wallet-stub.tx.test/api/sts oauth: - token_url: http://centralidp.tx.test/auth/realms/CX-Central/protocol/openid-connect/token + token_url: http://ssi-dim-wallet-stub.tx.test/oauth/token client: - id: satest03 + id: BPNL00000003AVTH secret_alias: edc-miw-keycloak-secret controlplane: env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api EDC_IAM_DID_WEB_USE_HTTPS: false bdrs: server: @@ -1206,7 +1224,7 @@ dataconsumerTwo: enabled: false dataplane: env: - TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://ssi-dim-wallet-stub.tx.test/api EDC_IAM_DID_WEB_USE_HTTPS: false ingresses: - enabled: true @@ -1273,45 +1291,46 @@ bdrs-server-memory: url: "http://bdrs-server:8081" enabled: true bpnList: + - bpn: "BPNL00000003CRHK" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK" - bpn: "BPNL00000003B3NX" - did: "did:web:mock-util-service:BPNL00000003B3NX" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003B3NX" - bpn: "BPNL00000003CSGV" - did: "did:web:mock-util-service:BPNL00000003CSGV" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CSGV" - bpn: "BPNL00000003B6LU" - did: "did:web:mock-util-service:BPNL00000003B6LU" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003B6LU" - bpn: "BPNL00000003AXS3" - did: "did:web:mock-util-service:BPNL00000003AXS3" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AXS3" - bpn: "BPNL00000003AZQP" - did: "did:web:mock-util-service:BPNL00000003AZQP" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AZQP" - bpn: "BPNL00000003AWSS" - did: "did:web:mock-util-service:BPNL00000003AWSS" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AWSS" - bpn: "BPNL00000003AYRE" - did: "did:web:mock-util-service:BPNL00000003AYRE" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AYRE" - bpn: "BPNL00000003AVTH" - did: "did:web:mock-util-service:BPNL00000003AVTH" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003AVTH" - bpn: "BPNL00000000BJTL" - did: "did:web:mock-util-service:BPNL00000000BJTL" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000000BJTL" - bpn: "BPNL00000003CML1" - did: "did:web:mock-util-service:BPNL00000003CML1" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CML1" - bpn: "BPNL00000003B2OM" - did: "did:web:mock-util-service:BPNL00000003B2OM" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003B2OM" - bpn: "BPNL00000003B0Q0" - did: "did:web:mock-util-service:BPNL00000003B0Q0" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003B0Q0" - bpn: "BPNL00000003B5MJ" - did: "did:web:mock-util-service:BPNL00000003B5MJ" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003B5MJ" - bpn: "BPNS0000000008ZZ" - did: "did:web:mock-util-service:BPNS0000000008ZZ" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNS0000000008ZZ" - bpn: "BPNL00000003CNKC" - did: "did:web:mock-util-service:BPNL00000003CNKC" + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CNKC" - bpn: "BPNS00000008BDFH" - did: "did:web:mock-util-service:BPNS00000008BDFH" - + did: "did:web:ssi-dim-wallet-stub.tx.test:BPNS00000008BDFH" + server: trustedIssuers: - - did:web:mock-util-service:trusted-issuer + - did:web:ssi-dim-wallet-stub.tx.test:BPNL00000003CRHK env: EDC_IAM_DID_WEB_USE_HTTPS: false - endpoints: management: authKey: TEST @@ -1358,7 +1377,7 @@ ssi-dim-wallet-stub: waitTime: "60" host: "http://portal-backend.tx.test" clientId: "sa-cl2-05" - clientSecret: "changeme" + clientSecret: "zuBGfr67Tj0WJ5fAJSIRvoPEP5hSQFMT" keycloak: realm: "CX-Central" authServerUrl: "http://centralidp.tx.test/auth" diff --git a/charts/values-test-data-exchange-iatp-mock.yaml b/charts/values-test-data-exchange-iatp-mock.yaml new file mode 100644 index 0000000..ad83926 --- /dev/null +++ b/charts/values-test-data-exchange-iatp-mock.yaml @@ -0,0 +1,141 @@ +############################################################### +# Copyright (c) 2024 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0. +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +# SPDX-License-Identifier: Apache-2.0 +############################################################### + +centralidp: + enabled: true + keycloak: + initContainers: + - name: import + image: kind-registry:5000/init-container:testing + imagePullPolicy: Always + command: + - sh + args: + - -c + - | + echo "Copying realms..." + cp -R /import/catenax-central/realms/* /realms + volumeMounts: + - name: realms + mountPath: "/realms" + +iatpmock: + enabled: true + +bdrs-server-memory: + enabled: true + seeding: + bpnList: + - bpn: "BPNL00000003B3NX" + did: "did:web:mock-util-service/BPNL00000003B3NX" + - bpn: "BPNL00000003CSGV" + did: "did:web:mock-util-service/BPNL00000003CSGV" + - bpn: "BPNL00000003B6LU" + did: "did:web:mock-util-service/BPNL00000003B6LU" + - bpn: "BPNL00000003AXS3" + did: "did:web:mock-util-service/BPNL00000003AXS3" + - bpn: "BPNL00000003AZQP" + did: "did:web:mock-util-service/BPNL00000003AZQP" + - bpn: "BPNL00000003AWSS" + did: "did:web:mock-util-service/BPNL00000003AWSS" + - bpn: "BPNL00000003AYRE" + did: "did:web:mock-util-service/BPNL00000003AYRE" + - bpn: "BPNL00000003AVTH" + did: "did:web:mock-util-service/BPNL00000003AVTH" + - bpn: "BPNL00000000BJTL" + did: "did:web:mock-util-service/BPNL00000000BJTL" + - bpn: "BPNL00000003CML1" + did: "did:web:mock-util-service/BPNL00000003CML1" + - bpn: "BPNL00000003B2OM" + did: "did:web:mock-util-service/BPNL00000003B2OM" + - bpn: "BPNL00000003B0Q0" + did: "did:web:mock-util-service/BPNL00000003B0Q0" + - bpn: "BPNL00000003B5MJ" + did: "did:web:mock-util-service/BPNL00000003B5MJ" + - bpn: "BPNS0000000008ZZ" + did: "did:web:mock-util-service/BPNS0000000008ZZ" + - bpn: "BPNL00000003CNKC" + did: "did:web:mock-util-service/BPNL00000003CNKC" + - bpn: "BPNS00000008BDFH" + did: "did:web:mock-util-service/BPNS00000008BDFH" + + hostname: &hostname bdrs-server.tx.test + server: + trustedIssuers: + - did:web:mock-util-service/trusted-issuer + ingresses: + - enabled: true + hostname: *hostname + endpoints: + - directory + - management + tls: + enabled: false + +dataconsumerOne: + enabled: true + secrets: + edc-miw-keycloak-secret: UbfW4CR1xH4OskkovqJ2JzcwnQIrG7oj + tractusx-connector: + iatp: + id: did:web:mock-util-service/BPNL00000003AZQP + trustedIssuers: + - did:web:mock-util-service/trusted-issuer + sts: + dim: + url: http://mock-util-service/sts + oauth: + token_url: http://umbrella-centralidp:80/auth/realms/CX-Central/protocol/openid-connect/token + client: + id: satest01 + controlplane: + env: + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + bdrs: + server: + url: http://bdrs-server:8082/api/directory + dataplane: + env: + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + +tx-data-provider: + enabled: true + secrets: + edc-miw-keycloak-secret: pyFUZP2L9UCSVJUScHcN3ZEgy2PGyEpg + tractusx-connector: + iatp: + id: did:web:mock-util-service/BPNL00000003AYRE + trustedIssuers: + - did:web:mock-util-service/trusted-issuer + sts: + dim: + url: http://mock-util-service/sts + oauth: + token_url: http://umbrella-centralidp:80/auth/realms/CX-Central/protocol/openid-connect/token + client: + id: satest02 + controlplane: + env: + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service + bdrs: + server: + url: http://bdrs-server:8082/api/directory + dataplane: + env: + TX_IAM_IATP_CREDENTIALSERVICE_URL: http://mock-util-service diff --git a/charts/values-test-data-exchange.yaml b/charts/values-test-data-exchange.yaml index 75a52f8..812e932 100644 --- a/charts/values-test-data-exchange.yaml +++ b/charts/values-test-data-exchange.yaml @@ -17,25 +17,7 @@ # SPDX-License-Identifier: Apache-2.0 ############################################################### -centralidp: - enabled: true - keycloak: - initContainers: - - name: import - image: kind-registry:5000/init-container:testing - imagePullPolicy: Always - command: - - sh - args: - - -c - - | - echo "Copying realms..." - cp -R /import/catenax-central/realms/* /realms - volumeMounts: - - name: realms - mountPath: "/realms" - -iatpmock: +ssi-dim-wallet-stub: enabled: true bdrs-server-memory: @@ -44,10 +26,6 @@ bdrs-server-memory: dataconsumerOne: enabled: true tractusx-connector: - iatp: - sts: - oauth: - token_url: http://umbrella-centralidp:80/auth/realms/CX-Central/protocol/openid-connect/token controlplane: bdrs: server: @@ -56,10 +34,6 @@ dataconsumerOne: tx-data-provider: enabled: true tractusx-connector: - iatp: - sts: - oauth: - token_url: http://umbrella-centralidp:80/auth/realms/CX-Central/protocol/openid-connect/token controlplane: bdrs: server: diff --git a/charts/values-test-shared-services-1.yaml b/charts/values-test-shared-services-1.yaml index e7dcd2d..5b44b4a 100644 --- a/charts/values-test-shared-services-1.yaml +++ b/charts/values-test-shared-services-1.yaml @@ -44,7 +44,7 @@ sharedidp: selfdescription: enabled: true -iatpmock: +ssi-dim-wallet-stub: enabled: true bdrs-server-memory: