Skip to content

Commit

Permalink
Release Quarkus update to 3.16.2
Browse files Browse the repository at this point in the history
  • Loading branch information
amusarra committed Nov 13, 2024
1 parent 08d92e7 commit 0a9714b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated
### Security

## [1.2.9]
### Changed
- Upgrade to Quarkus 3.16.2

## [1.2.8] - 2024-06-09
### Changed
- Finest tuning for the JMX configuration
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Le estensioni Quarkus utilizzate per l'implementazione del progetto sono le segu
> Podman) al fine di eseguire l'applicazione in dev mode ed eseguire i test, entrambe le operazioni richiedono l'uso
> dei Dev Services di Quarkus (e di conseguenza del container runtime).
> Dalla release [1.2.9](https://github.com/amusarra/eventbus-logging-filter-jaxrs/releases/tag/v1.2.9) del progetto, la versione di Quarkus è stata aggiornata alla release 3.16.2.
## Esecuzione dell'applicazione in Docker
Vorresti eseguire l'applicazione in un container e testare il funzionamento dell'applicazione fin da subito?
All'interno del progetto è disponibile il file `src/main/docker/docker-compose.yml` che ti permette di eseguire
Expand Down
11 changes: 2 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>it.dontesta.eventbus</groupId>
<artifactId>eventbus-logging-filter-jaxrs</artifactId>
<version>1.2.8</version>
<version>1.2.9</version>
<name>eventbus-logging-filter-jaxrs</name>
<description>Event Bus Logging Filter JAX-RS</description>
<url>https://amusarra.github.io/eventbus-logging-filter-jaxrs-docs</url>
Expand Down Expand Up @@ -48,7 +48,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>3.10.0</quarkus.platform.version>
<quarkus.platform.version>3.16.2</quarkus.platform.version>
<skipITs>true</skipITs>
<sonar.coverage.jacoco.xmlReportPaths>target/jacoco-report/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
Expand All @@ -64,13 +64,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>${quarkus.platform.group-id}</groupId>
<artifactId>quarkus-camel-bom</artifactId>
<version>${quarkus.platform.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class AmqpConsumer {
@Incoming("http-request-in")
public CompletionStage<Void> consumeHttpRequest(Message<JsonObject> requestMessage) {
// Implementa la logica per consumare il messaggio della richiesta HTTP
log.debug("Received HTTP request message: " + requestMessage.getPayload());
log.debug("Received HTTP request message: %s".formatted(requestMessage.getPayload()));
return requestMessage.ack();
}

Expand All @@ -42,7 +42,7 @@ public CompletionStage<Void> consumeHttpRequest(Message<JsonObject> requestMessa
@Incoming("http-response-in")
public CompletionStage<Void> consumeHttpResponse(Message<JsonObject> requestMessage) {
// Implementa la logica per consumare il messaggio della richiesta HTTP
log.debug("Received HTTP response message: " + requestMessage.getPayload());
log.debug("Received HTTP response message: %s".formatted(requestMessage.getPayload()));
return requestMessage.ack();
}
}
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ quarkus.openshift.env.secrets=amqp-username-password,mongodb,db-username-passwor
# the Openshift build. When it references images already available in the internal Openshift
# registry, the corresponding streams are used instead. When the application is built against
# Java 21 or higher.
quarkus.openshift.base-jvm-image=registry.access.redhat.com/ubi9/openjdk-21:1.18-3
quarkus.openshift.base-jvm-image=registry.access.redhat.com/ubi9/openjdk-21:1.20-2.1729773471

# Define the JAVA_OPTS environment variables that should be added to the container
# For this JVM application use the GC1 garbage collector with the following options:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void testConsumeHttpRequest() {

amqpConsumer.consumeHttpRequest(message);

verify(log, times(1)).debug("Received HTTP request message: " + jsonObject);
verify(log, times(1)).debug("Received HTTP request message: %s".formatted(jsonObject));
verify(message, times(1)).ack();
}

Expand All @@ -51,7 +51,7 @@ void testConsumeHttpResponse() {

amqpConsumer.consumeHttpResponse(message);

verify(log, times(1)).debug("Received HTTP response message: " + jsonObject);
verify(log, times(1)).debug("Received HTTP response message: %s".formatted(jsonObject));
verify(message, times(1)).ack();
}
}

0 comments on commit 0a9714b

Please sign in to comment.