Skip to content

Commit fb443aa

Browse files
authored
Merge pull request #42420 from gsmet/3.13.2-backports-1
[3.13] 3.13.2 backports 1
2 parents 28e1bf1 + 5461839 commit fb443aa

File tree

96 files changed

+348
-131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+348
-131
lines changed

bom/application/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<opentelemetry.version>1.39.0</opentelemetry.version>
3535
<opentelemetry-alpha.version>2.5.0-alpha</opentelemetry-alpha.version>
3636
<opentelemetry-semconv.version>1.25.0-alpha</opentelemetry-semconv.version>
37-
<quarkus-http.version>5.3.0</quarkus-http.version>
37+
<quarkus-http.version>5.3.1</quarkus-http.version>
3838
<micrometer.version>1.12.5</micrometer.version><!-- keep in sync with hdrhistogram -->
3939
<hdrhistogram.version>2.1.12</hdrhistogram.version><!-- keep in sync with micrometer -->
4040
<google-auth.version>0.22.0</google-auth.version>
@@ -55,7 +55,7 @@
5555
<smallrye-health.version>4.1.0</smallrye-health.version>
5656
<smallrye-metrics.version>4.0.0</smallrye-metrics.version>
5757
<smallrye-open-api.version>3.10.0</smallrye-open-api.version>
58-
<smallrye-graphql.version>2.9.0</smallrye-graphql.version>
58+
<smallrye-graphql.version>2.9.1</smallrye-graphql.version>
5959
<smallrye-fault-tolerance.version>6.3.0</smallrye-fault-tolerance.version>
6060
<smallrye-jwt.version>4.5.3</smallrye-jwt.version>
6161
<smallrye-context-propagation.version>2.1.2</smallrye-context-propagation.version>

core/deployment/src/main/java/io/quarkus/deployment/dev/ClassComparisonUtil.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import java.util.List;
77
import java.util.Map;
88
import java.util.Objects;
9+
import java.util.Set;
910
import java.util.function.Function;
1011
import java.util.stream.Collectors;
1112

@@ -19,6 +20,10 @@
1920
import org.jboss.jandex.Type;
2021

