Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ subprojects {
apply plugin: "java-library"
}

project(":polaris-eclipselink") {
apply plugin: "java-library"
}

dependencies {
implementation(platform("com.fasterxml.jackson:jackson-bom:${jacksonVersion}"))
implementation("com.fasterxml.jackson.core:jackson-annotations")
Expand Down
5 changes: 3 additions & 2 deletions extension/persistence/eclipselink/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@

dependencies {
implementation(project(":polaris-core"))
implementation(project(":polaris-service"))
runtimeOnly(project(":polaris-service"))
implementation("org.eclipse.persistence:eclipselink:4.0.3")
implementation("io.dropwizard:dropwizard-jackson:${dropwizardVersion}")

implementation("com.h2database:h2:2.2.224") // Different dependencies will be needed for different backend database

testImplementation("com.h2database:h2:2.2.224")
testImplementation(testFixtures(project(":polaris-core")))
}
2 changes: 2 additions & 0 deletions polaris-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ defaultRealms:

metaStoreManager:
type: in-memory
# type: eclipse-link # uncomment to use eclipse-link as metastore
# persistence-unit: polaris-dev

# TODO - avoid duplicating token broker config
oauth2:
Expand Down
3 changes: 2 additions & 1 deletion polaris-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ plugins {

dependencies {
implementation(project(":polaris-core"))

implementation(project(":polaris-eclipselink"))

implementation(platform("org.apache.iceberg:iceberg-bom:${icebergVersion}"))
implementation("org.apache.iceberg:iceberg-api")
implementation("org.apache.iceberg:iceberg-core")
Expand Down