Skip to content

Commit

Permalink
fix test, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Mar 27, 2024
1 parent 8a9434c commit 8087a3e
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,16 +337,6 @@ spec:
value: {{ .Values.vault.azure.certificate | quote }}
{{- end }}

#####################
## DATA ENCRYPTION ##
#####################

# see extension https://github.com/eclipse-tractusx/tractusx-edc/tree/main/edc-extensions/data-encryption
- name: "EDC_DATA_ENCRYPTION_KEYS_ALIAS"
value: {{ .Values.vault.secretNames.transferProxyTokenEncryptionAesKey | quote }}
- name: "EDC_DATA_ENCRYPTION_ALGORITHM"
value: "AES"

###########################
## AAS WRAPPER EXTENSION ##
###########################
Expand Down
10 changes: 0 additions & 10 deletions charts/tractusx-connector-memory/templates/deployment-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,16 +255,6 @@ spec:
- name: "EDC_VAULT_SECRETS"
value: {{ .Values.vault.secrets | quote}}

#####################
## DATA ENCRYPTION ##
#####################

# see extension https://github.com/eclipse-tractusx/tractusx-edc/tree/develop/edc-extensions/data-encryption
- name: "EDC_DATA_ENCRYPTION_KEYS_ALIAS"
value: {{ .Values.vault.secretNames.transferProxyTokenEncryptionAesKey | quote }}
- name: "EDC_DATA_ENCRYPTION_ALGORITHM"
value: "AES"

###########################
## AAS WRAPPER EXTENSION ##
###########################
Expand Down
10 changes: 0 additions & 10 deletions charts/tractusx-connector/templates/deployment-controlplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -336,16 +336,6 @@ spec:
- name: "EDC_VAULT_HASHICORP_API_HEALTH_CHECK_PATH"
value: {{ .Values.vault.hashicorp.paths.health | quote }}

#####################
## DATA ENCRYPTION ##
#####################

# see extension https://github.com/eclipse-tractusx/tractusx-edc/tree/main/edc-extensions/data-encryption
- name: "EDC_DATA_ENCRYPTION_KEYS_ALIAS"
value: {{ .Values.vault.secretNames.transferProxyTokenEncryptionAesKey | quote }}
- name: "EDC_DATA_ENCRYPTION_ALGORITHM"
value: "AES"

###########################
## AAS WRAPPER EXTENSION ##
###########################
Expand Down
1 change: 1 addition & 0 deletions edc-controlplane/edc-controlplane-base/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies {
runtimeOnly(project(":edc-extensions:ssi:ssi-identity-extractor"))
runtimeOnly(project(":edc-extensions:cx-policy-legacy"))

runtimeOnly(libs.edc.core.connector)
runtimeOnly(libs.edc.core.controlplane)
runtimeOnly(libs.edc.core.policy.monitor)
runtimeOnly(libs.edc.config.filesystem)
Expand Down
4 changes: 1 addition & 3 deletions edc-controlplane/edc-runtime-memory/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ plugins {

dependencies {
implementation(libs.edc.spi.core)
runtimeOnly(project(":edc-controlplane:edc-controlplane-base")) {
exclude(module = "data-encryption")
}
runtimeOnly(project(":edc-controlplane:edc-controlplane-base"))
runtimeOnly(project(":edc-dataplane:edc-dataplane-base"))
runtimeOnly(libs.edc.core.controlplane)
testImplementation(libs.edc.junit)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ dependencies {

// use basic (all in-mem) control plane
implementation(project(":edc-controlplane:edc-controlplane-base")) {
exclude(module = "data-encryption")
exclude(module = "ssi-identity-core")
exclude(module = "ssi-miw-credential-client")
exclude(module = "ssi-identity-extractor")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ dependencies {

// use basic (all in-mem) control plane
implementation(project(":edc-controlplane:edc-controlplane-base")) {
exclude(module = "data-encryption")
exclude(module = "ssi-identity-core")
exclude(module = "ssi-miw-credential-client")
exclude(module = "ssi-identity-extractor")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ dependencies {

// use basic (all in-mem) control plane
implementation(project(":edc-controlplane:edc-controlplane-base")) {
exclude(module = "data-encryption")
exclude(module = "ssi-identity-core")
exclude(module = "ssi-miw-credential-client")
exclude(module = "ssi-identity-extractor")
Expand Down
1 change: 0 additions & 1 deletion edc-tests/runtime/iatp/runtime-memory-sts/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ dependencies {

// use basic (all in-mem) control plane
implementation(project(":edc-controlplane:edc-controlplane-base")) {
exclude(module = "data-encryption")
exclude(module = "ssi-identity-core")
exclude(module = "ssi-miw-credential-client")
exclude(module = "ssi-identity-extractor")
Expand Down
4 changes: 1 addition & 3 deletions edc-tests/runtime/runtime-memory-ssi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ plugins {
dependencies {

// use basic (all in-mem) control plane
implementation(project(":edc-controlplane:edc-controlplane-base")) {
exclude(module = "data-encryption")
}
implementation(project(":edc-controlplane:edc-controlplane-base"))
implementation(project(":core:json-ld-core"))


Expand Down
1 change: 0 additions & 1 deletion edc-tests/runtime/runtime-postgresql/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ dependencies {

// use basic (all in-mem) control plane
implementation(project(":edc-controlplane:edc-controlplane-postgresql-hashicorp-vault")) {
exclude(module = "data-encryption")
exclude(module = "json-ld-core")
exclude(module = "ssi-identity-core")
exclude(module = "ssi-miw-credential-client")
Expand Down
1 change: 0 additions & 1 deletion samples/multi-tenancy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dependencies {
implementation(libs.edc.boot)
implementation(libs.edc.iam.mock)
implementation(project(":edc-controlplane:edc-controlplane-base")) {
exclude("org.eclipse.tractusx.edc", "data-encryption")
exclude(module = "ssi-miw-credential-client")
exclude(module = "ssi-identity-core")
exclude(module = "auth-tokenbased")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ protected void boot() {
loadTenantsConfig().getConfig("edc.tenants").partition().forEach(this::bootTenant);
}

@Override
protected void onError(Exception e) {
throw new EdcException(e);
}

private void bootTenant(Config tenantConfig) {
var baseProperties = System.getProperties();
tenantConfig.getRelativeEntries().forEach(System::setProperty);
Expand Down

0 comments on commit 8087a3e

Please sign in to comment.