2122
public class ClassComparisonUtil {
23+
private static final Set<DotName> IGNORED_ANNOTATIONS = Set.of(
24+
DotName.createSimple("kotlin.jvm.internal.SourceDebugExtension"),
25+
DotName.createSimple("kotlin.Metadata"));
26+
2227
static boolean isSameStructure(ClassInfo clazz, ClassInfo old) {
2328
if (clazz.flags() != old.flags()) {
2429
return false;
@@ -161,6 +166,9 @@ private static void methodMap(Collection<AnnotationInstance> b, List<AnnotationI
161166
}
162167

163168
private static boolean compareAnnotation(AnnotationInstance a, AnnotationInstance b) {
169+
if (IGNORED_ANNOTATIONS.contains(a.name())) {
170+
return true;
171+
}
164172
List<AnnotationValue> valuesA = a.values();
165173
List<AnnotationValue> valuesB = b.values();
166174
if (valuesA.size() != valuesB.size()) {

docs/src/main/asciidoc/hibernate-orm.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Since we're targeting CockroachDB here, we're passing the CockroachDB version, n
263263
<2> Set the Hibernate ORM dialect.
264264

265265
[[hibernate-dialect-varying-database]]
266-
== Varying database
266+
==== Varying database
267267

268268
When enabling <<database-approach,database multi-tenancy>>,
269269
Hibernate ORM will use multiple datasources at runtime for the same persistence unit,

docs/src/main/asciidoc/security-keycloak-authorization.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ For example:
524524
quarkus.keycloak.policy-enforcer.enable=true
525525
526526
# Default Tenant
527-
quarkus.oidc.auth-server-url=${keycloak.url}/realms/quarkus
527+
quarkus.oidc.auth-server-url=${keycloak.url:replaced-by-test-resource}/realms/quarkus
528528
quarkus.oidc.client-id=quarkus-app
529529
quarkus.oidc.credentials.secret=secret
530530
@@ -535,7 +535,7 @@ quarkus.keycloak.policy-enforcer.paths.1.claim-information-point.claims.static-c
535535
536536
# Service Tenant
537537
538-
quarkus.oidc.service-tenant.auth-server-url=${keycloak.url}/realms/quarkus
538+
quarkus.oidc.service-tenant.auth-server-url=${keycloak.url:replaced-by-test-resource}/realms/quarkus
539539
quarkus.oidc.service-tenant.client-id=quarkus-app
540540
quarkus.oidc.service-tenant.credentials.secret=secret
541541
@@ -547,7 +547,7 @@ quarkus.keycloak.service-tenant.policy-enforcer.paths.1.claim-information-point.
547547
548548
# WebApp Tenant
549549
550-
quarkus.oidc.webapp-tenant.auth-server-url=${keycloak.url}/realms/quarkus
550+
quarkus.oidc.webapp-tenant.auth-server-url=${keycloak.url:replaced-by-test-resource}/realms/quarkus
551551
quarkus.oidc.webapp-tenant.client-id=quarkus-app
552552
quarkus.oidc.webapp-tenant.credentials.secret=secret
553553
quarkus.oidc.webapp-tenant.application-type=web-app

docs/src/main/asciidoc/security-oidc-bearer-token-authentication.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ For example:
602602
[source, properties]
603603
----
604604
# keycloak.url is set by OidcWiremockTestResource
605-
quarkus.oidc.auth-server-url=${keycloak.url}/realms/quarkus/
605+
quarkus.oidc.auth-server-url=${keycloak.url:replaced-by-test-resource}/realms/quarkus/
606606
quarkus.oidc.client-id=quarkus-service-app
607607
quarkus.oidc.application-type=service
608608
----
@@ -914,7 +914,7 @@ Prepare the REST test endpoint and set `application.properties` as outlined in t
914914
[source, properties]
915915
----
916916
# keycloak.url is set by KeycloakTestResourceLifecycleManager
917-
quarkus.oidc.auth-server-url=${keycloak.url}/realms/quarkus/
917+
quarkus.oidc.auth-server-url=${keycloak.url:replaced-by-test-resource}/realms/quarkus/
918918
quarkus.oidc.client-id=quarkus-service-app
919919
quarkus.oidc.credentials=secret
920920
quarkus.oidc.application-type=service

docs/src/main/asciidoc/security-oidc-code-flow-authentication.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ For example:
17371737
[source, properties]
17381738
----
17391739
# keycloak.url is set by OidcWiremockTestResource
1740-
quarkus.oidc.auth-server-url=${keycloak.url}/realms/quarkus/
1740+
quarkus.oidc.auth-server-url=${keycloak.url:replaced-by-test-resource}/realms/quarkus/
17411741
quarkus.oidc.client-id=quarkus-web-app
17421742
quarkus.oidc.credentials.secret=secret
17431743
quarkus.oidc.application-type=web-app

docs/src/main/asciidoc/security-openid-connect-client-reference.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ Set `application.properties`, for example:
10341034
[source, properties]
10351035
----
10361036
# Use the 'keycloak.url' property set by the test KeycloakRealmResourceManager
1037-
quarkus.oidc-client.auth-server-url=${keycloak.url}
1037+
quarkus.oidc-client.auth-server-url=${keycloak.url:replaced-by-test-resource}
10381038
quarkus.oidc-client.discovery-enabled=false
10391039
quarkus.oidc-client.token-path=/tokens
10401040
quarkus.oidc-client.client-id=quarkus-service-app

docs/src/main/asciidoc/websockets-next-reference.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ public class ChatWebSocket {
108108
Thus, client can connect to this web socket endpoint using `ws://localhost:8080/chat/your-name`.
109109
If TLS is used, the URL is `wss://localhost:8443/chat/your-name`.
110110

111+
NOTE: The endpoint path is relative to the xref:http-reference.adoc#context-path[root context] configured by the `quarkus.http.root-path` (which is `/` by default). For example, if you add `quarkus.http.root-path=/api` to your `application.properties` then a client can connect to this endpoint using `http://localhost:8080/api/chat/the-name`.
112+
111113
[[client-endpoints]]
112114
=== Client endpoints
113115

docs/src/main/java/io/quarkus/docs/generation/CheckCrossReferences.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public CheckCrossReferences(Path srcDir, Path referenceIndexPath)
8585

8686
if (!Files.exists(referenceIndexPath) || !Files.isReadable(referenceIndexPath)) {
8787
throw new IllegalStateException(
88-
String.format("Reference index does not exist or is not readable", referenceIndexPath.toAbsolutePath()));
88+
String.format("Reference index %s does not exist or is not readable", referenceIndexPath.toAbsolutePath()));
8989
}
9090

9191
ObjectMapper om = new ObjectMapper(new YAMLFactory().enable(YAMLGenerator.Feature.MINIMIZE_QUOTES));

extensions/hibernate-envers/deployment/src/test/java/io/quarkus/hibernate/orm/envers/EnversTestStoreDataAtDeleteResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public String delete() {
4141
AuditReader auditReader = AuditReaderFactory.get(em);
4242
List<Number> revisions = auditReader.getRevisions(MyAuditedEntity.class, entity.getId());
4343
if (revisions.size() != 2) {
44-
throw new IllegalStateException(String.format("found {} revisions", revisions.size()));
44+
throw new IllegalStateException(String.format("found %d revisions", revisions.size()));
4545
}
4646

4747
for (Number revision : revisions) {

0 commit comments

Comments
 (0)