Skip to content

Commit 6b9da87

Browse files
committed
Sync documentation of main branch
1 parent db8c148 commit 6b9da87

15 files changed

+190
-18
lines changed

_generated-doc/main/config/quarkus-all-config.adoc

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11903,6 +11903,45 @@ endif::add-copy-button-to-env-var[]
1190311903
|`All proxy addresses are trusted`
1190411904

1190511905

11906+
h|[[quarkus-vertx-http_section_quarkus-http-websocket-server]] [.section-name.section-level0]##WebSocket Server configuration##
11907+
h|Type
11908+
h|Default
11909+
11910+
a| [[quarkus-vertx-http_quarkus-http-websocket-server-max-frame-size]] [.property-path]##`quarkus.http.websocket-server.max-frame-size`##
11911+
11912+
[.description]
11913+
--
11914+
The maximum amount of data that can be sent in a single frame. Messages larger than this must be broken up into continuation frames. Default 65536 (from HttpServerOptions of Vert.X HttpServerOptions)
11915+
11916+
11917+
ifdef::add-copy-button-to-env-var[]
11918+
Environment variable: env_var_with_copy_button:+++QUARKUS_HTTP_WEBSOCKET_SERVER_MAX_FRAME_SIZE+++[]
11919+
endif::add-copy-button-to-env-var[]
11920+
ifndef::add-copy-button-to-env-var[]
11921+
Environment variable: `+++QUARKUS_HTTP_WEBSOCKET_SERVER_MAX_FRAME_SIZE+++`
11922+
endif::add-copy-button-to-env-var[]
11923+
--
11924+
|int
11925+
|
11926+
11927+
a| [[quarkus-vertx-http_quarkus-http-websocket-server-max-message-size]] [.property-path]##`quarkus.http.websocket-server.max-message-size`##
11928+
11929+
[.description]
11930+
--
11931+
The maximum WebSocket message size. Default 262144 (from HttpServerOptions of Vert.X HttpServerOptions)
11932+
11933+
11934+
ifdef::add-copy-button-to-env-var[]
11935+
Environment variable: env_var_with_copy_button:+++QUARKUS_HTTP_WEBSOCKET_SERVER_MAX_MESSAGE_SIZE+++[]
11936+
endif::add-copy-button-to-env-var[]
11937+
ifndef::add-copy-button-to-env-var[]
11938+
Environment variable: `+++QUARKUS_HTTP_WEBSOCKET_SERVER_MAX_MESSAGE_SIZE+++`
11939+
endif::add-copy-button-to-env-var[]
11940+
--
11941+
|int
11942+
|
11943+
11944+
1190611945
a|icon:lock[title=Fixed at build time] [[quarkus-vertx-http_quarkus-management-enabled]] [.property-path]##`quarkus.management.enabled`##
1190711946

1190811947
[.description]
@@ -51831,7 +51870,7 @@ Environment variable: `+++QUARKUS_KEYCLOAK_DEVSERVICES_IMAGE_NAME+++`
5183151870
endif::add-copy-button-to-env-var[]
5183251871
--
5183351872
|string
51834-
|`quay.io/keycloak/keycloak:25.0.4`
51873+
|`quay.io/keycloak/keycloak:25.0.6`
5183551874

5183651875
a|icon:lock[title=Fixed at build time] [[quarkus-oidc_quarkus-keycloak-devservices-keycloak-x-image]] [.property-path]##`quarkus.keycloak.devservices.keycloak-x-image`##
5183751876

_generated-doc/main/config/quarkus-oidc_quarkus.keycloak.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Environment variable: `+++QUARKUS_KEYCLOAK_DEVSERVICES_IMAGE_NAME+++`
4444
endif::add-copy-button-to-env-var[]
4545
--
4646
|string
47-
|`quay.io/keycloak/keycloak:25.0.4`
47+
|`quay.io/keycloak/keycloak:25.0.6`
4848

4949
a|icon:lock[title=Fixed at build time] [[quarkus-oidc_quarkus-keycloak-devservices-keycloak-x-image]] [.property-path]##`quarkus.keycloak.devservices.keycloak-x-image`##
5050

_generated-doc/main/config/quarkus-oidc_quarkus.keycloak.devservices.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Environment variable: `+++QUARKUS_KEYCLOAK_DEVSERVICES_IMAGE_NAME+++`
4040
endif::add-copy-button-to-env-var[]
4141
--
4242
|string
43-
|`quay.io/keycloak/keycloak:25.0.4`
43+
|`quay.io/keycloak/keycloak:25.0.6`
4444

