Skip to content

Commit

Permalink
feat(catalog): add FC cache Postgres impl
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Jul 15, 2024
1 parent 098417f commit ed24a78
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions deployment/assets/postgres/edc_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,10 @@ CREATE TABLE IF NOT EXISTS edc_edr_entry
contract_negotiation_id VARCHAR,
created_at BIGINT NOT NULL
);

CREATE TABLE IF NOT EXISTS edc_federated_catalog
(
id VARCHAR PRIMARY KEY NOT NULL,
catalog JSON,
marked BOOLEAN DEFAULT FALSE
);
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ format.version = "1.1"
[versions]
assertj = "3.24.2"
awaitility = "4.2.0"
edc = "0.8.0"
edc = "0.8.1-SNAPSHOT"
failsafe = "3.3.2"
jackson = "2.14.2"
jupiter = "5.10.1"
Expand Down Expand Up @@ -129,6 +129,7 @@ edc-oauth2-client = { module = "org.eclipse.edc:oauth2-client", version.ref = "e
edc-fc-spi-crawler = { module = "org.eclipse.edc:crawler-spi", version.ref = "edc" }
edc-fc-core = { module = "org.eclipse.edc:federated-catalog-core", version.ref = "edc" }
edc-fc-api = { module = "org.eclipse.edc:federated-catalog-api", version.ref = "edc" }
edc-fc-cache-sql = { module = "org.eclipse.edc:federated-catalog-cache-sql", version.ref = "edc" }

# specific dependencies needed by the catalog server
edc-controlplane-catalog = { module = "org.eclipse.edc:control-plane-catalog", version.ref = "edc" }
Expand Down
2 changes: 2 additions & 0 deletions launchers/controlplane/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ dependencies {
runtimeOnly(project(":extensions:catalog-node-resolver")) // to trigger the federated catalog
implementation(libs.edc.spi.core) // we need some constants

runtimeOnly(libs.edc.fc.cache.sql)

implementation(libs.bundles.controlplane)
implementation(libs.edc.core.connector)

Expand Down

0 comments on commit ed24a78

Please sign in to comment.