diff --git a/servers/quarkus-server/src/main/java/org/projectnessie/server/config/DynamoVersionStoreConfig.java b/servers/quarkus-server/src/main/java/org/projectnessie/server/config/DynamoVersionStoreConfig.java index 6221c1f94a7..1c1a0b5654c 100644 --- a/servers/quarkus-server/src/main/java/org/projectnessie/server/config/DynamoVersionStoreConfig.java +++ b/servers/quarkus-server/src/main/java/org/projectnessie/server/config/DynamoVersionStoreConfig.java @@ -15,12 +15,13 @@ */ package org.projectnessie.server.config; -import io.quarkus.arc.config.ConfigProperties; import org.eclipse.microprofile.config.inject.ConfigProperty; import org.projectnessie.versioned.dynamodb.DynamoStoreConfig; +import io.smallrye.config.ConfigMapping; + /** DynamoDB version store configuration. */ -@ConfigProperties(prefix = "nessie.version.store.dynamo") +@ConfigMapping(prefix = "nessie.version.store.dynamo") public interface DynamoVersionStoreConfig { @ConfigProperty(name = "initialize", defaultValue = "false") diff --git a/servers/quarkus-server/src/main/java/org/projectnessie/server/config/JGitVersionStoreConfig.java b/servers/quarkus-server/src/main/java/org/projectnessie/server/config/JGitVersionStoreConfig.java index d1b7eb058c5..fe6768090f3 100644 --- a/servers/quarkus-server/src/main/java/org/projectnessie/server/config/JGitVersionStoreConfig.java +++ b/servers/quarkus-server/src/main/java/org/projectnessie/server/config/JGitVersionStoreConfig.java @@ -15,13 +15,15 @@ */ package org.projectnessie.server.config; -import io.quarkus.arc.config.ConfigProperties; -import io.quarkus.runtime.annotations.RegisterForReflection; import java.util.Optional; + import org.eclipse.microprofile.config.inject.ConfigProperty; +import io.quarkus.runtime.annotations.RegisterForReflection; +import io.smallrye.config.ConfigMapping; + /** JGit version store configuration. */ -@ConfigProperties(prefix = "nessie.version.store.jgit") +@ConfigMapping(prefix = "nessie.version.store.jgit") public interface JGitVersionStoreConfig { @RegisterForReflection public enum JGitStoreType { diff --git a/servers/quarkus-server/src/main/java/org/projectnessie/server/config/QuarkusServerConfig.java b/servers/quarkus-server/src/main/java/org/projectnessie/server/config/QuarkusServerConfig.java index 1cb68681a18..00d76b51b3a 100644 --- a/servers/quarkus-server/src/main/java/org/projectnessie/server/config/QuarkusServerConfig.java +++ b/servers/quarkus-server/src/main/java/org/projectnessie/server/config/QuarkusServerConfig.java @@ -15,12 +15,13 @@ */ package org.projectnessie.server.config; -import io.quarkus.arc.config.ConfigProperties; import org.eclipse.microprofile.config.inject.ConfigProperty; import org.projectnessie.services.config.ServerConfig; +import io.smallrye.config.ConfigMapping; + /** Nessie server config for Quarkus. */ -@ConfigProperties(prefix = "nessie.server") +@ConfigMapping(prefix = "nessie.server") public interface QuarkusServerConfig extends ServerConfig { @ConfigProperty(name = "default-branch", defaultValue = "main") diff --git a/servers/quarkus-server/src/main/java/org/projectnessie/server/config/VersionStoreConfig.java b/servers/quarkus-server/src/main/java/org/projectnessie/server/config/VersionStoreConfig.java index 0938c487008..ca491f879a3 100644 --- a/servers/quarkus-server/src/main/java/org/projectnessie/server/config/VersionStoreConfig.java +++ b/servers/quarkus-server/src/main/java/org/projectnessie/server/config/VersionStoreConfig.java @@ -15,12 +15,13 @@ */ package org.projectnessie.server.config; -import io.quarkus.arc.config.ConfigProperties; -import io.quarkus.runtime.annotations.RegisterForReflection; import org.eclipse.microprofile.config.inject.ConfigProperty; +import io.quarkus.runtime.annotations.RegisterForReflection; +import io.smallrye.config.ConfigMapping; + /** Version store configuration. */ -@ConfigProperties(prefix = "nessie.version.store") +@ConfigMapping(prefix = "nessie.version.store") public interface VersionStoreConfig { @RegisterForReflection