Skip to content

Commit

Permalink
add fine granular access to values.yml test
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacicek committed Jun 27, 2024
1 parent 3cb0473 commit 6d3471b
Showing 1 changed file with 12 additions and 36 deletions.
48 changes: 12 additions & 36 deletions environments/association/provider-edc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ tractusx-connector:
privatekey_alias: <path:semantics/data/provider-edc#ec-private>
verifier:
publickey_alias: <path:semantics/data/provider-edc#ec-public>
env:
EDC_GRANULAR_ACCESS_VERIFICATION_ERROR_ENDPOINT_PORT=9054
EDC_GRANULAR_ACCESS_VERIFICATION_EDC_DATA_PLANE_BASEURL=http://local-edc-data-plane:9051/public/v2/
EDC_GRANULAR_ACCESS_VERIFICATION_DTR_NAMES=default
EDC_GRANULAR_ACCESS_VERIFICATION_DTR_CONFIG_DEFAULT_DTR_DECISION_CACHE_DURATION_MINUTES=1
EDC_GRANULAR_ACCESS_VERIFICATION_DTR_CONFIG_DEFAULT_DTR_ACCESS_VERIFICATION_ENDPOINT_URL=http://local-edc-wiremock:18080/dtr/v2/api/v3/submodel-descriptor/authorized
EDC_GRANULAR_ACCESS_VERIFICATION_DTR_CONFIG_DEFAULT_ASPECT_MODEL_URL_PATTERN=http:\/\/local-edc-wiremock:18080\/pcf\/.*
EDC_GRANULAR_ACCESS_VERIFICATION_DTR_CONFIG_DEFAULT_OAUTH2_TOKEN_ENDPOINT_URL=http://local-edc-wiremock:18080/iam/access-management/v1/tenants/00000000-0000-0000-0000-000000000000/openid-connect/token
EDC_GRANULAR_ACCESS_VERIFICATION_DTR_CONFIG_DEFAULT_OAUTH2_TOKEN_SCOPE=aud:local-edc-dtr
EDC_GRANULAR_ACCESS_VERIFICATION_DTR_CONFIG_DEFAULT_OAUTH2_TOKEN_CLIENTID=dtr_client
EDC_GRANULAR_ACCESS_VERIFICATION_DTR_CONFIG_DEFAULT_OAUTH2_TOKEN_CLIENTSECRET_PATH=dtrsecret
controlplane:
image:
repository: <path:semantics/data/provider-edc#controlplane-image-repository>
Expand Down Expand Up @@ -102,39 +113,4 @@ tractusx-connector:
standbyOk: true
paths:
secret: <path:semantics/data/provider-edc#vault-hashicorp-secret-path>
health: /v1/sys/health
granular:
access:
verification:
error:
endpoint:
port: 9054
edc:
data:
plane:
baseUrl: http://dataplane:9051/public/v2/
dtr:
names: default
config:
default:
dtr:
decision:
cache:
duration:
minutes: 1
access:
verification:
endpoint:
url: http://local-edc-wiremock:18080/dtr/v2/api/v3/submodel-descriptor/authorized
aspect:
model:
url:
pattern: http:\/\/local-edc-wiremock:18080\/pcf\/.*
oauth2:
token:
endpoint:
url: http://local-edc-wiremock:18080/iam/access-management/v1/tenants/00000000-0000-0000-0000-000000000000/openid-connect/token
scope: aud:local-edc-dtr
clientId: dtr_client
clientSecret:
path: dtrsecret
health: /v1/sys/health

0 comments on commit 6d3471b

Please sign in to comment.