Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #266 from Sgitario/upgrade_quarkus
Browse files Browse the repository at this point in the history
Upgrade to Quarkus 1.13.2.Final
  • Loading branch information
rsvoboda authored Apr 23, 2021
2 parents cb1044e + 67be3bc commit ad61546
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
quarkus.openshift.expose=true
quarkus.openshift.config-map-volumes.app-config.config-map-name=app-config
quarkus.openshift.mounts.app-config.path=/deployments/config
quarkus.openshift.app-config-map=app-config
quarkus.s2i.base-jvm-image=registry.access.redhat.com/ubi8/openjdk-11:latest

# TODO: remove workaround for https://github.com/quarkusio/quarkus/issues/14525
quarkus.openshift.env.vars.smallrye-config-locations=/deployments/config

%test.hello.message=Hello, %s!

# the application binary resides in /home/quarkus with quarkus/ubi-quarkus-native-binary-s2i
%native.quarkus.openshift.mounts.app-config.path=/home/quarkus/config

quarkus.openshift.readiness-probe.period=5s
quarkus.openshift.readiness-probe.initial-delay=0s
quarkus.openshift.readiness-probe.failure-threshold=5
6 changes: 6 additions & 0 deletions external-applications/quarkus-workshop-super-heroes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<!-- Building external apps in OpenShift can be quite slow when downloading Maven dependencies -->
<ts.default-timeout>20</ts.default-timeout>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
6 changes: 6 additions & 0 deletions external-applications/todo-demo-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<!-- Building external apps in OpenShift can be quite slow when downloading Maven dependencies -->
<ts.default-timeout>20</ts.default-timeout>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
3 changes: 3 additions & 0 deletions http/http-advanced/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ io.quarkus.ts.openshift.http.clients.HttpVersionClientServiceAsync/mp-rest/trust

# gRPC
quarkus.grpc.clients.hello.host=localhost
## Use the same gRPC for prod and test
quarkus.grpc.server.port=9000
quarkus.grpc.server.test-port=${quarkus.grpc.server.port}

# authZ
quarkus.keycloak.policy-enforcer.enable=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
%local.mp.messaging.connector.smallrye-kafka.apicurio.registry.url=http://localhost:8081/api

kafka.bootstrap.servers=kafka-broker-1:9092
# TODO: Disable health check because of https://github.com/quarkusio/quarkus/issues/15464

# Kafka Health Check readiness remains down until It's consumed the first time, so we need to disable it in OpenShift.
# Related to https://github.com/quarkusio/quarkus/issues/15464
quarkus.reactive-messaging.health.enabled=false

mp.messaging.connector.smallrye-kafka.apicurio.registry.url=http://registry-service:8081/api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ producer.loginUrls=redhat/login,inditex/login,santander/login,bbva/login

kafka.bootstrap.servers=kafka-broker-1:9092

# TODO: Disable health check because of https://github.com/quarkusio/quarkus/issues/15464
# Kafka Health Check readiness remains down until It's consumed the first time, so we need to disable it in OpenShift.
# Related to https://github.com/quarkusio/quarkus/issues/15464
quarkus.reactive-messaging.health.enabled=false

mp.messaging.outgoing.login-http-response-values.connector=smallrye-kafka
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
kafka.bootstrap.servers=kafka-broker-1:9092
# TODO: Disable health check because of https://github.com/quarkusio/quarkus/issues/15464

# Kafka Health Check readiness remains down until It's consumed the first time, so we need to disable it in OpenShift.
# Related to https://github.com/quarkusio/quarkus/issues/15464
quarkus.reactive-messaging.health.enabled=false

mp.messaging.outgoing.alerts-source.connector=smallrye-kafka
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<version.maven-compiler-plugin>3.8.1</version.maven-compiler-plugin>
<version.maven-jar-plugin>3.2.0</version.maven-jar-plugin>
<version.maven-surefire-plugin>2.22.2</version.maven-surefire-plugin>
<version.quarkus>1.12.2.Final</version.quarkus>
<version.quarkus>1.13.2.Final</version.quarkus>
<version.plugin.quarkus>${version.quarkus}</version.plugin.quarkus>
<version.testcontainers>1.15.3</version.testcontainers>
</properties>
Expand Down

0 comments on commit ad61546

Please sign in to comment.