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

Enable eclipselink for metastore #47

Merged
merged 4 commits into from
Aug 2, 2024
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
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ subprojects {
apply plugin: "java-library"
}

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

dependencies {
implementation(platform(libs.jackson.bom))
implementation("com.fasterxml.jackson.core:jackson-annotations")
Expand Down
3 changes: 2 additions & 1 deletion 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(libs.eclipselink)
implementation(platform(libs.dropwizard.bom))
implementation("io.dropwizard:dropwizard-jackson")
implementation(libs.h2) // Different dependencies will be needed for different backend databases

testImplementation(libs.h2)
testImplementation(testFixtures(project(":polaris-core")))
Expand Down
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(libs.iceberg.bom))
implementation("org.apache.iceberg:iceberg-api")
implementation("org.apache.iceberg:iceberg-core")
Expand Down
Loading