Skip to content

Commit 604aa1f

Browse files
committed
Sync documentation of main branch
1 parent 9fdad16 commit 604aa1f

File tree

6 files changed

+36
-20
lines changed

6 files changed

+36
-20
lines changed

_data/versioned/main/index/quarkus.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ types:
1818
- title: Command Mode Applications
1919
filename: command-mode-reference.adoc
2020
summary: This reference guide explains how to develop command line applications with Quarkus.
21-
categories: "core, command-line"
21+
categories: "command-line, core"
2222
type: reference
2323
url: /guides/command-mode-reference
2424
- title: Configuration Reference Guide
@@ -230,7 +230,7 @@ types:
230230
- title: Building a Native Executable
231231
filename: building-native-image.adoc
232232
summary: Build native executables with GraalVM or Mandrel.
233-
categories: "getting-started, native"
233+
categories: "native, getting-started"
234234
type: tutorial
235235
url: /guides/building-native-image
236236
- title: Collect metrics using Micrometer
@@ -243,7 +243,7 @@ types:
243243
- title: Configure data sources in Quarkus
244244
filename: datasource.adoc
245245
summary: Use a unified configuration model to define datasources for Java Database Connectivity (JDBC) and Reactive drivers.
246-
categories: "getting-started, data"
246+
categories: "data, getting-started"
247247
id: datasources
248248
type: tutorial
249249
url: /guides/datasource
@@ -289,7 +289,7 @@ types:
289289
- title: Secure a Quarkus application with Basic authentication and Jakarta Persistence
290290
filename: security-basic-authentication-tutorial.adoc
291291
summary: Secure your Quarkus application endpoints by combining the built-in Quarkus Basic authentication with the Jakarta Persistence identity provider to enable role-based access control (RBAC).
292-
categories: "getting-started, security"
292+
categories: "security, getting-started"
293293
id: security-basic-authentication-tutorial
294294
type: tutorial
295295
url: /guides/security-basic-authentication-tutorial
@@ -345,7 +345,7 @@ types:
345345
- title: AppCDS
346346
filename: appcds.adoc
347347
summary: This reference guide explains how to enable AppCDS with Quarkus.
348-
categories: "core, cloud"
348+
categories: "cloud, core"
349349
type: guide
350350
url: /guides/appcds
351351
- title: Application Data Caching
@@ -539,7 +539,7 @@ types:
539539
- title: Dev Services for Databases
540540
filename: databases-dev-services.adoc
541541
summary: "When testing or running in dev mode Quarkus can provide you with a zero-config database out of the box, a feature we refer to as Dev Services."
542-
categories: "tooling, data"
542+
categories: "data, tooling"
543543
type: guide
544544
url: /guides/databases-dev-services
545545
- title: Dev Services for Elasticsearch
@@ -1022,7 +1022,7 @@ types:
10221022
- title: Tips for writing native applications
10231023
filename: writing-native-applications-tips.adoc
10241024
summary: This guide is a collection of tips to help you solve the problems you encounter when compiling applications to native executable.
1025-
categories: "writing-extensions, core, native"
1025+
categories: "core, native, writing-extensions"
10261026
type: guide
10271027
url: /guides/writing-native-applications-tips
10281028
- title: Update projects to the latest version of Quarkus
@@ -1158,7 +1158,7 @@ types:
11581158
- title: Using SSL With Native Executables
11591159
filename: native-and-ssl.adoc
11601160
summary: "In this guide, we will discuss how you can get your native images to support SSL, as native images don't support it out of the box."
1161-
categories: "core, security, native"
1161+
categories: "security, core, native"
11621162
type: guide
11631163
url: /guides/native-and-ssl
11641164
- title: Using Security with .properties File

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,7 @@ a| `boolean shouldGenerateOne` :: +++<i>No Javadoc found</i>+++
10151015
a| https://github.com/quarkusio/quarkus/blob/main/extensions/hibernate-orm/deployment/src/main/java/io/quarkus/hibernate/orm/deployment/JpaModelBuildItem.java[`io.quarkus.hibernate.orm.deployment.JpaModelBuildItem`, window="_blank"] :: +++Internal model to represent which objects are likely needing enhancement via HibernateEntityEnhancer.+++
10161016
a| `Set allModelPackageNames` :: +++<i>No Javadoc found</i>+++
10171017
`Set entityClassNames` :: +++<i>No Javadoc found</i>+++
1018+
`Set managedClassNames` :: +++<i>No Javadoc found</i>+++
10181019
`Set potentialCdiBeanClassNames` :: +++<i>No Javadoc found</i>+++
10191020
`Set allModelClassNames` :: +++<i>No Javadoc found</i>+++
10201021
`Map xmlMappingsByPU` :: +++<i>No Javadoc found</i>+++
@@ -1546,7 +1547,7 @@ a| https://github.com/quarkusio/quarkus/blob/main/extensions/panache/panache-hib
15461547
a| `MetamodelInfo metamodelInfo` :: +++<i>No Javadoc found</i>+++
15471548
15481549
a| https://github.com/quarkusio/quarkus/blob/main/extensions/panache/panache-hibernate-common/deployment/src/main/java/io/quarkus/panache/common/deployment/HibernateModelClassCandidatesForFieldAccessBuildItem.java[`io.quarkus.panache.common.deployment.HibernateModelClassCandidatesForFieldAccessBuildItem`, window="_blank"] :: +++<i>No Javadoc found</i>+++
1549-
a| `Set allModelClassNames` :: +++<i>No Javadoc found</i>+++
1550+
a| `Set managedClassNames` :: +++<i>No Javadoc found</i>+++
15501551
15511552
|===
15521553
== Qute

