Skip to content

Commit

Permalink
Upgrade to quarkus 3.15 (#5561)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesarnal authored Nov 22, 2024
1 parent 8cded01 commit 2dff775
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
13 changes: 10 additions & 3 deletions app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@

<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest-client</artifactId>
<artifactId>quarkus-resteasy-client</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest-client-jackson</artifactId>
<artifactId>quarkus-resteasy-client-jackson</artifactId>
</dependency>

<dependency>
Expand Down Expand Up @@ -266,6 +266,12 @@
<scope>test</scope>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jakarta.rs</groupId>
<artifactId>jackson-jakarta-rs-json-provider</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -610,7 +616,8 @@
</plugins>
</build>
<properties>
<quarkus.package.type>native</quarkus.package.type>
<quarkus.native.enabled>true</quarkus.native.enabled>
<quarkus.package.jar.enabled>false</quarkus.package.jar.enabled>
</properties>
</profile>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package io.apicurio.registry.services;

import io.quarkus.runtime.configuration.ProfileManager;
import io.quarkus.runtime.LaunchMode;
import org.eclipse.microprofile.config.spi.ConfigSource;

import java.util.HashMap;
Expand All @@ -39,7 +39,7 @@ public synchronized Map<String, String> getProperties() {
properties = new HashMap<>();
String prefix = System.getenv("REGISTRY_PROPERTIES_PREFIX");
if (prefix != null) {
String profile = ProfileManager.getActiveProfile();
String profile = LaunchMode.current().getProfileKey();
String profilePrefix = "%" + profile + ".";
Map<String, String> envMap = System.getenv();
for (Map.Entry<String, String> entry : envMap.entrySet()) {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%dev.quarkus.log.level=${LOG_LEVEL:INFO}
%dev.quarkus.log.category."io.apicurio".level=${REGISTRY_LOG_LEVEL:DEBUG}
%dev.quarkus.log.console.enable=true
%dev.quarkus.package.type=legacy-jar
%dev.quarkus.package.jar.type=legacy-jar

# Liveness and Readiness
%dev.registry.liveness.errors.ignored=${LIVENESS_ERRORS_IGNORED:}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# === Prod profile - see README
# HTTP Port
%prod.quarkus.http.port=${HTTP_PORT:8080}
%prod.quarkus.package.type=legacy-jar
%prod.quarkus.package.jar.type=legacy-jar

# Metrics
%prod.quarkus.micrometer.enabled=true
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
<node.version>16.17.0</node.version>

<!-- Quarkus Version -->
<quarkus.version>3.8.5</quarkus.version>
<quarkus.version>3.15.2</quarkus.version>

<!-- Jandex -->
<jandex.version>3.1.8</jandex.version>
Expand Down

0 comments on commit 2dff775

Please sign in to comment.