4545
a|icon:lock[title=Fixed at build time] [[quarkus-oidc_quarkus-keycloak-devservices_quarkus-keycloak-devservices-keycloak-x-image]] [.property-path]##`quarkus.keycloak.devservices.keycloak-x-image`##
4646

_generated-doc/main/config/quarkus-vertx-http_quarkus.http.adoc

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2983,6 +2983,45 @@ endif::add-copy-button-to-env-var[]
29832983
|`All proxy addresses are trusted`
29842984

29852985

2986+
h|[[quarkus-vertx-http_section_quarkus-http-websocket-server]] [.section-name.section-level0]##WebSocket Server configuration##
2987+
h|Type
2988+
h|Default
2989+
2990+
a| [[quarkus-vertx-http_quarkus-http-websocket-server-max-frame-size]] [.property-path]##`quarkus.http.websocket-server.max-frame-size`##
2991+
2992+
[.description]
2993+
--
2994+
The maximum amount of data that can be sent in a single frame. Messages larger than this must be broken up into continuation frames. Default 65536 (from HttpServerOptions of Vert.X HttpServerOptions)
2995+
2996+
2997+
ifdef::add-copy-button-to-env-var[]
2998+
Environment variable: env_var_with_copy_button:+++QUARKUS_HTTP_WEBSOCKET_SERVER_MAX_FRAME_SIZE+++[]
2999+
endif::add-copy-button-to-env-var[]
3000+
ifndef::add-copy-button-to-env-var[]
3001+
Environment variable: `+++QUARKUS_HTTP_WEBSOCKET_SERVER_MAX_FRAME_SIZE+++`
3002+
endif::add-copy-button-to-env-var[]
3003+
--
3004+
|int
3005+
|
3006+
3007+
a| [[quarkus-vertx-http_quarkus-http-websocket-server-max-message-size]] [.property-path]##`quarkus.http.websocket-server.max-message-size`##
3008+
3009+
[.description]
3010+
--
3011+
The maximum WebSocket message size. Default 262144 (from HttpServerOptions of Vert.X HttpServerOptions)
3012+
3013+
3014+
ifdef::add-copy-button-to-env-var[]
3015+
Environment variable: env_var_with_copy_button:+++QUARKUS_HTTP_WEBSOCKET_SERVER_MAX_MESSAGE_SIZE+++[]
3016+
endif::add-copy-button-to-env-var[]
3017+
ifndef::add-copy-button-to-env-var[]
3018+
Environment variable: `+++QUARKUS_HTTP_WEBSOCKET_SERVER_MAX_MESSAGE_SIZE+++`
3019+
endif::add-copy-button-to-env-var[]
3020+
--
3021+
|int
3022+
|
3023+
3024+
29863025
|===
29873026

29883027
ifndef::no-duration-note[]

_generated-doc/main/infra/quarkus-all-build-items.adoc

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8543,6 +8543,10 @@ _No Javadoc found_
85438543

85448544
_No Javadoc found_
85458545

8546+
`java.util.Map<String,RuntimeValue> recordedValues`
8547+
8548+
_No Javadoc found_
8549+
85468550

85478551

85488552

@@ -8943,6 +8947,17 @@ _No Javadoc found_
89438947

89448948

89458949

8950+
a| https://github.com/quarkusio/quarkus/blob/main/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/VertxDevUILogBuildItem.java[`io.quarkus.vertx.http.deployment.VertxDevUILogBuildItem`, window="_blank"]
8951+
[.description]
8952+
--
8953+
Used to create the publisher for the vertx access log in dev ui
8954+
-- a|`io.quarkus.runtime.RuntimeValue<SubmissionPublisher<String>> publisher`
8955+
8956+
_No Javadoc found_
8957+
8958+
8959+
8960+
89468961
a| https://github.com/quarkusio/quarkus/blob/main/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/VertxWebRouterBuildItem.java[`io.quarkus.vertx.http.deployment.VertxWebRouterBuildItem`, window="_blank"]
89478962
[.description]
89488963
--
@@ -9087,6 +9102,25 @@ _No Javadoc found_
90879102

90889103

90899104

