Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update BPDM version #156

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
4 changes: 2 additions & 2 deletions charts/umbrella/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sources:
- https://github.com/eclipse-tractusx/tractus-x-umbrella

type: application
version: 2.0.4
version: 2.0.5

# when adding or updating versions of dependencies, also update list under README.md#Install
dependencies:
Expand Down Expand Up @@ -76,7 +76,7 @@ dependencies:
- name: bpdm
condition: bpdm.enabled
repository: https://eclipse-tractusx.github.io/charts/dev
version: 5.0.3
version: 5.1.0
# TX Data Consumer 1
- name: tx-data-provider
alias: dataconsumerOne
Expand Down
49 changes: 25 additions & 24 deletions charts/umbrella/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,8 @@ bpdm:
# App should take the x-forward-header-prefix into account for Swagger-UI and redirects to work correctly
forward-headers-strategy: "FRAMEWORK"
bpdm:
datasource:
host: umbrella-bpdm-postgres
bpn:
# This Gate has no owner restriction as other companies can write into the Gate under their own tenant
owner-bpn-l:
Expand All @@ -848,10 +850,11 @@ bpdm:
client:
pool:
registration:
client-id: *bpdmAdminClientId
client-id: "sa-cl7-cx-1"
orchestrator:
base-url: http://umbrella-bpdm-orchestrator
registration:
client-id: *bpdmAdminClientId
client-id: "sa-cl25-cx-3"
applicationSecrets:
spring:
datasource:
Expand All @@ -861,10 +864,10 @@ bpdm:
client:
orchestrator:
registration:
client-secret: *bpdmAdminClientSecret
client-secret: "changeme"
pool:
registration:
client-secret: *bpdmAdminClientSecret
client-secret: "changeme"

# Configures the central business partner Pool
bpdm-pool:
Expand All @@ -888,6 +891,8 @@ bpdm:
# App should take the x-forward-header-prefix into account for Swagger-UI and redirects to work correctly
forward-headers-strategy: "FRAMEWORK"
bpdm:
datasource:
host: umbrella-bpdm-postgres
security:
# App's API is authenticated over Central-IDP
auth-server-url: "http://centralidp.tx.test/auth"
Expand All @@ -901,14 +906,15 @@ bpdm:
# We will reuse the general BPDM admin technical user to establish connection between the services
client:
orchestrator:
base-url: http://umbrella-bpdm-orchestrator
registration:
client-id: *bpdmAdminClientId
client-id: "sa-cl25-cx-2"
applicationSecrets:
bpdm:
client:
orchestrator:
registration:
client-secret: *bpdmAdminClientSecret
client-secret: "changeme"
spring:
datasource:
# Set the password of the postgres BPDM user here (Currently, BPDM can't deal with random initial passwords)
Expand All @@ -927,31 +933,25 @@ bpdm:
paths:
- path: "/orchestrator(/|$)(.*)"
pathType: "ImplementationSpecific"
postgres:
enabled: false
fullnameOverride: bpdm-postgres
applicationConfig:
server:
# App should take the x-forward-header-prefix into account for Swagger-UI and redirects to work correctly
forward-headers-strategy: "FRAMEWORK"
bpdm:
datasource:
host: umbrella-bpdm-postgres
security:
auth-server-url: "http://centralidp.tx.test/auth"
realm: "CX-Central"
# The Central-IDP does not yet have dedicated Orchestrator permissions
# Therefore, we just reuse the permissions from the Pool for now
# Basically it is saying: If you would be able to write into the Pool directly,
# you are also able to create golden record tasks which eventually will write data into the Pool
# (We are stricter with the permissions now than we will have to be when using dedicated permissions)
client-id: "Cl7-CX-BPDM"
permissions:
createTask: "write_partner"
readTask: "write_partner"
reservation:
clean: "write_partner"
cleanAndSync: "write_partner"
poolSync: "write_partner"
result:
clean: "write_partner"
cleanAndSync: "write_partner"
poolSync: "write_partner"
applicationSecrets:
spring:
datasource:
# Set the password of the postgres BPDM user here (Currently, BPDM can't deal with random initial passwords)
password: *bpdmPostgresPassword

# This installs a dummy cleaning service which performs rudimentary cleaning operations in order to realize the golden record process
bpdm-cleaning-service-dummy:
Expand All @@ -962,16 +962,17 @@ bpdm:
# We reuse the general BPDM admin technical user to establish connection between the services
client:
orchestrator:
base-url: http://umbrella-bpdm-orchestrator
provider:
issuer-uri: "http://centralidp.tx.test/auth/realms/CX-Central"
registration:
client-id: *bpdmAdminClientId
client-id: "sa-cl25-cx-1"
applicationSecrets:
bpdm:
client:
orchestrator:
registration:
client-secret: *bpdmAdminClientSecret
client-secret: "changeme"

dataconsumerOne:
enabled: false
Expand Down