Skip to content

Commit

Permalink
Sync documentation of main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 23, 2024
1 parent fa5007c commit 612b7c7
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion _generated-doc/main/config/quarkus-all-config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -51302,7 +51302,7 @@ Environment variable: `+++QUARKUS_KEYCLOAK_DEVSERVICES_IMAGE_NAME+++`
endif::add-copy-button-to-env-var[]
--
|string
|`quay.io/keycloak/keycloak:25.0.2`
|`quay.io/keycloak/keycloak:25.0.4`

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Environment variable: `+++QUARKUS_KEYCLOAK_DEVSERVICES_IMAGE_NAME+++`
endif::add-copy-button-to-env-var[]
--
|string
|`quay.io/keycloak/keycloak:25.0.2`
|`quay.io/keycloak/keycloak:25.0.4`

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Environment variable: `+++QUARKUS_KEYCLOAK_DEVSERVICES_IMAGE_NAME+++`
endif::add-copy-button-to-env-var[]
--
|string
|`quay.io/keycloak/keycloak:25.0.2`
|`quay.io/keycloak/keycloak:25.0.4`

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`##

Expand Down
4 changes: 2 additions & 2 deletions _versions/main/guides/_attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:graalvm-docs-version: jdk21
:graalvm-flavor: jdk-21
:mandrel-flavor: jdk-21
:surefire-version: 3.3.1
:surefire-version: 3.4.0
:gradle-version: 8.9
:elasticsearch-version: 8.15.0
:elasticsearch-image: docker.io/elastic/elasticsearch:8.15.0
Expand All @@ -18,7 +18,7 @@
:infinispan-protostream-version: ${infinispan.protostream.version}
:logstash-image: docker.io/elastic/logstash:8.15.0
:kibana-image: docker.io/elastic/kibana:8.15.0
:keycloak-docker-image: quay.io/keycloak/keycloak:25.0.2
:keycloak-docker-image: quay.io/keycloak/keycloak:25.0.4
:jandex-version: 3.2.2
:jandex-gradle-plugin-version: 1.0.0
:kotlin-version: 2.0.10
Expand Down
2 changes: 2 additions & 0 deletions _versions/main/guides/config-mappings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ The `List` or `Set` mappings can use xref:config-reference.adoc#indexed-properti
configuration values in mapping groups. For collection with simple element types like `String`, their configuration
value is a comma separated string.

NOTE: Only the `List` mapping can maintain element order. Hence, with `Set` mappings the element order is not maintained from the configuration files but is random.

==== Maps ====

A config mapping is also able to map a `Map`:
Expand Down
2 changes: 1 addition & 1 deletion _versions/main/guides/config-secrets.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Use the Quarkus CLI command to add a new encrypted value or encrypt an existent
****
[source, bash]
----
quarkus config set --encrypt --name=my.secret --value=1234
quarkus config set --encrypt my.secret 1234
----
_For more information about how to install the Quarkus CLI and use it, please refer to xref:cli-tooling.adoc[the Quarkus CLI guide]._
Expand Down
4 changes: 3 additions & 1 deletion _versions/main/guides/mongodb-panache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -572,12 +572,14 @@ Here are some query examples:
- `amount > ?1 and firstname != ?2` will be mapped to `{'amount': {'$gt': ?1}, 'firstname': {'$ne': ?2}}`
- `lastname like ?1` will be mapped to `{'lastname': {'$regex': ?1}}`. Be careful that this will be link:https://docs.mongodb.com/manual/reference/operator/query/regex/#op._S_regex[MongoDB regex] support and not SQL like pattern.
- `lastname is not null` will be mapped to `{'lastname':{'$exists': true}}`
- `status in ?1` will be mapped to `{'status':{$in: [?1]}}`
- `status in ?1` will be mapped to `{'status':{$in: ?1}}`

WARNING: MongoDB queries must be valid JSON documents,
using the same field multiple times in a query is not allowed using PanacheQL as it would generate an invalid JSON
(see link:https://github.com/quarkusio/quarkus/issues/12086[this issue on GitHub]).

WARNING: Prior to Quarkus 3.16, when using `$in` with a list, you had to write your query with `{'status':{$in: [?1]}}`. Starting with Quarkus 3.16, make sure you use `{'status':{$in: ?1}}` instead. The list will be properly expanded with surrounding square brackets.

We also handle some basic date type transformations: all fields of type `Date`, `LocalDate`, `LocalDateTime` or `Instant` will be mapped to the
link:https://docs.mongodb.com/manual/reference/bson-types/#date[BSON Date] using the `ISODate` type (UTC datetime).
The MongoDB POJO codec doesn't support `ZonedDateTime` and `OffsetDateTime` so you should convert them prior usage.
Expand Down
2 changes: 1 addition & 1 deletion _versions/main/guides/native-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ For example:
----
$ ./mvnw verify -DskipITs=false -Dquarkus.test.integration-test-profile=test-with-native-agent
...
[INFO] --- failsafe:3.3.1:integration-test (default) @ new-project ---
[INFO] --- failsafe:3.4.0:integration-test (default) @ new-project ---
...
[INFO] -------------------------------------------------------
[INFO] T E S T S
Expand Down
2 changes: 1 addition & 1 deletion _versions/main/guides/security-keycloak-authorization.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ To start a Keycloak server, use the following Docker command:
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
----
where `keycloak.version` must be `25.0.2` 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].
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].
Try to access your Keycloak server at https://localhost:8543[localhost:8543].
Expand Down
4 changes: 2 additions & 2 deletions _versions/main/guides/security-oauth2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ class TokenSecuredResourceTest {
void testPermitAll() {
RestAssured.given()
.when()
.header("Authorization", "Bearer: " + BEARER_TOKEN) // <3>
.header("Authorization", "Bearer " + BEARER_TOKEN) // <3>
.get("/secured/permit-all")
.then()
.statusCode(200)
Expand All @@ -429,7 +429,7 @@ class TokenSecuredResourceTest {
void testRolesAllowed() {
RestAssured.given()
.when()
.header("Authorization", "Bearer: " + BEARER_TOKEN)
.header("Authorization", "Bearer " + BEARER_TOKEN)
.get("/secured/roles-allowed")
.then()
.statusCode(200)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ For more information, see the <<bearer-token-tutorial-keycloak-dev-mode>> sectio
docker run --name keycloak -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -p 8180:8080 quay.io/keycloak/keycloak:{keycloak.version} start-dev
----
====
* Where the `keycloak.version` is set to version `25.0.2` or later.
* Where the `keycloak.version` is set to version `25.0.4` or later.
. You can access your Keycloak server at http://localhost:8180[localhost:8180].
. To access the Keycloak Administration console, log in as the `admin` user by using the following login credentials:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ To start a Keycloak server, use Docker and run the following command:
docker run --name keycloak -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -p 8180:8080 quay.io/keycloak/keycloak:{keycloak.version} start-dev
----

where `keycloak.version` is set to `25.0.2` or later.
where `keycloak.version` is set to `25.0.4` or later.

You can access your Keycloak Server at http://localhost:8180[localhost:8180].

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ For more information, see xref:security-oidc-bearer-token-authentication.adoc#be
[[keycloak-initialization]]
=== Keycloak initialization

The `quay.io/keycloak/keycloak:25.0.2` image which contains a Keycloak distribution powered by Quarkus is used to start a container by default.
The `quay.io/keycloak/keycloak:25.0.4` image which contains a Keycloak distribution powered by Quarkus is used to start a container by default.
`quarkus.keycloak.devservices.image-name` can be used to change the Keycloak image name.
For example, set it to `quay.io/keycloak/keycloak:19.0.3-legacy` to use a Keycloak distribution powered by WildFly.
Be aware that a Quarkus-based Keycloak distribution is only available starting from Keycloak `20.0.0`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ To start a Keycloak server, you can use Docker and run the following command:
docker run --name keycloak -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -p 8180:8080 quay.io/keycloak/keycloak:{keycloak.version} start-dev
----

where `keycloak.version` is set to `25.0.2` or higher.
where `keycloak.version` is set to `25.0.4` or higher.

Access your Keycloak server at http://localhost:8180[localhost:8180].

Expand Down

0 comments on commit 612b7c7

Please sign in to comment.