Skip to content

Commit

Permalink
minimal edc with postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
kss682 committed Jul 11, 2024
1 parent 714d7fe commit ba2c3b5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
7 changes: 7 additions & 0 deletions transfer/transfer-00-prerequisites/connector/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ba2c3b5

Please sign in to comment.