9105+
a| https://github.com/quarkusio/quarkus/blob/main/extensions/vertx-http/dev-ui-spi/src/main/java/io/quarkus/devui/spi/buildtime/FooterLogBuildItem.java[`io.quarkus.devui.spi.buildtime.FooterLogBuildItem`, window="_blank"]
9106+
[.description]
9107+
--
9108+
Add a log to the footer of dev ui
9109+
-- a|`java.lang.String name`
9110+
9111+
_No Javadoc found_
9112+
9113+
`java.util.function.Supplier<Flow.Publisher<String>> publisherSupplier`
9114+
9115+
_No Javadoc found_
9116+
9117+
`io.quarkus.runtime.RuntimeValue<SubmissionPublisher<String>> runtimePublisher`
9118+
9119+
_No Javadoc found_
9120+
9121+
9122+
9123+
90909124
a| https://github.com/quarkusio/quarkus/blob/main/extensions/vertx-http/dev-ui-spi/src/main/java/io/quarkus/devui/spi/page/FooterPageBuildItem.java[`io.quarkus.devui.spi.page.FooterPageBuildItem`, window="_blank"]
90919125
[.description]
90929126
--

_versions/main/guides/_attributes.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
:infinispan-protostream-version: ${infinispan.protostream.version}
1919
:logstash-image: docker.io/elastic/logstash:8.15.0
2020
:kibana-image: docker.io/elastic/kibana:8.15.0
21-
:keycloak-docker-image: quay.io/keycloak/keycloak:25.0.4
21+
:keycloak-docker-image: quay.io/keycloak/keycloak:25.0.6
2222
:jandex-version: 3.2.2
2323
:jandex-gradle-plugin-version: 1.0.0
2424
:kotlin-version: 2.0.20
@@ -63,6 +63,7 @@
6363
:vault-datasource-guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-vault/dev/vault-datasource.html
6464
:micrometer-registry-guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-micrometer-registry/dev/index.html
6565
:quarkus-migration-guide: https://github.com/quarkusio/quarkus/wiki/Migration-Guides[Migration Guides]
66+
:quarkus-tls-registry-reference-guide: TLS registry reference
6667
// .
6768
:create-app-group-id: org.acme
6869
:create-cli-group-id: {create-app-group-id}

_versions/main/guides/dev-ui.adoc

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Extensions can:
4747

4848
- <<add-links-to-an-extension-card,Add links to an extension card>>
4949
- <<add-full-pages,Add full custom pages>>
50-
- <<add-a-log-file,Add a log stream>>
50+
- <<add-a-footer-tab,Add a footer tab>>
5151
- <<add-a-section-menu,Add a section menu>>
5252
- <<custom-cards,Create a custom card>>
5353

@@ -822,7 +822,7 @@ https://github.com/quarkusio/quarkus/blob/main/extensions/vertx-http/dev-ui-reso
822822
====== Log
823823

824824
The log controller is used to add control buttons to a (footer) log.
825-
See <<Add a log file>>.
825+
See <<Add a footer tab>>.
826826

827827
image::dev-ui-log-control-v2.png[alt=Dev UI Log control,role="center"]
828828

@@ -1145,9 +1145,9 @@ See the https://github.com/quarkusio/quarkus/tree/main/extensions/vertx-http/dev
11451145
The state in Dev UI uses https://github.com/gitaarik/lit-state[LitState]. You can read more about it in their https://gitaarik.github.io/lit-state/build/[documentation].
11461146

11471147

1148-
== Add a log file
1148+
== Add a footer tab
11491149

1150-
Apart from adding a card and a page, extensions can add a log to the footer. This is useful for logging things that are happening continuously. A page will lose connection to the backend when navigating away from that page, and a log in the footer will be permanently connected.
1150+
Apart from adding a card and a page, extensions can add a tab to the footer. This is useful for things that are happening continuously. A page will lose connection to the backend when navigating away from that page, and a log in the footer will be permanently connected.
11511151

11521152
Adding something to the footer works exactly like adding a Card, except you use a `FooterPageBuildItem` rather than a `CardPageBuildItem`.
11531153

