diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8c0f0d2d..b037a04f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -83,5 +83,11 @@ kafka-clients = { module = "org.apache.kafka:kafka-clients", version.ref = "kafk testcontainers-kafka = { module = "org.testcontainers:kafka", version.ref = "testcontainers" } testcontainers-junit = { module = "org.testcontainers:junit-jupiter", version.ref = "testcontainers" } +postgresql = {module = "org.postgresql:postgresql", version = "42.7.3" } +edc-transaction-local = { module = "org.eclipse.edc:transaction-local", version = "0.7.1" } +edc-transaction-datasource-spi = { module = "org.eclipse.edc:transaction-datasource-spi", version = "0.7.1"} +edc-sql-apache-commons = { module = "org.eclipse.edc:sql-pool-apache-commons", version.ref = "edc" } +edc-control-plane-sql = { module = "org.eclipse.edc:control-plane-sql", version.ref = "edc" } + [plugins] shadow = { id = "com.github.johnrengelman.shadow", version = "8.1.1" } diff --git a/transfer/transfer-00-prerequisites/connector/build.gradle.kts b/transfer/transfer-00-prerequisites/connector/build.gradle.kts index 5018d8b4..d468cdf7 100644 --- a/transfer/transfer-00-prerequisites/connector/build.gradle.kts +++ b/transfer/transfer-00-prerequisites/connector/build.gradle.kts @@ -43,6 +43,13 @@ dependencies { implementation(libs.edc.data.plane.public.api) implementation(libs.edc.data.plane.core) implementation(libs.edc.data.plane.http) + + + implementation(libs.edc.control.plane.sql) + implementation(libs.edc.sql.apache.commons) + implementation(libs.postgresql) + implementation(libs.edc.transaction.local) + implementation(libs.edc.transaction.datasource.spi) } application { diff --git a/transfer/transfer-00-prerequisites/resources/configuration/consumer-configuration.properties b/transfer/transfer-00-prerequisites/resources/configuration/consumer-configuration.properties index 5b2059ad..b2602d70 100644 --- a/transfer/transfer-00-prerequisites/resources/configuration/consumer-configuration.properties +++ b/transfer/transfer-00-prerequisites/resources/configuration/consumer-configuration.properties @@ -12,3 +12,7 @@ web.http.public.port=29291 web.http.public.path=/public web.http.control.port=29192 web.http.control.path=/control + +edc.datasource.default.user=<> +edc.datasource.default.password=<> +edc.datasource.default.url=jdbc:postgresql://localhost:5432/consumer \ No newline at end of file diff --git a/transfer/transfer-00-prerequisites/resources/configuration/provider-configuration.properties b/transfer/transfer-00-prerequisites/resources/configuration/provider-configuration.properties index 733d735a..2feb6f2a 100644 --- a/transfer/transfer-00-prerequisites/resources/configuration/provider-configuration.properties +++ b/transfer/transfer-00-prerequisites/resources/configuration/provider-configuration.properties @@ -13,3 +13,7 @@ web.http.public.path=/public web.http.control.port=19192 web.http.control.path=/control edc.dataplane.api.public.baseurl=http://localhost:19291/public + +edc.datasource.default.user= +edc.datasource.default.password= +edc.datasource.default.url=jdbc:postgresql://localhost:5433/provider