From c836648425cd9acce9b56571ebcb34e5cab0a683 Mon Sep 17 00:00:00 2001 From: Kabir Khan Date: Wed, 17 Jan 2024 22:23:31 +0000 Subject: [PATCH] Add Glow plugin examples --- batch-processing/README.adoc | 1 + bmt/README.adoc | 1 + cmt/README.adoc | 1 + ee-security/README.adoc | 1 + ejb-remote/README.adoc | 1 + ejb-security-context-propagation/README.adoc | 1 + ejb-security-programmatic-auth/README.adoc | 1 + ejb-throws-exception/README.adoc | 1 + ejb-timer/README.adoc | 1 + ejb-txn-remote-call/README.adoc | 1 + helloworld-jms/README.adoc | 1 + helloworld-mdb/README.adoc | 1 + helloworld-singleton/README.adoc | 1 + helloworld-ws/README.adoc | 1 + helloworld/README.adoc | 1 + hibernate/README.adoc | 1 + http-custom-mechanism/README.adoc | 1 + jaxrs-client/README.adoc | 1 + jaxrs-jwt/README.adoc | 1 + jaxws-ejb/README.adoc | 1 + jaxws-retail/README.adoc | 1 + jsonp/README.adoc | 1 + kitchensink/README.adoc | 1 + logging/README.adoc | 1 + mail/README.adoc | 1 + microprofile-config/README.adoc | 1 + microprofile-fault-tolerance/README.adoc | 1 + microprofile-health/README.adoc | 1 + microprofile-jwt/README.adoc | 1 + microprofile-lra/README.adoc | 1 + microprofile-openapi/README.adoc | 1 + .../README.adoc | 1 + microprofile-rest-client/README.adoc | 1 + numberguess/README.adoc | 1 + remote-helloworld-mdb/README.adoc | 1 + servlet-async/README.adoc | 1 + servlet-filterlistener/README.adoc | 1 + servlet-security/README.adoc | 1 + ...-run-the-quickstart-with-bootable-jar.adoc | 51 +++++++++++++++ ...he-quickstart-with-provisioned-server.adoc | 51 ++++++++++++++- .../build-the-quickstart-for-openshift.adoc | 62 ++++++++++++++++--- spring-resteasy/README.adoc | 1 + temperature-converter/README.adoc | 1 + thread-racing/README.adoc | 1 + todo-backend/README.adoc | 1 + websocket-endpoint/README.adoc | 1 + websocket-hello/README.adoc | 1 + 47 files changed, 200 insertions(+), 8 deletions(-) diff --git a/batch-processing/README.adoc b/batch-processing/README.adoc index 9370abe18d..4e85ba3bed 100644 --- a/batch-processing/README.adoc +++ b/batch-processing/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: CDI, Batch 1.0, JSF :openshift: true +:portedToGlow: true [abstract] The `batch-processing` quickstart shows how to use chunk oriented batch jobs to import a file to a database. diff --git a/bmt/README.adoc b/bmt/README.adoc index 71312609a5..35bbe7198f 100644 --- a/bmt/README.adoc +++ b/bmt/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: EJB, BMT :openshift: true +:portedToGlow: true [abstract] The `bmt` quickstart demonstrates Bean-Managed Transactions (BMT), showing how to manually manage transaction demarcation while accessing JPA entities. diff --git a/cmt/README.adoc b/cmt/README.adoc index 508f2c51d2..06c954fe75 100644 --- a/cmt/README.adoc +++ b/cmt/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: EJB, CMT, JMS :openshift: true +:portedToGlow: true [abstract] The `cmt` quickstart demonstrates Container-Managed Transactions (CMT), showing how to use transactions managed by the container. diff --git a/ee-security/README.adoc b/ee-security/README.adoc index ecd5544742..a81eb62ab3 100644 --- a/ee-security/README.adoc +++ b/ee-security/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: EE Security, Servlet, CDI :openshift: true +:portedToGlow: true [abstract] The `ee-security` quickstart demonstrates Jakarta EE security. diff --git a/ejb-remote/README.adoc b/ejb-remote/README.adoc index 88050aa579..40c45d529b 100644 --- a/ejb-remote/README.adoc +++ b/ejb-remote/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: EJB, JNDI :openshift: true +:portedToGlow: true [abstract] The `ejb-remote` quickstart uses EJB and JNDI to demonstrate how to access an EJB, deployed to {productName}, from a remote Java client application. diff --git a/ejb-security-context-propagation/README.adoc b/ejb-security-context-propagation/README.adoc index edc9e6430a..5c3f2376b0 100644 --- a/ejb-security-context-propagation/README.adoc +++ b/ejb-security-context-propagation/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Stefan Guilhen :level: Advanced :technologies: EJB, Security +:portedToGlow: true [abstract] The `ejb-security-context-propagation` quickstart demonstrates how the security context can be propagated to a remote EJB using a remote outbound connection configuration diff --git a/ejb-security-programmatic-auth/README.adoc b/ejb-security-programmatic-auth/README.adoc index 2a7adda5b5..f85ce9729a 100644 --- a/ejb-security-programmatic-auth/README.adoc +++ b/ejb-security-programmatic-auth/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Stefan Guilhen :level: Intermediate :technologies: EJB, Security +:portedToGlow: true [abstract] The `ejb-security-programmatic-auth` quickstart demonstrates how to programmatically setup different identities when invoking a remote secured EJB. diff --git a/ejb-throws-exception/README.adoc b/ejb-throws-exception/README.adoc index 8843eae81c..bd6a60b36c 100644 --- a/ejb-throws-exception/README.adoc +++ b/ejb-throws-exception/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: EJB, EAR :deploymentDir: ear +:portedToGlow: true [abstract] The `ejb-throws-exception` quickstart demonstrates how to throw and handle exceptions across JARs in an EAR. diff --git a/ejb-timer/README.adoc b/ejb-timer/README.adoc index 58783bdbc7..14946c6e32 100644 --- a/ejb-timer/README.adoc +++ b/ejb-timer/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: EJB Timer :openshift: true +:portedToGlow: true [abstract] The `ejb-timer` quickstart demonstrates how to use the Jakarta Enterprise Bean timer service `@Schedule` and `@Timeout` annotations with {productName}. diff --git a/ejb-txn-remote-call/README.adoc b/ejb-txn-remote-call/README.adoc index ac25d0958a..697e21288b 100644 --- a/ejb-txn-remote-call/README.adoc +++ b/ejb-txn-remote-call/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: EJB, JTA, Clustering :openshift: true +:portedToGlow: true [abstract] The `ejb-txn-remote-call` quickstart demonstrates remote transactional EJB calls over two application servers of {productName}. diff --git a/helloworld-jms/README.adoc b/helloworld-jms/README.adoc index ba96f23360..79dbfb37d9 100644 --- a/helloworld-jms/README.adoc +++ b/helloworld-jms/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Weston Price :level: Intermediate :technologies: JMS +:portedToGlow: true [abstract] The `helloworld-jms` quickstart demonstrates the use of external JMS clients with {productName}. diff --git a/helloworld-mdb/README.adoc b/helloworld-mdb/README.adoc index 32d9690b9c..64ea3624de 100644 --- a/helloworld-mdb/README.adoc +++ b/helloworld-mdb/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: JMS, EJB, MDB :openshift: true +:portedToGlow: true [abstract] The `helloworld-mdb` quickstart uses JMS and EJB Message-Driven Bean (MDB) to create and deploy JMS topic and queue resources in {productName}. diff --git a/helloworld-singleton/README.adoc b/helloworld-singleton/README.adoc index 2e1bbfaeb0..0cf299d32f 100644 --- a/helloworld-singleton/README.adoc +++ b/helloworld-singleton/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: EJB, Singleton :openshift: true +:portedToGlow: true [abstract] The `helloworld-singleton` quickstart demonstrates an EJB Singleton Bean that is instantiated once and maintains state for the life of the session. diff --git a/helloworld-ws/README.adoc b/helloworld-ws/README.adoc index 541e80271c..bb3037832c 100644 --- a/helloworld-ws/README.adoc +++ b/helloworld-ws/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: JAX-WS :openshift: true +:portedToGlow: true [abstract] The `helloworld-ws` quickstart demonstrates a simple Hello World application, bundled and deployed as a WAR, that uses JAX-WS to say Hello. diff --git a/helloworld/README.adoc b/helloworld/README.adoc index 3ee136f9bd..8e8e2efe2b 100644 --- a/helloworld/README.adoc +++ b/helloworld/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: Servlet :openshift: true +:portedToGlow: true [abstract] The `helloworld` quickstart demonstrates the use of Servlet 6 and is a good starting point to verify {productName} is configured correctly. diff --git a/hibernate/README.adoc b/hibernate/README.adoc index e6c9fe1fc2..6cd4095312 100644 --- a/hibernate/README.adoc +++ b/hibernate/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: Hibernate :openshift: true +:portedToGlow: true [abstract] The `hibernate` quickstart demonstrates how to use Hibernate ORM 6 over Persistence, using Bean Validation, and Enterprise Beans. diff --git a/http-custom-mechanism/README.adoc b/http-custom-mechanism/README.adoc index 0544977175..7e5fd2b0cd 100644 --- a/http-custom-mechanism/README.adoc +++ b/http-custom-mechanism/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Darran Lofthouse :level: Intermediate :technologies: EJB, Security +:portedToGlow: true [abstract] The `http-custom-mechanism` quickstart demonstrates how to implement a custom HTTP authentication mechanism that can be registered with Elytron. diff --git a/jaxrs-client/README.adoc b/jaxrs-client/README.adoc index cc5bf16906..1bbdbbe7cb 100644 --- a/jaxrs-client/README.adoc +++ b/jaxrs-client/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: JAX-RS :openshift: true +:portedToGlow: true [abstract] The `jaxrs-client` quickstart demonstrates Jakarta REST Client API, which interacts with a Jakarta REST Web service that runs on {productName}. diff --git a/jaxrs-jwt/README.adoc b/jaxrs-jwt/README.adoc index d543ddfc46..21b74b2f39 100644 --- a/jaxrs-jwt/README.adoc +++ b/jaxrs-jwt/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Martin Mazanek :level: Intermediate :technologies: JAX-RS, Security +:portedToGlow: true [abstract] The `jaxrs-jwt` quickstart demonstrates a Jakarta REST secured application using JSON Web Tokens (JWT) with Elytron. diff --git a/jaxws-ejb/README.adoc b/jaxws-ejb/README.adoc index efd4e03e4e..9b87618fa1 100644 --- a/jaxws-ejb/README.adoc +++ b/jaxws-ejb/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: R Searls :level: Beginner :technologies: JAX-WS +:portedToGlow: true [abstract] The `jaxws-ejb` quickstart is a working example of the web service endpoint created from an EJB. diff --git a/jaxws-retail/README.adoc b/jaxws-retail/README.adoc index 03e2dc9d55..24a5279bbe 100644 --- a/jaxws-retail/README.adoc +++ b/jaxws-retail/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: R Searls :level: Beginner :technologies: JAX-WS +:portedToGlow: true [abstract] The `jaxws-retail` quickstart is a working example of a simple web service endpoint. diff --git a/jsonp/README.adoc b/jsonp/README.adoc index f74ae52a82..c7ea1b6218 100644 --- a/jsonp/README.adoc +++ b/jsonp/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: CDI, JSF, JSON-P :openshift: true +:portedToGlow: true [abstract] The `jsonp` quickstart demonstrates how to use the JSON-P API to produce object-based structures and then parse and consume them as stream-based JSON strings. diff --git a/kitchensink/README.adoc b/kitchensink/README.adoc index 5643a37f82..17edd0d02a 100644 --- a/kitchensink/README.adoc +++ b/kitchensink/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: CDI, JSF, JPA, EJB, JAX-RS, BV :openshift: true +:portedToGlow: true [abstract] The `kitchensink` quickstart demonstrates a localized {javaVersion} web-enabled database application using JSF, CDI, EJB, JPA, and Bean Validation. diff --git a/logging/README.adoc b/logging/README.adoc index 4b934a5323..8d5107cfea 100644 --- a/logging/README.adoc +++ b/logging/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Joel Tosi :level: Intermediate :technologies: Logging +:portedToGlow: true [abstract] The `logging` quickstart demonstrates how to configure different logging levels in {productName}. diff --git a/mail/README.adoc b/mail/README.adoc index 4e3fdd8375..15d2a3a308 100644 --- a/mail/README.adoc +++ b/mail/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Joel Tosi :level: Beginner :technologies: JavaMail, CDI, JSF +:portedToGlow: true [abstract] The `mail` quickstart demonstrates how to send and receive emails using CDI and JSF and with custom Mail provider configured in {productName}. diff --git a/microprofile-config/README.adoc b/microprofile-config/README.adoc index 45d8a6454f..59130ade08 100644 --- a/microprofile-config/README.adoc +++ b/microprofile-config/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Martin Stefanko :level: Beginner :technologies: MicroProfile Config +:portedToGlow: true [abstract] The `microprofile-config` quickstart demonstrates the use of the MicroProfile Config specification in {productName}. diff --git a/microprofile-fault-tolerance/README.adoc b/microprofile-fault-tolerance/README.adoc index 19cdf30bd6..89ece6e475 100644 --- a/microprofile-fault-tolerance/README.adoc +++ b/microprofile-fault-tolerance/README.adoc @@ -6,6 +6,7 @@ https://github.com/quarkusio/quarkus/tree/master/docs/src/main/asciidoc // Needed to correctly render on GitHub :productName: WildFly :standalone-server-type: microprofile +:portedToGlow: true include::../shared-doc/attributes.adoc[] diff --git a/microprofile-health/README.adoc b/microprofile-health/README.adoc index be7fdd02ab..23d22b8365 100644 --- a/microprofile-health/README.adoc +++ b/microprofile-health/README.adoc @@ -8,6 +8,7 @@ include::../shared-doc/attributes.adoc[] :post-helm-install-actions: ../microprofile-health/expose-management-port.adoc :extra-openshift-testing-actions: ../microprofile-health/expose-management-port.adoc :extra-openshift-test-arguments: -Dserver.management.host=https://$(oc get route {artifactId}-management --template='{{ .spec.host }}') +:portedToGlow: true [abstract] The `microprofile-health` quickstart demonstrates the use of the MicroProfile Health specification in {productName}. diff --git a/microprofile-jwt/README.adoc b/microprofile-jwt/README.adoc index fba604aa2a..e6ce271857 100644 --- a/microprofile-jwt/README.adoc +++ b/microprofile-jwt/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Darran Lofthouse :level: Intermediate :technologies: JWT, Security, MicroProfile +:portedToGlow: true [abstract] The `microprofile-jwt` quickstart demonstrates the use of the MicroProfile JWT specification in {productName}. diff --git a/microprofile-lra/README.adoc b/microprofile-lra/README.adoc index 418ec0c551..6968628d77 100644 --- a/microprofile-lra/README.adoc +++ b/microprofile-lra/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Martin Stefanko :level: Beginner :technologies: MicroProfile LRA +:portedToGlow: true [abstract] The `microprofile-lra` quickstart demonstrates the use of the MicroProfile LRA specification in {productName}. diff --git a/microprofile-openapi/README.adoc b/microprofile-openapi/README.adoc index 03432cc0d4..721cd30d0a 100644 --- a/microprofile-openapi/README.adoc +++ b/microprofile-openapi/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Paul Ferraro :level: Beginner :technologies: MicroProfile OpenAPI +:portedToGlow: true [abstract] This guide demonstrate how to use the MicroProfile OpenAPI functionality in {productName} to expose an OpenAPI document for a simple REST application. diff --git a/microprofile-reactive-messaging-kafka/README.adoc b/microprofile-reactive-messaging-kafka/README.adoc index 9a65fc779a..03b7d12651 100644 --- a/microprofile-reactive-messaging-kafka/README.adoc +++ b/microprofile-reactive-messaging-kafka/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Kabir Khan :level: Beginner :technologies: MicroProfile Reactive Messaging +:portedToGlow: true [abstract] The `microprofile-reactive-messaging-kafka` quickstart demonstrates the use of the MicroProfile Reactive Messaging specification backed by Apache Kafka in {productName}. diff --git a/microprofile-rest-client/README.adoc b/microprofile-rest-client/README.adoc index cf18b222af..0e6b555ae9 100644 --- a/microprofile-rest-client/README.adoc +++ b/microprofile-rest-client/README.adoc @@ -4,6 +4,7 @@ include::../shared-doc/attributes.adoc[] :author: Martin Stefanko :level: Beginner :technologies: MicroProfile REST Client +:portedToGlow: true [abstract] The `microprofile-rest-client` quickstart demonstrates the use of the MicroProfile REST Client specification in {productName}. diff --git a/numberguess/README.adoc b/numberguess/README.adoc index 5ff1c57a3e..52e94537c2 100644 --- a/numberguess/README.adoc +++ b/numberguess/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: CDI, JSF :openshift: true +:portedToGlow: true [abstract] The `numberguess` quickstart demonstrates the use of CDI (Contexts and Dependency Injection) and JSF (JavaServer Faces) in {productName}. diff --git a/remote-helloworld-mdb/README.adoc b/remote-helloworld-mdb/README.adoc index 97bcd4aa06..419c1f884d 100644 --- a/remote-helloworld-mdb/README.adoc +++ b/remote-helloworld-mdb/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: JMS, EJB, MDB :openshift: true +:portedToGlow: true :standalone-server-type: full :archiveType: war diff --git a/servlet-async/README.adoc b/servlet-async/README.adoc index bfbe219b74..b25d1f48f7 100644 --- a/servlet-async/README.adoc +++ b/servlet-async/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: Asynchronous Servlet, CDI, EJB :openshift: true +:portedToGlow: true [abstract] The `servlet-async` quickstart demonstrates how to use asynchronous servlets to detach long-running tasks and free up the request processing thread. diff --git a/servlet-filterlistener/README.adoc b/servlet-filterlistener/README.adoc index 2322bd1ff7..53acc4f786 100644 --- a/servlet-filterlistener/README.adoc +++ b/servlet-filterlistener/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: Servlet Filter, Servlet Listener :openshift: true +:portedToGlow: true [abstract] The `servlet-filterlistener` quickstart demonstrates how to use Servlet filters and listeners in an application. diff --git a/servlet-security/README.adoc b/servlet-security/README.adoc index 234aae9d87..fad6e780c2 100644 --- a/servlet-security/README.adoc +++ b/servlet-security/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Intermediate :technologies: Servlet, Security :openshift: true +:portedToGlow: true [abstract] The `servlet-security` quickstart demonstrates the use of Jakarta EE declarative security to control access to Servlets and Security in {productName}. diff --git a/shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc b/shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc index c26e106a56..f7d0f742ac 100644 --- a/shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc +++ b/shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc @@ -5,6 +5,7 @@ You can use the WildFly JAR Maven plug-in to build a {productName} bootable JAR The quickstart `pom.xml` file contains a Maven profile named *bootable-jar* which configures the bootable JAR building: +ifndef::portedToGlow[] [source,xml,subs="attributes+"] ---- @@ -34,6 +35,56 @@ The quickstart `pom.xml` file contains a Maven profile named *bootable-jar* whic ---- +endif::portedToGlow[] +ifdef::portedToGlow[] +[source,xml,subs="attributes+"] +---- + + bootable-jar + + + + org.wildfly.plugins + wildfly-maven-plugin + + + ${version.server} + + true + + ROOT.war + ... + + + + + package + + + + + ... + + + +---- +The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers. + +[NOTE] +==== +This uses a pre-release of version 5.0.0 of the wildfly-maven-plugin providing the Glow functionality. The version is set in the pom's `pluginManagement` section. +==== + +If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available: + +[source,shell] +---- +wildfly-glow show-add-ons +---- +endif::portedToGlow[] .Procedure diff --git a/shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc b/shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc index 895039f529..36e3c0a4ba 100644 --- a/shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc +++ b/shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc @@ -52,7 +52,7 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script. endif::[] The server provisioning functionality is provided by the WildFly Maven Plugin, and you may find its configuration in the quickstart `pom.xml`: - +ifndef::portedToGlow[] [source,xml,subs="attributes+"] ---- @@ -85,6 +85,55 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a ---- +endif::portedToGlow[] +ifdef::portedToGlow[] +[source,xml,subs="attributes+"] +---- + + provisioned-server + + + + org.wildfly.plugins + wildfly-maven-plugin + + + ${version.server} + + + ROOT.war + ... + + + + + package + + + + + ... + + + +---- +The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers. + +[NOTE] +==== +This uses a pre-release of version 5.0.0 of the wildfly-maven-plugin providing the Glow functionality. The version is set in the pom's `pluginManagement` section. +==== + +If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases/tag[WildFly Glow CLI] and run the following command to see more information about what add-ons are available: + +[source,shell] +---- +wildfly-glow show-add-ons +---- +endif::portedToGlow[] [NOTE] ==== diff --git a/shared-doc/build-the-quickstart-for-openshift.adoc b/shared-doc/build-the-quickstart-for-openshift.adoc index d0efc0447b..6eb9737d4b 100644 --- a/shared-doc/build-the-quickstart-for-openshift.adoc +++ b/shared-doc/build-the-quickstart-for-openshift.adoc @@ -11,6 +11,7 @@ The server provisioning functionality is provided by the EAP Maven Plugin, and y endif::[] ifndef::ProductRelease,EAPXPRelease[] +ifndef::portedToGlow[] [source,xml,subs="attributes+"] ---- @@ -45,7 +46,59 @@ ifndef::ProductRelease,EAPXPRelease[] ---- -endif::[] +You may note that unlike the `provisioned-server` profile it uses the cloud feature pack which enables a configuration tuned for OpenShift environment. +endif::portedToGlow[] +ifdef::portedToGlow[] +[source,xml,subs="attributes+"] +---- + + openshift + + + + org.wildfly.plugins + wildfly-maven-plugin + + + ${version.server} + cloud + + + ROOT.war + ... + + + + + package + + + + + ... + + + +---- +You may note that unlike the `provisioned-server` profile it uses the cloud context which enables a configuration tuned for OpenShift environment. + +The plugin uses https://github.com/wildfly/wildfly-glow[WildFly Glow] to discover the feature packs and layers required to run the application, and provisions a server containing those layers. + +[NOTE] +==== +This uses a pre-release of version 5.0.0 of the wildfly-maven-plugin providing the Glow functionality. The version is set in the pom's `pluginManagement` section. +==== + +If you get an error or the server is missing some functionality which cannot be auto-discovered, you can download the https://github.com/wildfly/wildfly-glow/releases[WildFly Glow CLI] and run the following command to see more information about what add-ons are available: +[source,shell] +---- +wildfly-glow show-add-ons +---- +endif::portedToGlow[] +endif::ProductRelease,EAPXPRelease[] ifdef::ProductRelease,EAPXPRelease[] [source,xml,subs="attributes+"] @@ -83,11 +136,6 @@ ifdef::ProductRelease,EAPXPRelease[] ---- +You may note that it uses the cloud feature pack which enables a configuration tuned for OpenShift environment. endif::[] -ifndef::ProductRelease,EAPXPRelease[] -You may note that unlike the `provisioned-server` profile it uses the cloud feature pack which enables a configuration tuned for OpenShift environment. -endif::[] -ifdef::ProductRelease,EAPXPRelease[] -You may note that it uses the cloud feature pack which enables a configuration tuned for OpenShift environment. -endif::[] \ No newline at end of file diff --git a/spring-resteasy/README.adoc b/spring-resteasy/README.adoc index f2ddc0be25..ce8656365f 100644 --- a/spring-resteasy/README.adoc +++ b/spring-resteasy/README.adoc @@ -6,6 +6,7 @@ include::../shared-doc/attributes.adoc[] :technologies: Resteasy, Spring :openshift: true :buildRequirements: Java 17 (Java SDK 17) or later and Maven 3.3.1 or later +:portedToGlow: true [abstract] The `spring-resteasy` quickstart demonstrates how to package and deploy a web application that includes resteasy-spring integration. diff --git a/temperature-converter/README.adoc b/temperature-converter/README.adoc index b4f2750221..8b9b2d8e4f 100644 --- a/temperature-converter/README.adoc +++ b/temperature-converter/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: CDI, JSF, SLSB EJB :openshift: true +:portedToGlow: true [abstract] The `temperature-converter` quickstart does temperature conversion using an EJB Stateless Session Bean (SLSB), CDI, and a JSF front-end client. diff --git a/thread-racing/README.adoc b/thread-racing/README.adoc index 0c489d72f0..63c6f5c0e6 100644 --- a/thread-racing/README.adoc +++ b/thread-racing/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: Batch, CDI, EE Concurrency, JAX-RS, JMS, JPA, JSON, Web Sockets :openshift: true +:portedToGlow: true [abstract] A thread racing web application that demonstrates technologies introduced or updated in the latest Jakarta EE specification. diff --git a/todo-backend/README.adoc b/todo-backend/README.adoc index 0684565431..ad5456cb9b 100644 --- a/todo-backend/README.adoc +++ b/todo-backend/README.adoc @@ -12,6 +12,7 @@ include::../shared-doc/attributes.adoc[] :archiveType: war :useHelmChartDir: true :helm-install-prerequisites: ../todo-backend/helm-install-prerequisites.adoc +:portedToGlow: true [abstract] The `todo-backend` quickstart demonstrates how to implement a backend that exposes a HTTP API with JAX-RS diff --git a/websocket-endpoint/README.adoc b/websocket-endpoint/README.adoc index d71e5d1f34..1b9622ef1f 100644 --- a/websocket-endpoint/README.adoc +++ b/websocket-endpoint/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: CDI, WebSocket, JSON-P :openshift: true +:portedToGlow: true [abstract] Shows how to use WebSockets with JSON to broadcast information to all open WebSocket sessions in {productName}. diff --git a/websocket-hello/README.adoc b/websocket-hello/README.adoc index 185033e45e..f64a5ea94c 100644 --- a/websocket-hello/README.adoc +++ b/websocket-hello/README.adoc @@ -5,6 +5,7 @@ include::../shared-doc/attributes.adoc[] :level: Beginner :technologies: WebSocket, CDI, JSF :openshift: true +:portedToGlow: true [abstract] The `websocket-hello` quickstart demonstrates how to create a simple WebSocket application.