KEYCLOAK-19832 Update to Quarkus 2.5.1

This commit is contained in:
Dominik Guhr 2021-12-02 11:49:40 +01:00 committed by Pedro Igor
parent 12fe5e0012
commit 28673ed4d8
4 changed files with 6 additions and 5 deletions

View file

@ -63,7 +63,7 @@ done
# Specify options to pass to the Java VM. # Specify options to pass to the Java VM.
# #
if [ "x$JAVA_OPTS" = "x" ]; then if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Dquarkus-log-max-startup-records=10000" JAVA_OPTS="-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true"
else else
echo "JAVA_OPTS already set in environment; overriding default settings with values: $JAVA_OPTS" echo "JAVA_OPTS already set in environment; overriding default settings with values: $JAVA_OPTS"
fi fi

View file

@ -32,7 +32,7 @@
<properties> <properties>
<!-- Quarkus version --> <!-- Quarkus version -->
<quarkus.version>2.4.2.Final</quarkus.version> <quarkus.version>2.5.1.Final</quarkus.version>
<!-- <!--
Override versions based on Quarkus dependencies. Override versions based on Quarkus dependencies.
@ -44,8 +44,8 @@
<jackson.version>2.12.5</jackson.version> <jackson.version>2.12.5</jackson.version>
<jackson.databind.version>${jackson.version}</jackson.databind.version> <jackson.databind.version>${jackson.version}</jackson.databind.version>
<hibernate.core.version>5.6.1.Final</hibernate.core.version> <hibernate.core.version>5.6.1.Final</hibernate.core.version>
<mysql.driver.version>8.0.26</mysql.driver.version> <mysql.driver.version>8.0.27</mysql.driver.version>
<postgresql.version>42.2.24</postgresql.version> <postgresql.version>42.3.1</postgresql.version>
<microprofile-metrics-api.version>3.0</microprofile-metrics-api.version> <microprofile-metrics-api.version>3.0</microprofile-metrics-api.version>
<wildfly.common.version>1.5.4.Final-format-001</wildfly.common.version> <wildfly.common.version>1.5.4.Final-format-001</wildfly.common.version>
<infinispan.version>13.0.0.Final</infinispan.version> <infinispan.version>13.0.0.Final</infinispan.version>

View file

@ -47,7 +47,7 @@ import picocli.CommandLine.Mixin;
}, },
footerHeading = "Examples:", footerHeading = "Examples:",
footer = " Optimize the server based on a profile configuration:%n%n" footer = " Optimize the server based on a profile configuration:%n%n"
+ " $ ${PARENT-COMMAND-FULL-NAME:-$PARENTCOMMAND} ${COMMAND-NAME} --profile=prod%n%n" + " $ ${PARENT-COMMAND-FULL-NAME:-$PARENTCOMMAND} --profile=prod ${COMMAND-NAME}%n%n"
+ " Change database settings:%n%n" + " Change database settings:%n%n"
+ " $ ${PARENT-COMMAND-FULL-NAME:-$PARENTCOMMAND} ${COMMAND-NAME} --db=postgres [--db-url][--db-username][--db-password]%n%n" + " $ ${PARENT-COMMAND-FULL-NAME:-$PARENTCOMMAND} ${COMMAND-NAME} --db=postgres [--db-url][--db-username][--db-password]%n%n"
+ " Enable a feature:%n%n" + " Enable a feature:%n%n"

View file

@ -61,6 +61,7 @@ public interface CLIResult extends LaunchResult {
boolean isDistribution(); boolean isDistribution();
default void assertStarted() { default void assertStarted() {
assertFalse(getOutput().contains("The delayed handler's queue was overrun and log record(s) were lost (Did you forget to configure logging?)"), () -> "The standard Output:\n" + getOutput() + "should not contain a warning about log queue overrun.");
assertTrue(getOutput().contains("Listening on:"), () -> "The standard output:\n" + getOutput() + "does include \"Listening on:\""); assertTrue(getOutput().contains("Listening on:"), () -> "The standard output:\n" + getOutput() + "does include \"Listening on:\"");
assertNotDevMode(); assertNotDevMode();
} }