@@ -1179,6 +1179,59 @@ export class QwcJokesLog extends LitElement {
11791179

11801180
https://github.com/phillip-kruger/quarkus-jokes/blob/main/deployment/src/main/resources/dev-ui/qwc-jokes-log.js[Example code]
11811181

1182+
=== Add a log to the footer
1183+
1184+
There is an easy way to add a log stream to the footer, without having to create the above mentioned footer.
1185+
If you just want to stream a log to a tab you can just produce a `FooterLogBuildItem`. This way you only provide a name and a `Flow.Publisher<String>` for your log.
1186+
1187+
Here is an example from the Dev Services deployment module:
1188+
1189+
[source,java]
1190+
----
1191+
@BuildStep(onlyIf = { IsDevelopment.class })
1192+
public List<DevServiceDescriptionBuildItem> config(
1193+
// ...
1194+
BuildProducer<FooterLogBuildItem> footerLogProducer){
1195+
1196+
// ...
1197+
1198+
// Dev UI Log stream
1199+
for (DevServiceDescriptionBuildItem service : serviceDescriptions) {
1200+
if (service.getContainerInfo() != null) {
1201+
footerLogProducer.produce(new FooterLogBuildItem(service.getName(), () -> {
1202+
return createLogPublisher(service.getContainerInfo().getId());
1203+
}));
1204+
}
1205+
}
1206+
}
1207+
1208+
// ...
1209+
1210+
private Flow.Publisher<String> createLogPublisher(String containerId) {
1211+
try (FrameConsumerResultCallback resultCallback = new FrameConsumerResultCallback()) {
1212+
SubmissionPublisher<String> publisher = new SubmissionPublisher<>();
1213+
resultCallback.addConsumer(OutputFrame.OutputType.STDERR,
1214+
frame -> publisher.submit(frame.getUtf8String()));
1215+
resultCallback.addConsumer(OutputFrame.OutputType.STDOUT,
1216+
frame -> publisher.submit(frame.getUtf8String()));
1217+
LogContainerCmd logCmd = DockerClientFactory.lazyClient()
1218+
.logContainerCmd(containerId)
1219+
.withFollowStream(true)
1220+
.withTailAll()
1221+
.withStdErr(true)
1222+
.withStdOut(true);
1223+
logCmd.exec(resultCallback);
1224+
1225+
return publisher;
1226+
} catch (Exception e) {
1227+
throw new RuntimeException(e);
1228+
}
1229+
}
1230+
1231+
----
1232+
1233+
1234+
11821235
== Add a section menu
11831236

11841237
This allows an extension to link a page directly in the section Menu.

_versions/main/guides/picocli.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,10 @@ annotationProcessor 'info.picocli:picocli-codegen'
298298
== Development Mode
299299

300300
In the development mode, i.e. when running `mvn quarkus:dev`, the application is executed and restarted every time the `Space bar` key is pressed. You can also pass arguments to your command line app via the `quarkus.args` system property, e.g. `mvn quarkus:dev -Dquarkus.args='--help'` and `mvn quarkus:dev -Dquarkus.args='-c -w --val 1'`. For gradle project arguments can be passed using `--quarkus-args`.
301+
[NOTE]
302+
====
303+
If you're creating a typical Quarkus application (e.g., HTTP-based services) that includes command-line functionality, you'll need to handle the application's lifecycle differently. In the `Runnable.run()` method of your command, make sure to use `Quarkus.waitForExit()` or `Quarkus.asyncExit()`. This will prevent the application from shutting down prematurely and ensure a proper shutdown process.
304+
====
301305

302306
== Kubernetes support
303307

_versions/main/guides/security-keycloak-authorization.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ To start a Keycloak server, use the following Docker command:
226226
docker run --name keycloak -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -p 8543:8443 -v "$(pwd)"/config/keycloak-keystore.jks:/etc/keycloak-keystore.jks quay.io/keycloak/keycloak:{keycloak.version} start --hostname-strict=false --https-key-store-file=/etc/keycloak-keystore.jks
227227
----
228228
229-
where `keycloak.version` must be `25.0.4` or later and the `keycloak-keystore.jks` can be found in https://github.com/quarkusio/quarkus-quickstarts/blob/main/security-keycloak-authorization-quickstart/config/keycloak-keystore.jks[quarkus-quickstarts/security-keycloak-authorization-quickstart/config].
229+
where `keycloak.version` must be `25.0.6` or later and the `keycloak-keystore.jks` can be found in https://github.com/quarkusio/quarkus-quickstarts/blob/main/security-keycloak-authorization-quickstart/config/keycloak-keystore.jks[quarkus-quickstarts/security-keycloak-authorization-quickstart/config].
230230
231231
Try to access your Keycloak server at https://localhost:8543[localhost:8543].
232232

_versions/main/guides/security-oidc-bearer-token-authentication-tutorial.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ For more information, see the <<bearer-token-tutorial-keycloak-dev-mode>> sectio
217217
docker run --name keycloak -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -p 8180:8080 quay.io/keycloak/keycloak:{keycloak.version} start-dev
218218
----
219219
====
220-
* Where the `keycloak.version` is set to version `25.0.4` or later.
220+
* Where the `keycloak.version` is set to version `25.0.6` or later.
221221
. You can access your Keycloak server at http://localhost:8180[localhost:8180].
222222
. To access the Keycloak Administration console, log in as the `admin` user by using the following login credentials:
223223

0 commit comments

Comments
 (0)