Skip to content

Commit efe8867

Browse files
authored
Merge pull request #15 from POSSIBLE-X/feature/persistence-investigation
feature/persistence-investigation
2 parents 64c418d + 0cdbb66 commit efe8867

15 files changed

+301
-473
lines changed

connector/build.gradle.kts

+10-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,16 @@ dependencies {
7676
implementation ("com.ionoscloud.edc:provision-ionos-s3:v2.2.0")
7777
implementation ("com.ionoscloud.edc:data-plane-ionos-s3:v2.2.0")
7878

79-
//implementation("de.fraunhofer.iais.eis.ids.infomodel:java:${fraunhoferVersion}")
79+
implementation("${edcGroup}:asset-index-sql:${edcVersion}")
80+
implementation("${edcGroup}:contract-definition-store-sql:${edcVersion}")
81+
implementation("${edcGroup}:contract-negotiation-store-sql:${edcVersion}")
82+
implementation("${edcGroup}:policy-definition-store-sql:${edcVersion}")
83+
implementation("${edcGroup}:policy-monitor-store-sql:${edcVersion}")
84+
implementation("${edcGroup}:sql-lease:${edcVersion}")
85+
implementation("${edcGroup}:sql-pool-apache-commons:${edcVersion}")
86+
implementation("${edcGroup}:transaction-local:$edcVersion")
87+
implementation("${edcGroup}:transaction-datasource-spi:$edcVersion")
88+
implementation ("org.postgresql:postgresql:42.7.2")
8089
}
8190

8291
repositories {

connector/resources/config.properties

+8-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,11 @@ ids.webhook.address=http://localhost:8282
2020
edc.vault.hashicorp.url=http://localhost:8200
2121
edc.vault.hashicorp.token=test-token
2222
edc.vault.hashicorp.timeout.seconds=30
23-
edc.dataplane.token.validation.endpoint=http://localhost:8184/control/token
23+
edc.dataplane.token.validation.endpoint=http://localhost:8184/control/token
24+
25+
edc.datasource.default.url=jdbc:postgresql://localhost:5432/edcprovider
26+
edc.datasource.default.name=postgres
27+
edc.datasource.default.password=postgres
28+
29+
# this will be available in version >=v0.9.0 and allows to skip manual sql initialization
30+
#edc.sql.schema.autocreate=true

connector/resources/consumer-configuration.properties

+7
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,10 @@ edc.oauth.provider.audience=idsc:IDS_CONNECTORS_ALL
3131
edc.iam.token.scope=idsc:IDS_CONNECTOR_ATTRIBUTES_ALL
3232
edc.keystore=/home/possible/workspace/localdeployment/initial_data/edc/consumer.pfx
3333
edc.keystore.password=zw9Eie7ztAqpl0Rbd/GEatmvzEREXEzL
34+
35+
edc.datasource.default.url=jdbc:postgresql://localhost:5432/edcconsumer
36+
edc.datasource.default.user=postgres
37+
edc.datasource.default.password=postgres
38+
39+
# this will be available in version >=v0.9.0 and allows to skip manual sql initialization
40+
#edc.sql.schema.autocreate=true

connector/resources/provider-configuration.properties

+7
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ edc.oauth.provider.audience=idsc:IDS_CONNECTORS_ALL
3030
edc.iam.token.scope=idsc:IDS_CONNECTOR_ATTRIBUTES_ALL
3131
edc.keystore=/home/possible/workspace/localdeployment/initial_data/edc/provider.pfx
3232
edc.keystore.password=F4HKbkgAORZWwzWasY10RhsxHt99LaoE
33+
34+
edc.datasource.default.url=jdbc:postgresql://localhost:5432/edcprovider
35+
edc.datasource.default.user=postgres
36+
edc.datasource.default.password=postgres
37+
38+
# this will be available in version >=v0.9.0 and allows to skip manual sql initialization
39+
#edc.sql.schema.autocreate=true

extension/build.gradle.kts

-31
This file was deleted.

extension/src/main/java/org/eclipse/edc/extension/possible/PossibleEventDetected.java

-83
This file was deleted.

extension/src/main/java/org/eclipse/edc/extension/possible/PossibleExtension.java

-65
This file was deleted.

extension/src/main/java/org/eclipse/edc/extension/possible/rdf/Constants.java

-20
This file was deleted.

extension/src/main/java/org/eclipse/edc/extension/possible/rdf/JenaHandler.java

-84
This file was deleted.

extension/src/main/java/org/eclipse/edc/extension/possible/rdf/PossibleDataResource.java

-26
This file was deleted.

0 commit comments

Comments
 (0)