diff --git a/022-quarkus-properties-config-all/src/main/java/io/quarkus/qe/config/AntagonistConfiguration.java b/022-quarkus-properties-config-all/src/main/java/io/quarkus/qe/config/AntagonistConfiguration.java index 749a2fe9..9e41dfca 100644 --- a/022-quarkus-properties-config-all/src/main/java/io/quarkus/qe/config/AntagonistConfiguration.java +++ b/022-quarkus-properties-config-all/src/main/java/io/quarkus/qe/config/AntagonistConfiguration.java @@ -1,8 +1,8 @@ package io.quarkus.qe.config; -import io.quarkus.arc.config.ConfigProperties; +import io.smallrye.config.ConfigMapping; -@ConfigProperties(prefix = "antagonist") +@ConfigMapping(prefix = "antagonist") public class AntagonistConfiguration { public String message; public String name; diff --git a/022-quarkus-properties-config-all/src/main/java/io/quarkus/qe/config/interfaces/ProtagonistConfigurable.java b/022-quarkus-properties-config-all/src/main/java/io/quarkus/qe/config/interfaces/ProtagonistConfigurable.java index e9eaba42..b531e696 100644 --- a/022-quarkus-properties-config-all/src/main/java/io/quarkus/qe/config/interfaces/ProtagonistConfigurable.java +++ b/022-quarkus-properties-config-all/src/main/java/io/quarkus/qe/config/interfaces/ProtagonistConfigurable.java @@ -2,9 +2,9 @@ import org.eclipse.microprofile.config.inject.ConfigProperty; -import io.quarkus.arc.config.ConfigProperties; +import io.smallrye.config.ConfigMapping; -@ConfigProperties(prefix = "protagonist") +@ConfigMapping(prefix = "protagonist") public interface ProtagonistConfigurable extends IBiography { @ConfigProperty(name = "name") diff --git a/300-quarkus-vertx-webClient/src/main/java/io/quarkus/qe/vertx/webclient/config/VertxWebClientConfig.java b/300-quarkus-vertx-webClient/src/main/java/io/quarkus/qe/vertx/webclient/config/VertxWebClientConfig.java index 5116953d..847df745 100644 --- a/300-quarkus-vertx-webClient/src/main/java/io/quarkus/qe/vertx/webclient/config/VertxWebClientConfig.java +++ b/300-quarkus-vertx-webClient/src/main/java/io/quarkus/qe/vertx/webclient/config/VertxWebClientConfig.java @@ -2,9 +2,9 @@ import org.eclipse.microprofile.config.inject.ConfigProperty; -import io.quarkus.arc.config.ConfigProperties; +import io.smallrye.config.ConfigMapping; -@ConfigProperties(prefix = "vertx.webclient") +@ConfigMapping(prefix = "vertx.webclient") public class VertxWebClientConfig { @ConfigProperty(name = "timeoutSec") diff --git a/301-quarkus-vertx-kafka/src/main/java/io/quarkus/qe/kafka/config/VertxKProducerConfig.java b/301-quarkus-vertx-kafka/src/main/java/io/quarkus/qe/kafka/config/VertxKProducerConfig.java index 0d8d4b8c..fc096dab 100644 --- a/301-quarkus-vertx-kafka/src/main/java/io/quarkus/qe/kafka/config/VertxKProducerConfig.java +++ b/301-quarkus-vertx-kafka/src/main/java/io/quarkus/qe/kafka/config/VertxKProducerConfig.java @@ -2,9 +2,9 @@ import org.eclipse.microprofile.config.inject.ConfigProperty; -import io.quarkus.arc.config.ConfigProperties; +import io.smallrye.config.ConfigMapping; -@ConfigProperties(prefix = "vertx.kafka.producer") +@ConfigMapping(prefix = "vertx.kafka.producer") public class VertxKProducerConfig { @ConfigProperty(name = "delayMs") diff --git a/302-quarkus-vertx-jwt/src/main/java/io/quarkus/qe/vertx/web/config/AuthNConfig.java b/302-quarkus-vertx-jwt/src/main/java/io/quarkus/qe/vertx/web/config/AuthNConfig.java index ee49a6a2..4af3fb74 100644 --- a/302-quarkus-vertx-jwt/src/main/java/io/quarkus/qe/vertx/web/config/AuthNConfig.java +++ b/302-quarkus-vertx-jwt/src/main/java/io/quarkus/qe/vertx/web/config/AuthNConfig.java @@ -2,9 +2,9 @@ import org.eclipse.microprofile.config.inject.ConfigProperty; -import io.quarkus.arc.config.ConfigProperties; +import io.smallrye.config.ConfigMapping; -@ConfigProperties(prefix = "authN") +@ConfigMapping(prefix = "authN") public class AuthNConfig { public String alg; diff --git a/302-quarkus-vertx-jwt/src/main/java/io/quarkus/qe/vertx/web/config/JwtClaims.java b/302-quarkus-vertx-jwt/src/main/java/io/quarkus/qe/vertx/web/config/JwtClaims.java index 2e5177e9..5e23c01c 100644 --- a/302-quarkus-vertx-jwt/src/main/java/io/quarkus/qe/vertx/web/config/JwtClaims.java +++ b/302-quarkus-vertx-jwt/src/main/java/io/quarkus/qe/vertx/web/config/JwtClaims.java @@ -1,8 +1,8 @@ package io.quarkus.qe.vertx.web.config; -import io.quarkus.arc.config.ConfigProperties; +import io.smallrye.config.ConfigMapping; -@ConfigProperties(prefix = "authN.jwt.claims") +@ConfigMapping(prefix = "authN.jwt.claims") public class JwtClaims { public String iss; public String sub; diff --git a/303-quarkus-vertx-sql/src/main/java/io/quarkus/qe/vertx/sql/Application.java b/303-quarkus-vertx-sql/src/main/java/io/quarkus/qe/vertx/sql/Application.java index 553bfd21..466e5c13 100644 --- a/303-quarkus-vertx-sql/src/main/java/io/quarkus/qe/vertx/sql/Application.java +++ b/303-quarkus-vertx-sql/src/main/java/io/quarkus/qe/vertx/sql/Application.java @@ -17,9 +17,9 @@ import io.quarkus.qe.vertx.sql.services.DbPoolService; import io.quarkus.runtime.StartupEvent; import io.quarkus.runtime.configuration.ProfileManager; +import io.vertx.core.impl.logging.Logger; +import io.vertx.core.impl.logging.LoggerFactory; import io.vertx.core.json.jackson.DatabindCodec; -import io.vertx.core.logging.Logger; -import io.vertx.core.logging.LoggerFactory; import io.vertx.mutiny.db2client.DB2Pool; import io.vertx.mutiny.mysqlclient.MySQLPool; import io.vertx.mutiny.pgclient.PgPool;