Skip to content

Commit

Permalink
chore: Organize structure and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
CDiezRodriguez committed Oct 24, 2024
1 parent 2642ac1 commit e3e85e8
Show file tree
Hide file tree
Showing 10 changed files with 497 additions and 520 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/helm-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
245 changes: 245 additions & 0 deletions charts/umbrella/values-adopter-data-exchange-iatp-mock.yaml
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit e3e85e8

Please sign in to comment.