Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add FC Cache Postgres modules #290

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
);
5 changes: 4 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 Expand Up @@ -162,5 +163,7 @@ sql-edc = ["edc-sql-assetindex", "edc-sql-contractdef", "edc-sql-contractneg", "

sql-ih = ["edc-sql-ih-credstore-sql", "edc-sql-ih-didstore-sql", "edc-sql-ih-keypairstore-sql", "edc-sql-ih-pcstore-sql", "edc-sql-core", "edc-sql-pool", "edc-sql-transactionlocal", "postgres"]

sql-fc = ["edc-fc-cache-sql"]

[plugins]
shadow = { id = "com.github.johnrengelman.shadow", version = "8.1.1" }
1 change: 1 addition & 0 deletions launchers/controlplane/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies {
if (project.properties.getOrDefault("persistence", "false") == "true") {
runtimeOnly(libs.edc.vault.hashicorp)
runtimeOnly(libs.bundles.sql.edc)
runtimeOnly(libs.bundles.sql.fc)
println("This runtime compiles with Hashicorp Vault and PostgreSQL. You will need properly configured Postgres and HCV instances.")
}
runtimeOnly(libs.bundles.dpf)
Expand Down
Loading