diff --git a/agoora-agents-api/pom.xml b/agoora-agents-api/pom.xml index e6175f0..a6c523f 100644 --- a/agoora-agents-api/pom.xml +++ b/agoora-agents-api/pom.xml @@ -1,7 +1,7 @@ - 4.0.0 @@ -21,7 +21,7 @@ io.quarkus - quarkus-rest-client + quarkus-resteasy-client io.quarkus @@ -29,7 +29,7 @@ io.quarkus - quarkus-keycloak-admin-client + quarkus-keycloak-admin-resteasy-client org.projectlombok diff --git a/agoora-agents-api/src/main/java/io/spoud/agoora/agents/api/auth/AuthClientInterceptor.java b/agoora-agents-api/src/main/java/io/spoud/agoora/agents/api/auth/AuthClientInterceptor.java index 4055992..09d4ccf 100644 --- a/agoora-agents-api/src/main/java/io/spoud/agoora/agents/api/auth/AuthClientInterceptor.java +++ b/agoora-agents-api/src/main/java/io/spoud/agoora/agents/api/auth/AuthClientInterceptor.java @@ -1,7 +1,9 @@ package io.spoud.agoora.agents.api.auth; import io.grpc.*; +import io.quarkus.grpc.GlobalInterceptor; import io.spoud.agoora.agents.api.config.AgooraAgentClientAuthConfig; +import jakarta.enterprise.context.ApplicationScoped; import jakarta.ws.rs.client.ClientBuilder; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; @@ -24,6 +26,7 @@ import java.util.concurrent.TimeUnit; @Slf4j +@GlobalInterceptor public class AuthClientInterceptor implements ClientInterceptor { public static final String PROXY_HOST = "http.proxyHost"; public static final String PROXY_PORT = "http.proxyPort"; diff --git a/agoora-kafka-agent/pom.xml b/agoora-kafka-agent/pom.xml index f4071c3..7d32ef0 100644 --- a/agoora-kafka-agent/pom.xml +++ b/agoora-kafka-agent/pom.xml @@ -1,7 +1,7 @@ - + 4.0.0 @@ -30,7 +30,7 @@ io.quarkus - quarkus-smallrye-reactive-messaging-kafka + quarkus-messaging-kafka io.quarkus @@ -46,7 +46,7 @@ io.quarkus - quarkus-rest-client + quarkus-resteasy-client io.quarkus @@ -207,7 +207,8 @@ - native + true + false diff --git a/agoora-mqtt-agent/pom.xml b/agoora-mqtt-agent/pom.xml index 44b8681..a6c5bdb 100644 --- a/agoora-mqtt-agent/pom.xml +++ b/agoora-mqtt-agent/pom.xml @@ -168,7 +168,8 @@ - native + true + false diff --git a/agoora-mqtt-agent/src/main/java/io/spoud/agoora/agents/mqtt/ApplicationLifeCycle.java b/agoora-mqtt-agent/src/main/java/io/spoud/agoora/agents/mqtt/ApplicationLifeCycle.java index 0615f5d..be36c92 100644 --- a/agoora-mqtt-agent/src/main/java/io/spoud/agoora/agents/mqtt/ApplicationLifeCycle.java +++ b/agoora-mqtt-agent/src/main/java/io/spoud/agoora/agents/mqtt/ApplicationLifeCycle.java @@ -1,7 +1,7 @@ package io.spoud.agoora.agents.mqtt; import io.quarkus.runtime.StartupEvent; -import io.quarkus.runtime.configuration.ProfileManager; +import io.quarkus.runtime.configuration.ConfigUtils; import lombok.extern.slf4j.Slf4j; import jakarta.enterprise.context.ApplicationScoped; @@ -12,6 +12,6 @@ public class ApplicationLifeCycle { void onStart(@Observes StartupEvent ev) { - LOG.info("The application is starting with profile " + ProfileManager.getActiveProfile()); + LOG.info("The application is starting with profile {}", ConfigUtils.getProfiles()); } } diff --git a/agoora-openapi-agent/pom.xml b/agoora-openapi-agent/pom.xml index 2fa2737..16d271c 100644 --- a/agoora-openapi-agent/pom.xml +++ b/agoora-openapi-agent/pom.xml @@ -159,7 +159,8 @@ - native + true + false diff --git a/agoora-openapi-agent/src/main/java/io/spoud/agoora/agents/openapi/ApplicationLifeCycle.java b/agoora-openapi-agent/src/main/java/io/spoud/agoora/agents/openapi/ApplicationLifeCycle.java index e57135a..373c9f3 100644 --- a/agoora-openapi-agent/src/main/java/io/spoud/agoora/agents/openapi/ApplicationLifeCycle.java +++ b/agoora-openapi-agent/src/main/java/io/spoud/agoora/agents/openapi/ApplicationLifeCycle.java @@ -1,7 +1,7 @@ package io.spoud.agoora.agents.openapi; import io.quarkus.runtime.StartupEvent; -import io.quarkus.runtime.configuration.ProfileManager; +import io.quarkus.runtime.configuration.ConfigUtils; import lombok.extern.slf4j.Slf4j; import jakarta.enterprise.context.ApplicationScoped; @@ -12,6 +12,6 @@ public class ApplicationLifeCycle { void onStart(@Observes StartupEvent ev) { - LOG.info("The application is starting with profile " + ProfileManager.getActiveProfile()); + LOG.info("The application is starting with profile {}", ConfigUtils.getProfiles()); } } diff --git a/agoora-pgsql-agent/pom.xml b/agoora-pgsql-agent/pom.xml index a369c86..7666dcc 100644 --- a/agoora-pgsql-agent/pom.xml +++ b/agoora-pgsql-agent/pom.xml @@ -166,7 +166,8 @@ - native + true + false diff --git a/agoora-pgsql-agent/src/main/java/io/spoud/agoora/agents/pgsql/ApplicationLifeCycle.java b/agoora-pgsql-agent/src/main/java/io/spoud/agoora/agents/pgsql/ApplicationLifeCycle.java index 8a40ffa..956f882 100644 --- a/agoora-pgsql-agent/src/main/java/io/spoud/agoora/agents/pgsql/ApplicationLifeCycle.java +++ b/agoora-pgsql-agent/src/main/java/io/spoud/agoora/agents/pgsql/ApplicationLifeCycle.java @@ -1,7 +1,7 @@ package io.spoud.agoora.agents.pgsql; import io.quarkus.runtime.StartupEvent; -import io.quarkus.runtime.configuration.ProfileManager; +import io.quarkus.runtime.configuration.ConfigUtils; import lombok.extern.slf4j.Slf4j; import jakarta.enterprise.context.ApplicationScoped; @@ -12,6 +12,6 @@ public class ApplicationLifeCycle { void onStart(@Observes StartupEvent ev) { - LOG.info("The application is starting with profile " + ProfileManager.getActiveProfile()); + LOG.info("The application is starting with profile {}", ConfigUtils.getProfiles()); } } diff --git a/agoora-profiler-service/requirements.txt b/agoora-profiler-service/requirements.txt index e6c34c7..db48821 100644 --- a/agoora-profiler-service/requirements.txt +++ b/agoora-profiler-service/requirements.txt @@ -14,7 +14,7 @@ numba>=0.56.0, <1 pandas>1.1, <3, !=1.4.0 ydata-profiling func-timeout -great_expectations +great_expectations==0.18.19 future pyspark # for some reason this is needed for great_expectations to work diff --git a/pom.xml b/pom.xml index 3a0421f..c463db0 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ quarkus-bom io.quarkus.platform - 3.8.1 + 3.14.1 spoud_${project.artifactId} spoud