_versions/main/guides/_attributes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
:keycloak-docker-image: quay.io/keycloak/keycloak:21.0.2
2121
:jandex-version: 3.1.2
2222
:jandex-gradle-plugin.version: 1.0.0
23-
:kotlin-version: 1.8.21
23+
:kotlin-version: 1.8.22
2424
:grpc-version: 1.55.1
2525
:protoc-version: 3.22.0
2626
:gcf-invoker-version: 1.1.1

_versions/main/guides/deploying-to-openshift.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ So unless you've used the `quarkus.openshift.route.expose` config property to ex
117117
----
118118
oc expose svc/greeting <1>
119119
oc get routes <2>
120-
curl http://<route>/greeting <3>
120+
curl http://<route>/hello <3>
121121
----
122122
<1> Expose the service.
123123
<2> Get the list of exposed routes.
124124
<3> Access your application.
125125

126126
[[control_application_config]]
127-
=== Configure the OpenShift Application Manually
127+
=== Configure the OpenShift Application Manually
128128

129129
If you need more control over the deployment configuration you can build the container image first and then configure the OpenShift application manually.
130130

@@ -147,7 +147,7 @@ During the build you may find the `Caused by: javax.net.ssl.SSLHandshakeExceptio
147147
quarkus.kubernetes-client.trust-certs=true
148148
----
149149
150-
For more information, see link:https://quarkus.io/guides/deploying-to-kubernetes#client-connection-configuration[deploying to kubernetes].
150+
For more information, see link:https://quarkus.io/guides/deploying-to-kubernetes#client-connection-configuration[deploying to Kubernetes].
151151
====
152152

153153
Once the build is done we can create a new application from the relevant `ImageStream`.
@@ -159,7 +159,7 @@ oc new-app --name=greeting <project>/openshift-quickstart:1.0.0-SNAPSHOT <2>
159159
oc get svc
160160
oc expose svc/greeting <3>
161161
oc get routes <4>
162-
curl http://<route>/greeting <5>
162+
curl http://<route>/hello <5>
163163
----
164164
<1> Lists the image streams created. The image stream of our application should be tagged as <project>/openshift-quickstart:1.0.0-SNAPSHOT.
165165
<2> Create a new application from the image source.
@@ -177,7 +177,7 @@ Out of the box the OpenShift extension is configured to use xref:container-image
177177
- xref:container-image.adoc#docker[container-image-docker]
178178
- xref:container-image.adoc#jib[container-image-jib]
179179

180-
When a non-s2i container image extension is used, an `ImageStream` is created that is pointing to an external `dockerImageRepository`. The image is built and pushed to the registry and the `ImageStream` populates the tags that are available in the `dockerImageRepository`.
180+
When a non-s2i container image extension is used, an `ImageStream` is created that is pointing to an external `dockerImageRepository`. The image is built and pushed to the registry and the `ImageStream` populates the tags that are available in the `dockerImageRepository`.
181181

182182
To select which extension will be used for building the image:
183183

_versions/main/guides/qute-reference.adoc

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,20 +1538,36 @@ public class CustomSectionFactory implements SectionHelperFactory<CustomSectionF
15381538
public List<String> getDefaultAliases() {
15391539
return List.of("custom");
15401540
}
1541+
1542+
@Override
1543+
public ParametersInfo getParameters() {
1544+
// Param "foo" is required
1545+
return ParametersInfo.builder().addParameter("foo").build(); <3>
1546+
}
1547+
1548+
@Override
1549+
public Scope initializeBlock(Scope outerScope, BlockInfo block) {
1550+
block.addExpression("foo", block.getParameter("foo"));
1551+
return outerScope;
1552+
}
1553+
15411554
15421555
@Override
15431556
public CustomSectionHelper initialize(SectionInitContext context) {
1544-
if (context.getParameter("foo") == null) {
1545-
throw new IllegalStateException("Foo param not found"); <3>
1546-
}
15471557
return new CustomSectionHelper();
15481558
}
15491559
15501560
class CustomSectionHelper implements SectionHelper {
1561+
1562+
private final Expression foo;
1563+
1564+
public CustomSectionHelper(Expression foo) {
1565+
this.foo = foo;
1566+
}
15511567
15521568
@Override
15531569
public CompletionStage<ResultNode> resolve(SectionResolutionContext context) {
1554-
return CompletableFuture.completedStage(new SingleResultNode(service.getValue())); <4>
1570+
return context.evaluate(foo).thenApply(fooVal -> new SingleResultNode(service.getValueForFoo(fooVal))); <4>
15551571
}
15561572
}
15571573
}

_versions/main/guides/security-oidc-code-flow-authentication-concept.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,6 @@ An access token is only required if the endpoint needs to:
529529

530530
In such cases, use the `quarkus.oidc.token-state-manager.strategy` property to configure the token state strategy as follows:
531531

532-
[Attributes]
533532
|===
534533
|To... |Set the property to ...
535534

0 commit comments

Comments
 (0)