From 6379814405ef0739b013b6557ba309eb035f3e40 Mon Sep 17 00:00:00 2001 From: Antoine Sabot-Durand Date: Mon, 11 Jun 2018 14:48:07 +0200 Subject: [PATCH] THORN-2055 Reflect project rename and migration in examples - changed occurences in readme and doc - changed artifact in pom.xml files - detect and corrected problems with maven plugin (THORN-2082) --- README.adoc | 10 +++---- arjuna/arjuna/README.md | 12 ++++---- arjuna/arjuna/pom.xml | 18 +++++------ arjuna/pom.xml | 8 ++--- arjuna/stm/README.md | 16 +++++----- arjuna/stm/pom.xml | 18 +++++------ base/pom.xml | 8 ++--- camel/camel-activemq/pom.xml | 18 +++++------ camel/camel-cdi/README.md | 12 ++++---- camel/camel-cdi/pom.xml | 18 +++++------ .../examples/camel/cdi/CdiRouteBuilder.java | 2 +- .../swarm/examples/camel/cdi/HelloBean.java | 2 +- .../src/main/resources/META-INF/beans.xml | 2 +- .../swarm/examples/camel/cdi/CamelCdiIT.java | 2 +- camel/camel-core/pom.xml | 16 +++++----- .../examples/camel/core/RouteBuilderA.java | 2 +- .../resources/spring/simple-camel-context.xml | 2 +- .../camel/core/SimpleCoreTransformIT.java | 2 +- camel/camel-cxf-jaxrs/README.md | 12 ++++---- camel/camel-cxf-jaxrs/pom.xml | 16 +++++----- camel/camel-cxf-jaxws/README.md | 12 ++++---- camel/camel-cxf-jaxws/pom.xml | 16 +++++----- camel/camel-jms/README.md | 12 ++++---- camel/camel-jms/pom.xml | 20 ++++++------- .../examples/camel/jms/JmsRouteBuilder.java | 2 +- .../swarm/examples/camel/jms/CamelJmsIT.java | 2 +- camel/camel-jpa/pom.xml | 24 +++++++-------- camel/camel-mail/README.md | 12 ++++---- camel/camel-mail/pom.xml | 20 ++++++------- .../examples/camel/mail/MailRouteBuilder.java | 2 +- .../examples/camel/mail/CamelMailIT.java | 2 +- camel/pom.xml | 6 ++-- config-options/README.adoc | 4 +-- config-options/cdi-injection/README.adoc | 4 +-- config-options/cdi-injection/pom.xml | 22 +++++++------- config-options/pom.xml | 8 ++--- config-options/xml-configuration/README.adoc | 6 ++-- config-options/xml-configuration/pom.xml | 20 ++++++------- datasource/README.adoc | 2 +- datasource/datasource-auto-detect/README.adoc | 4 +-- datasource/datasource-auto-detect/pom.xml | 18 +++++------ datasource/datasource-war/pom.xml | 18 +++++------ datasource/pom.xml | 8 ++--- docker-wrapper/README.md | 4 +-- docker/docker-jaxrs-dockerfile/pom.xml | 16 +++++----- docker/docker-jaxrs/pom.xml | 16 +++++----- docker/pom.xml | 8 ++--- flyway/README.md | 14 ++++----- flyway/pom.xml | 16 +++++----- gradle/README.md | 2 +- gradle/pom.xml | 16 +++++----- .../cdi/GradlePackagedApplicationIT.java | 2 +- .../swarm/examples/gradle/HelloRest.java | 2 +- jaeger/jaeger-servlet/README.md | 6 ++-- jaeger/jaeger-servlet/pom.xml | 16 +++++----- jaeger/pom.xml | 8 ++--- jaxrs/contract-based-testing/README.md | 2 +- .../jaxrs-consumer/pom.xml | 12 ++++---- .../jaxrs-provider/pom.xml | 12 ++++---- jaxrs/contract-based-testing/pom.xml | 6 ++-- jaxrs/health/README.adoc | 2 +- jaxrs/health/pom.xml | 20 ++++++------- jaxrs/jaxrs-ajp/pom.xml | 16 +++++----- jaxrs/jaxrs-cdi-deltaspike/README.md | 20 ++++++------- jaxrs/jaxrs-cdi-deltaspike/pom.xml | 18 +++++------ jaxrs/jaxrs-cdi/README.md | 16 +++++----- jaxrs/jaxrs-cdi/pom.xml | 14 ++++----- jaxrs/jaxrs-deltaspike-data/README.md | 8 ++--- jaxrs/jaxrs-deltaspike-data/pom.xml | 22 +++++++------- jaxrs/jaxrs-https/pom.xml | 18 +++++------ jaxrs/jaxrs/README.md | 18 +++++------ jaxrs/jaxrs/pom.xml | 16 +++++----- jaxrs/kotlin/README.adoc | 2 +- jaxrs/kotlin/pom.xml | 16 +++++----- jaxrs/pom.xml | 8 ++--- jaxrs/scala/README.adoc | 2 +- jaxrs/scala/pom.xml | 16 +++++----- jaxrs/swagger/README.adoc | 2 +- jaxrs/swagger/pom.xml | 20 ++++++------- jaxrs/zipkin/README.md | 2 +- jaxrs/zipkin/pom.xml | 16 +++++----- .../swarm/examples/zipkin/HelloEndpoint.java | 2 +- jaxws/README.md | 16 +++++----- jaxws/pom.xml | 14 ++++----- jaxws/src/main/webapp/index.html | 4 +-- jpa-jaxrs-cdi/jpa-jaxrs-cdi-jta/README.md | 12 ++++---- jpa-jaxrs-cdi/jpa-jaxrs-cdi-jta/pom.xml | 14 ++++----- jpa-jaxrs-cdi/jpa-jaxrs-cdi/README.md | 12 ++++---- jpa-jaxrs-cdi/jpa-jaxrs-cdi/pom.xml | 14 ++++----- jpa-jaxrs-cdi/pom.xml | 8 ++--- jpa/jpa-eclipselink/README.md | 16 +++++----- jpa/jpa-eclipselink/pom.xml | 18 +++++------ jpa/jpa/README.md | 16 +++++----- jpa/jpa/pom.xml | 14 ++++----- jpa/pom.xml | 8 ++--- jsf/README.md | 24 +++++++-------- jsf/pom.xml | 14 ++++----- .../swarm/it/jsf/JSFApplicationIT.java | 4 +-- jsf/src/main/webapp/WEB-INF/template.xhtml | 6 ++-- kitchensink-html5-mobile/README.md | 24 +++++++-------- kitchensink-html5-mobile/pom.xml | 24 +++++++-------- logstash/README.md | 2 +- logstash/pom.xml | 16 +++++----- management-console/README.md | 14 ++++----- management-console/pom.xml | 14 ++++----- messaging/messaging-clustering/README.md | 16 +++++----- messaging/messaging-clustering/pom.xml | 20 ++++++------- messaging/messaging-mdb/README.adoc | 2 +- messaging/messaging-mdb/pom.xml | 22 +++++++------- messaging/pom.xml | 8 ++--- microprofile/README.md | 18 +++++------ microprofile/pom.xml | 20 ++++++------- opentracing/opentracing-servlet/README.md | 4 +-- opentracing/opentracing-servlet/pom.xml | 16 +++++----- opentracing/pom.xml | 8 ++--- pom.xml | 30 +++++++++---------- resource-adapter/README.adoc | 2 +- resource-adapter/pom.xml | 8 ++--- .../resource-adapter-deployment/README.adoc | 2 +- .../resource-adapter-deployment/pom.xml | 20 ++++++------- ribbon-consul/README.md | 2 +- ribbon-consul/events/pom.xml | 16 +++++----- ribbon-consul/frontend/pom.xml | 16 +++++----- .../frontend/src/main/resources/index.html | 2 +- .../frontend/src/main/resources/js/app.js | 2 +- ribbon-consul/pom.xml | 14 ++++----- ribbon-consul/test/pom.xml | 24 +++++++-------- ribbon-consul/time/pom.xml | 16 +++++----- ribbon/README.md | 10 +++---- ribbon/events/pom.xml | 16 +++++----- ribbon/frontend/pom.xml | 18 +++++------ ribbon/frontend/src/main/resources/index.html | 2 +- ribbon/frontend/src/main/resources/js/app.js | 2 +- ribbon/pom.xml | 16 +++++----- ribbon/test/pom.xml | 24 +++++++-------- ribbon/time/pom.xml | 16 +++++----- security/jaas/basic/README.md | 2 +- security/jaas/basic/pom.xml | 20 ++++++------- security/jaas/form/README.md | 2 +- security/jaas/form/pom.xml | 20 ++++++------- security/jaas/pom.xml | 8 ++--- security/keycloak-multitenancy/pom.xml | 18 +++++------ security/keycloak/README.md | 2 +- security/keycloak/pom.xml | 16 +++++----- .../keycloak/src/main/resources/index.html | 2 +- .../keycloak/src/main/resources/js/app.js | 2 +- security/pom.xml | 8 ++--- servlet/pom.xml | 8 ++--- servlet/servlet-cdi/README.md | 20 ++++++------- servlet/servlet-cdi/pom.xml | 14 ++++----- servlet/servlet/README.md | 18 +++++------ servlet/servlet/pom.xml | 14 ++++----- spring/pom.xml | 8 ++--- spring/spring-data/README.md | 20 ++++++------- spring/spring-data/pom.xml | 18 +++++------ static/pom.xml | 8 ++--- static/static-war/README.md | 16 +++++----- static/static-war/pom.xml | 16 +++++----- transactions/pom.xml | 8 ++--- transactions/transactions/README.adoc | 2 +- transactions/transactions/pom.xml | 14 ++++----- vaadin/README.md | 14 ++++----- vaadin/pom.xml | 14 ++++----- vertx/README.adoc | 2 +- vertx/pom.xml | 20 ++++++------- 165 files changed, 953 insertions(+), 953 deletions(-) diff --git a/README.adoc b/README.adoc index 7bda73e92..796182238 100644 --- a/README.adoc +++ b/README.adoc @@ -3,9 +3,9 @@ > Please raise any issues found with the examples in our JIRA: > https://issues.jboss.org/browse/SWARM -== WildFly Swarm +== Thorntail -This repository contains examples for the http://wildfly-swarm.io[WildFly Swarm] project. +This repository contains examples for the http://wildfly-swarm.io[Thorntail] project. It is currently listed as *alpha* release software, subject to massive, possibly-breaking, changes as we determine exactly how it should all hang together. @@ -16,12 +16,12 @@ These examples demonstrate utilizing and combining different parts of WildFly to a self-contained executable jar. They provide small, specific, working examples that can be used as a reference for your own project. -By default, this repository uses `SNAPSHOT` versions of WildFly Swarm. They are used to test -particular aspects of the WildFly Swarm project in addition to being useful examples of what +By default, this repository uses `SNAPSHOT` versions of Thorntail. They are used to test +particular aspects of the Thorntail project in addition to being useful examples of what you can do and how you can do it. Since these examples are `SNAPSHOT`-centric, our *snapshot* repository is added to the -root `pom.xml`. If you were to build https://github.com/wildfly-swarm/wildfly-swarm[WildFly Swarm] +root `pom.xml`. If you were to build https://github.com/wildfly-swarm/wildfly-swarm[Thorntail] directly, that would of course take precedence. If you want to build these examples as they stand (using the snapshot) then you should start by either diff --git a/arjuna/arjuna/README.md b/arjuna/arjuna/README.md index 42b553e5e..7ebedf5d9 100644 --- a/arjuna/arjuna/README.md +++ b/arjuna/arjuna/README.md @@ -6,12 +6,12 @@ Note, these are not Java EE compliant APIs and classes we're going to use. But t ## Project `pom.xml` -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -23,15 +23,15 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, a dependency is added +To define the needed parts of Thorntail, a dependency is added - org.wildfly.swarm + io.thorntail jaxrs ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail transactions ${version.wildfly-swarm} diff --git a/arjuna/arjuna/pom.xml b/arjuna/arjuna/pom.xml index 58e48284a..122145f9a 100644 --- a/arjuna/arjuna/pom.xml +++ b/arjuna/arjuna/pom.xml @@ -25,16 +25,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-arjuna - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-arjuna - WildFly Swarm Examples: Arjuna - WildFly Swarm Examples: Arjuna + Thorntail Examples: Arjuna + Thorntail Examples: Arjuna war @@ -45,8 +45,8 @@ maven-surefire-plugin - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -64,15 +64,15 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail transactions diff --git a/arjuna/pom.xml b/arjuna/pom.xml index 1fd5734e5..ca9353ecb 100644 --- a/arjuna/pom.xml +++ b/arjuna/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-arjuna - WildFly Swarm Examples: Arjuna parent - WildFly Swarm Examples: Arjuna parent + Thorntail Examples: Arjuna parent + Thorntail Examples: Arjuna parent pom diff --git a/arjuna/stm/README.md b/arjuna/stm/README.md index 734dc97da..570041182 100644 --- a/arjuna/stm/README.md +++ b/arjuna/stm/README.md @@ -10,12 +10,12 @@ The project is a normal maven project with `war` packaging, not `jar`. war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the `.war`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -37,15 +37,15 @@ Additionally, the usual `maven-war-plugin` is provided. -To define the needed parts of WildFly Swarm, a dependency is added +To define the needed parts of Thorntail, a dependency is added - org.wildfly.swarm + io.thorntail jaxrs ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail transactions ${version.wildfly-swarm} @@ -56,7 +56,7 @@ To define the needed parts of WildFly Swarm, a dependency is added ## Run - mvn wildfly-swarm:run + mvn thorntail:run ## Use @@ -79,7 +79,7 @@ Transactional object value incremented to 18 Transactional object value incremented to 19 Transactional object value incremented to 20 -What's happening is that we've created a recoverable STM-managed object (an integer state) within WildFly Swarm and given it an initial value +What's happening is that we've created a recoverable STM-managed object (an integer state) within Thorntail and given it an initial value of 10; then we increment it by another 10, printing out each time we do. If you repeat the operation you will see a new instance created and the end state will always be 20. diff --git a/arjuna/stm/pom.xml b/arjuna/stm/pom.xml index ff2373186..9ae204df8 100644 --- a/arjuna/stm/pom.xml +++ b/arjuna/stm/pom.xml @@ -25,16 +25,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-arjuna - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-stm - WildFly Swarm Examples: STM - WildFly Swarm Examples: STM + Thorntail Examples: STM + Thorntail Examples: STM war @@ -55,8 +55,8 @@ - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -74,7 +74,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base @@ -83,11 +83,11 @@ 5.2.12.Final - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail transactions diff --git a/base/pom.xml b/base/pom.xml index 6203d11f8..a09bfedc8 100644 --- a/base/pom.xml +++ b/base/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-base - WildFly Swarm Examples: Base - WildFly Swarm Examples: Base + Thorntail Examples: Base + Thorntail Examples: Base jar diff --git a/camel/camel-activemq/pom.xml b/camel/camel-activemq/pom.xml index 0df740f19..a63b0c2c7 100644 --- a/camel/camel-activemq/pom.xml +++ b/camel/camel-activemq/pom.xml @@ -24,31 +24,31 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-camel - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT - WildFly Swarm Examples: Camel ActiveMQ + Thorntail Examples: Camel ActiveMQ example-camel-activemq war - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail camel-cdi - org.wildfly.swarm + io.thorntail camel-activemq - org.wildfly.swarm + io.thorntail jaxrs @@ -64,8 +64,8 @@ - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin diff --git a/camel/camel-cdi/README.md b/camel/camel-cdi/README.md index 3baab6fd4..188a9d4d9 100644 --- a/camel/camel-cdi/README.md +++ b/camel/camel-cdi/README.md @@ -4,18 +4,18 @@ This example uses camel-cdi for enabling CDI beans to participate in a Camel rou ## Project `pom.xml` -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin -To define the needed parts of WildFly Swarm, the following dependencies are added +To define the needed parts of Thorntail, the following dependencies are added - org.wildfly.swarm + io.thorntail camel-cdi @@ -27,7 +27,7 @@ project does *not* need to specify those. You can run it many ways: * mvn package && java -jar ./target/example-camel-cdi-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use diff --git a/camel/camel-cdi/pom.xml b/camel/camel-cdi/pom.xml index 454fd32fe..687d0aab7 100644 --- a/camel/camel-cdi/pom.xml +++ b/camel/camel-cdi/pom.xml @@ -1,7 +1,7 @@ + - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail cdi - org.wildfly.swarm + io.thorntail jpa diff --git a/jaxrs/jaxrs-https/pom.xml b/jaxrs/jaxrs-https/pom.xml index f0e4c6eb4..6168a9f4e 100644 --- a/jaxrs/jaxrs-https/pom.xml +++ b/jaxrs/jaxrs-https/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-jaxrs - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-jaxrs-https - WildFly Swarm Examples: JAX-RS over HTTPS - WildFly Swarm Examples: JAX-RS over HTTPS + Thorntail Examples: JAX-RS over HTTPS + Thorntail Examples: JAX-RS over HTTPS war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -44,15 +44,15 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail management diff --git a/jaxrs/jaxrs/README.md b/jaxrs/jaxrs/README.md index 1c09114ac..eefb98d56 100644 --- a/jaxrs/jaxrs/README.md +++ b/jaxrs/jaxrs/README.md @@ -4,7 +4,7 @@ This example takes a normal JAX-RS build, and wraps it into a `-swarm` runnable jar with `swagger` enabled on the resources. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -13,12 +13,12 @@ of `war` in the `pom.xml` war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -29,10 +29,10 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, a dependency is added +To define the needed parts of Thorntail, a dependency is added - org.wildfly.swarm + io.thorntail jaxrs ${version.wildfly-swarm} @@ -42,17 +42,17 @@ project does *not* need to specify those. Additional application dependencies (in this case `joda-time`) can be specified and will be included in the normal `.war` construction and available -within the WildFly Swarm application `.jar`. +within the Thorntail application `.jar`. ## Run * mvn package && java -jar ./target/example-jaxrs-war-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * From your IDE, run class `org.wildfly.swarm.Swarm` ## Use -Since WildFly Swarm apps tend to support one deployment per executable, it +Since Thorntail apps tend to support one deployment per executable, it automatically adds a `jboss-web.xml` to the deployment if it doesn't already exist. This is used to bind the deployment to the root of the web-server, instead of using the `.war`'s own name as the application context. diff --git a/jaxrs/jaxrs/pom.xml b/jaxrs/jaxrs/pom.xml index 23007814a..9b93c9639 100644 --- a/jaxrs/jaxrs/pom.xml +++ b/jaxrs/jaxrs/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-jaxrs - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-jaxrs-war - WildFly Swarm Examples: JAX-RS - WildFly Swarm Examples: JAX-RS + Thorntail Examples: JAX-RS + Thorntail Examples: JAX-RS war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -44,11 +44,11 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail jaxrs diff --git a/jaxrs/kotlin/README.adoc b/jaxrs/kotlin/README.adoc index ce289f59a..b43664ef5 100644 --- a/jaxrs/kotlin/README.adoc +++ b/jaxrs/kotlin/README.adoc @@ -27,7 +27,7 @@ create the runnable `.jar`. As with the other examples, this one inherits a few standard executions from the parent `pom.xml`, particularly the `package` execution. -To define the needed parts of WildFly Swarm, a dependency is added +To define the needed parts of Thorntail, a dependency is added [source,xml] ---- diff --git a/jaxrs/kotlin/pom.xml b/jaxrs/kotlin/pom.xml index 33ee39475..f7622c59c 100644 --- a/jaxrs/kotlin/pom.xml +++ b/jaxrs/kotlin/pom.xml @@ -9,15 +9,15 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-jaxrs - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-kotlin - WildFly Swarm Examples: Kotlin + Thorntail Examples: Kotlin war @@ -28,9 +28,9 @@ - org.wildfly.swarm - wildfly-swarm-plugin - ${version.wildfly-swarm} + io.thorntail + thorntail-maven-plugin + ${version.thorntail} @@ -62,11 +62,11 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail jaxrs diff --git a/jaxrs/pom.xml b/jaxrs/pom.xml index 210fd1ead..43b170866 100644 --- a/jaxrs/pom.xml +++ b/jaxrs/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-jaxrs - WildFly Swarm Examples: JAX-RS parent - WildFly Swarm Examples: JAX-RS parent + Thorntail Examples: JAX-RS parent + Thorntail Examples: JAX-RS parent pom diff --git a/jaxrs/scala/README.adoc b/jaxrs/scala/README.adoc index e2fc008d2..af050c7e5 100644 --- a/jaxrs/scala/README.adoc +++ b/jaxrs/scala/README.adoc @@ -27,7 +27,7 @@ create the runnable `.jar`. As with the other examples, this one inherits a few standard executions from the parent `pom.xml`, particularly the `package` execution. -To define the needed parts of WildFly Swarm, a dependency is added +To define the needed parts of Thorntail, a dependency is added [source,xml] ---- diff --git a/jaxrs/scala/pom.xml b/jaxrs/scala/pom.xml index 3b6a9714c..faaae2481 100644 --- a/jaxrs/scala/pom.xml +++ b/jaxrs/scala/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-jaxrs - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-scala - WildFly Swarm Examples: Scala + Thorntail Examples: Scala war - org.wildfly.swarm - wildfly-swarm-plugin - ${version.wildfly-swarm} + io.thorntail + thorntail-maven-plugin + ${version.thorntail} @@ -53,11 +53,11 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail jaxrs diff --git a/jaxrs/swagger/README.adoc b/jaxrs/swagger/README.adoc index b184f581d..07972b089 100644 --- a/jaxrs/swagger/README.adoc +++ b/jaxrs/swagger/README.adoc @@ -40,7 +40,7 @@ create the runnable `.jar`. ---- -To define the needed parts of WildFly Swarm, dependencies are added +To define the needed parts of Thorntail, dependencies are added [source,xml] ---- diff --git a/jaxrs/swagger/pom.xml b/jaxrs/swagger/pom.xml index 95dd5217c..2d47e635f 100644 --- a/jaxrs/swagger/pom.xml +++ b/jaxrs/swagger/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-jaxrs - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-jaxrs-swagger - WildFly Swarm Examples: JAX-RS swagger - WildFly Swarm Examples: JAX-RS swagger + Thorntail Examples: JAX-RS swagger + Thorntail Examples: JAX-RS swagger war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -44,19 +44,19 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail swagger - org.wildfly.swarm + io.thorntail logging diff --git a/jaxrs/zipkin/README.md b/jaxrs/zipkin/README.md index 3e7c9131d..1c3225f12 100644 --- a/jaxrs/zipkin/README.md +++ b/jaxrs/zipkin/README.md @@ -1,4 +1,4 @@ -# Wildfly Swarm Zipkin JAX-RS Fraction Example +# Thorntail Zipkin JAX-RS Fraction Example Swarm JAX-RS application instrumented with Zipkin. diff --git a/jaxrs/zipkin/pom.xml b/jaxrs/zipkin/pom.xml index 5ae702e6c..e9a92e921 100644 --- a/jaxrs/zipkin/pom.xml +++ b/jaxrs/zipkin/pom.xml @@ -5,15 +5,15 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-jaxrs - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT examples-zipkin-jaxrs - WildFly Swarm Examples: JAX-RS with Zipkin tracing - WildFly Swarm Examples: JAX-RS with Zipkin tracing + Thorntail Examples: JAX-RS with Zipkin tracing + Thorntail Examples: JAX-RS with Zipkin tracing war @@ -25,9 +25,9 @@ 7.0 provided - + - org.wildfly.swarm + io.thorntail zipkin-jaxrs @@ -35,8 +35,8 @@ - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package diff --git a/jaxrs/zipkin/src/main/java/org/wildfly/swarm/examples/zipkin/HelloEndpoint.java b/jaxrs/zipkin/src/main/java/org/wildfly/swarm/examples/zipkin/HelloEndpoint.java index 23dcdedb5..4d4855a8f 100644 --- a/jaxrs/zipkin/src/main/java/org/wildfly/swarm/examples/zipkin/HelloEndpoint.java +++ b/jaxrs/zipkin/src/main/java/org/wildfly/swarm/examples/zipkin/HelloEndpoint.java @@ -14,6 +14,6 @@ public class HelloEndpoint { @GET @Produces("text/plain") public Response doGet() { - return Response.ok("Hello from WildFly Swarm!").build(); + return Response.ok("Hello from Thorntail!").build(); } } diff --git a/jaxws/README.md b/jaxws/README.md index 634409075..99b37f9fe 100644 --- a/jaxws/README.md +++ b/jaxws/README.md @@ -6,7 +6,7 @@ a `-swarm` runnable jar. It is originally from [wildfly-quickstart helloworld-ws](https://github.com/wildfly/quickstart/tree/10.x/helloworld-ws). > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -17,13 +17,13 @@ of `war` in the `pom.xml` war ``` -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. ``` xml - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -35,11 +35,11 @@ create the runnable `.jar`. ``` -To define the needed parts of WildFly Swarm, a dependency is added +To define the needed parts of Thorntail, a dependency is added ``` xml - org.wildfly.swarm + io.thorntail webservices ${version.wildfly-swarm} @@ -51,12 +51,12 @@ project does *not* need to specify those. ## Run * mvn package && java -jar ./target/example-jaxws-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * From your IDE, run class `org.wildfly.swarm.Swarm` ## Use -Since WildFly Swarm apps tend to support one deployment per executable, it +Since Thorntail apps tend to support one deployment per executable, it automatically adds a `jboss-web.xml` to the deployment if it doesn't already exist. This is used to bind the deployment to the root of the web-server, instead of using the `.war`'s own name as the application context. diff --git a/jaxws/pom.xml b/jaxws/pom.xml index e40c8aff2..27f9fc9d8 100644 --- a/jaxws/pom.xml +++ b/jaxws/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-jaxws - WildFly Swarm Examples: JAX-WS - WildFly Swarm Examples: JAX-WS + Thorntail Examples: JAX-WS + Thorntail Examples: JAX-WS war @@ -32,8 +32,8 @@ - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -51,7 +51,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base diff --git a/jaxws/src/main/webapp/index.html b/jaxws/src/main/webapp/index.html index 27282afbb..e2b008276 100644 --- a/jaxws/src/main/webapp/index.html +++ b/jaxws/src/main/webapp/index.html @@ -14,11 +14,11 @@ limitations under the License. --> -jboss-helloworld-ws Quickstart with WildFly Swarm +jboss-helloworld-ws Quickstart with Thorntail -

helloworld-ws Quickstart with WildFly Swarm

+

helloworld-ws Quickstart with Thorntail

The helloworld-ws quickstart demonstrates the use of JAX-WS in diff --git a/jpa-jaxrs-cdi/jpa-jaxrs-cdi-jta/README.md b/jpa-jaxrs-cdi/jpa-jaxrs-cdi-jta/README.md index 2732d30b5..8d4ba597c 100644 --- a/jpa-jaxrs-cdi/jpa-jaxrs-cdi-jta/README.md +++ b/jpa-jaxrs-cdi/jpa-jaxrs-cdi-jta/README.md @@ -4,7 +4,7 @@ This example takes a normal JPA, JTA (transaction), CDI, JAX-RS build, and wraps a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -12,12 +12,12 @@ This project is a normal maven project with `war` packaging. war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -31,7 +31,7 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, a few dependencies are added +To define the needed parts of Thorntail, a few dependencies are added org.jboss.spec.javax.ws.rs @@ -76,7 +76,7 @@ The `org.jboss.logging:jboss-logging` provides JBoss Logging required by observe You can run it many ways: * mvn package && java -jar ./target/example-jpa-jaxrs-cdi-jta-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use diff --git a/jpa-jaxrs-cdi/jpa-jaxrs-cdi-jta/pom.xml b/jpa-jaxrs-cdi/jpa-jaxrs-cdi-jta/pom.xml index e61c1ed4e..8c23f5666 100644 --- a/jpa-jaxrs-cdi/jpa-jaxrs-cdi-jta/pom.xml +++ b/jpa-jaxrs-cdi/jpa-jaxrs-cdi-jta/pom.xml @@ -10,23 +10,23 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> examples-jpa-jaxrs-cdi-parent - org.wildfly.swarm.examples - 2018.6.0-SNAPSHOT + io.thorntail.examples + 2.0.0.Final-SNAPSHOT 4.0.0 jpa-jaxrs-cdi-jta - WildFly Swarm Examples: JPA + JAX-RS + CDI + JTA - WildFly Swarm Examples: JPA + JAX-RS + CDI + JTA + Thorntail Examples: JPA + JAX-RS + CDI + JTA + Thorntail Examples: JPA + JAX-RS + CDI + JTA war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -44,7 +44,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base diff --git a/jpa-jaxrs-cdi/jpa-jaxrs-cdi/README.md b/jpa-jaxrs-cdi/jpa-jaxrs-cdi/README.md index 44776b3f9..27acb0e33 100644 --- a/jpa-jaxrs-cdi/jpa-jaxrs-cdi/README.md +++ b/jpa-jaxrs-cdi/jpa-jaxrs-cdi/README.md @@ -4,7 +4,7 @@ This example takes a normal JPA, CDI and JAX-RS build, and wraps it into a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -12,12 +12,12 @@ This project is a normal maven project with `war` packaging. war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -28,7 +28,7 @@ create the runnable `.jar`. -We let the plugin define the parts of WildFly Swarm that we need based on the +We let the plugin define the parts of Thorntail that we need based on the APIs our code uses, so we don't need to define any dependencies explicitly. ## Run @@ -36,7 +36,7 @@ APIs our code uses, so we don't need to define any dependencies explicitly. You can run it many ways: * mvn package && java -jar ./target/example-jpa-jaxrs-cdi-war-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use diff --git a/jpa-jaxrs-cdi/jpa-jaxrs-cdi/pom.xml b/jpa-jaxrs-cdi/jpa-jaxrs-cdi/pom.xml index ee7392560..db480854b 100644 --- a/jpa-jaxrs-cdi/jpa-jaxrs-cdi/pom.xml +++ b/jpa-jaxrs-cdi/jpa-jaxrs-cdi/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-jpa-jaxrs-cdi-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-jpa-jaxrs-cdi - WildFly Swarm Examples: JPA + JAX-RS + CDI - WildFly Swarm Examples: JPA + JAX-RS + CDI + Thorntail Examples: JPA + JAX-RS + CDI + Thorntail Examples: JPA + JAX-RS + CDI war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -44,7 +44,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base diff --git a/jpa-jaxrs-cdi/pom.xml b/jpa-jaxrs-cdi/pom.xml index caaf41a80..8b6e5ad37 100644 --- a/jpa-jaxrs-cdi/pom.xml +++ b/jpa-jaxrs-cdi/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-jpa-jaxrs-cdi-parent - WildFly Swarm Examples: JPA + JAX-RS + CDI parent - WildFly Swarm Examples: JPA + JAX-RS + CDI parent + Thorntail Examples: JPA + JAX-RS + CDI parent + Thorntail Examples: JPA + JAX-RS + CDI parent pom diff --git a/jpa/jpa-eclipselink/README.md b/jpa/jpa-eclipselink/README.md index ddc0dbc50..d68dcb012 100644 --- a/jpa/jpa-eclipselink/README.md +++ b/jpa/jpa-eclipselink/README.md @@ -4,7 +4,7 @@ This example takes a normal JPA and Servlet build, and wraps it into a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -12,12 +12,12 @@ This project is a traditional JPA project with `war` packaging. war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -28,15 +28,15 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, a few dependencies are added +To define the needed parts of Thorntail, a few dependencies are added - org.wildfly.swarm + io.thorntail jpa-eclipselink ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail undertow ${version.wildfly-swarm} @@ -49,7 +49,7 @@ APIs. You can run it many ways: * mvn package && java -jar ./target/example-jpa-eclipselink-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * From your IDE, run class `org.wildfly.swarm.Swarm` ## Use diff --git a/jpa/jpa-eclipselink/pom.xml b/jpa/jpa-eclipselink/pom.xml index 6d5c5ed2b..7f8079a27 100644 --- a/jpa/jpa-eclipselink/pom.xml +++ b/jpa/jpa-eclipselink/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-jpa - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-jpa-eclipselink - WildFly Swarm Examples: JPA via EclipseLink .war - WildFly Swarm Examples: JPA via EclipseLink .war + Thorntail Examples: JPA via EclipseLink .war + Thorntail Examples: JPA via EclipseLink .war war @@ -32,8 +32,8 @@ - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -51,7 +51,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base @@ -66,11 +66,11 @@ provided - org.wildfly.swarm + io.thorntail jpa-eclipselink - org.wildfly.swarm + io.thorntail undertow diff --git a/jpa/jpa/README.md b/jpa/jpa/README.md index 619cae40a..274559148 100644 --- a/jpa/jpa/README.md +++ b/jpa/jpa/README.md @@ -4,7 +4,7 @@ This example takes a normal JPA and Servlet build, and wraps it into a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -12,12 +12,12 @@ This project is a traditional JPA project with `war` packaging. war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -28,15 +28,15 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, a few dependencies are added +To define the needed parts of Thorntail, a few dependencies are added - org.wildfly.swarm + io.thorntail jpa ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail undertow ${version.wildfly-swarm} @@ -49,7 +49,7 @@ APIs. You can run it many ways: * mvn package && java -jar ./target/example-jpa-war-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * From your IDE, run class `org.wildfly.swarm.Swarm` ## Use diff --git a/jpa/jpa/pom.xml b/jpa/jpa/pom.xml index aede06868..184a92543 100644 --- a/jpa/jpa/pom.xml +++ b/jpa/jpa/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-jpa - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-jpa - WildFly Swarm Examples: JPA - WildFly Swarm Examples: JPA + Thorntail Examples: JPA + Thorntail Examples: JPA war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -44,7 +44,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base diff --git a/jpa/pom.xml b/jpa/pom.xml index 8f2ceca94..f93ad0391 100644 --- a/jpa/pom.xml +++ b/jpa/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-jpa - WildFly Swarm Examples: JPA parent - WildFly Swarm Examples: JPA parent + Thorntail Examples: JPA parent + Thorntail Examples: JPA parent pom diff --git a/jsf/README.md b/jsf/README.md index 37e447ce3..a53aaee5e 100644 --- a/jsf/README.md +++ b/jsf/README.md @@ -4,7 +4,7 @@ This example takes a normal JSF build, and wraps it into a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -13,13 +13,13 @@ of `war` in the `pom.xml` war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. ``` xml - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -31,16 +31,16 @@ create the runnable `.jar`. ``` -To define the needed parts of WildFly Swarm, a dependency is added +To define the needed parts of Thorntail, a dependency is added ``` xml - org.wildfly.swarm + io.thorntail jsf ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail cdi ${version.wildfly-swarm} @@ -52,12 +52,12 @@ project does *not* need to specify those. ## Run * mvn package && java -jar ./target/example-jsf-war-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * From your IDE, run class `org.wildfly.swarm.Swarm` ## Use -Since WildFly Swarm apps tend to support one deployment per executable, it +Since Thorntail apps tend to support one deployment per executable, it automatically adds a `jboss-web.xml` to the deployment if it doesn't already exist. This is used to bind the deployment to the root of the web-server, instead of using the `.war`'s own name as the application context. @@ -68,15 +68,15 @@ $ curl localhost:8080/index.xhtml - WildFly Swarm Facelet + Thorntail Facelet -

WildFly Swarm Facelet

+

Thorntail Facelet

Hello from JSF
-
Powered by WildFly Swarm +
Powered by Thorntail
% diff --git a/jsf/pom.xml b/jsf/pom.xml index 1c61e3254..9df0160d7 100644 --- a/jsf/pom.xml +++ b/jsf/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-jsf - WildFly Swarm Examples: JSF - WildFly Swarm Examples: JSF + Thorntail Examples: JSF + Thorntail Examples: JSF war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin jsf @@ -49,7 +49,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base diff --git a/jsf/src/it/java/org/wildfly/swarm/it/jsf/JSFApplicationIT.java b/jsf/src/it/java/org/wildfly/swarm/it/jsf/JSFApplicationIT.java index fb21f77e1..c55de4de3 100644 --- a/jsf/src/it/java/org/wildfly/swarm/it/jsf/JSFApplicationIT.java +++ b/jsf/src/it/java/org/wildfly/swarm/it/jsf/JSFApplicationIT.java @@ -21,8 +21,8 @@ public class JSFApplicationIT extends AbstractIntegrationTest { @Test public void testIt() { browser.navigate().to("http://localhost:8080/"); - assertThat(browser.getPageSource()).contains("WildFly Swarm Facelet"); + assertThat(browser.getPageSource()).contains("Thorntail Facelet"); assertThat(browser.getPageSource()).contains("Hello from JSF"); - assertThat(browser.getPageSource()).contains("Powered by WildFly Swarm"); + assertThat(browser.getPageSource()).contains("Powered by Thorntail"); } } diff --git a/jsf/src/main/webapp/WEB-INF/template.xhtml b/jsf/src/main/webapp/WEB-INF/template.xhtml index 186b838a8..c07e8bf2c 100644 --- a/jsf/src/main/webapp/WEB-INF/template.xhtml +++ b/jsf/src/main/webapp/WEB-INF/template.xhtml @@ -6,13 +6,13 @@ - WildFly Swarm Facelet + Thorntail Facelet
-

WildFly Swarm Facelet

+

Thorntail Facelet

@@ -20,7 +20,7 @@
- Powered by WildFly Swarm + Powered by Thorntail
diff --git a/kitchensink-html5-mobile/README.md b/kitchensink-html5-mobile/README.md index c9c39858a..6bbd6f487 100644 --- a/kitchensink-html5-mobile/README.md +++ b/kitchensink-html5-mobile/README.md @@ -4,7 +4,7 @@ This example takes the [kitchensick-html5-mobile](https://github.com/wildfly/qui quickstart from WildFly, and wraps it into a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -13,12 +13,12 @@ of `war` in the `pom.xml` war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -29,25 +29,25 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, the following dependencies are added +To define the needed parts of Thorntail, the following dependencies are added - org.wildfly.swarm + io.thorntail jaxrs-weld ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail jpa ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail ejb ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail hibernate-validator ${version.wildfly-swarm} @@ -57,19 +57,19 @@ project does *not* need to specify those. Additional application dependencies can be specified and will be included in the normal `.war` construction and available -within the WildFly Swarm application `.jar`. +within the Thorntail application `.jar`. ## Run You can run it many ways: * mvn package && java -jar ./target/wildfly-swarm-example-kitchensink-html5-mobile-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use -Since WildFly Swarm apps tend to support one deployment per executable, it +Since Thorntail apps tend to support one deployment per executable, it automatically adds a `jboss-web.xml` to the deployment if it doesn't already exist. This is used to bind the deployment to the root of the web-server, instead of using the `.war`'s own name as the application context. diff --git a/kitchensink-html5-mobile/pom.xml b/kitchensink-html5-mobile/pom.xml index 892ce5757..55b8b182c 100644 --- a/kitchensink-html5-mobile/pom.xml +++ b/kitchensink-html5-mobile/pom.xml @@ -9,14 +9,14 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent 1.0.0.Alpha7-SNAPSHOT ../ example-kitchensink-html5-mobile - WildFly Swarm Examples: Kitchensink HTML5/Mobile + Thorntail Examples: Kitchensink HTML5/Mobile Java EE HTML5 mobile web application for use on WildFly, that was converted from the WildFly Quickstart war @@ -49,32 +49,32 @@ - org.wildfly.swarm + io.thorntail jaxrs-cdi - ${version.wildfly-swarm} + ${version.thorntail} - org.wildfly.swarm + io.thorntail jpa - ${version.wildfly-swarm} + ${version.thorntail} - org.wildfly.swarm + io.thorntail ejb - ${version.wildfly-swarm} + ${version.thorntail} - org.wildfly.swarm + io.thorntail hibernate-validator - ${version.wildfly-swarm} + ${version.thorntail}
@@ -90,8 +90,8 @@
- org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin diff --git a/logstash/README.md b/logstash/README.md index 2c2ffdc14..916505907 100644 --- a/logstash/README.md +++ b/logstash/README.md @@ -3,7 +3,7 @@ This example sends log messages to Logstash. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Start Logstash diff --git a/logstash/pom.xml b/logstash/pom.xml index 1d9b881b1..a57747445 100644 --- a/logstash/pom.xml +++ b/logstash/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-logstash - WildFly Swarm Examples: Logstash - WildFly Swarm Examples: Logstash + Thorntail Examples: Logstash + Thorntail Examples: Logstash war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -38,11 +38,11 @@ - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail logstash diff --git a/management-console/README.md b/management-console/README.md index 5fd65603d..3c31aeae9 100644 --- a/management-console/README.md +++ b/management-console/README.md @@ -1,7 +1,7 @@ # Management Console > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -9,12 +9,12 @@ The project is a normal maven project with `jar` packaging, not `war`. jar -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -25,15 +25,15 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, some dependencies are added +To define the needed parts of Thorntail, some dependencies are added - org.wildfly.swarm + io.thorntail management-console ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail management ${version.wildfly-swarm} diff --git a/management-console/pom.xml b/management-console/pom.xml index c1d0feb22..208a8ec74 100644 --- a/management-console/pom.xml +++ b/management-console/pom.xml @@ -2,9 +2,9 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ @@ -13,8 +13,8 @@ - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin 127.0.0.1 @@ -27,15 +27,15 @@ - org.wildfly.swarm + io.thorntail management - org.wildfly.swarm + io.thorntail management-console - org.wildfly.swarm.examples + io.thorntail.examples examples-base diff --git a/messaging/messaging-clustering/README.md b/messaging/messaging-clustering/README.md index 84fa51b32..368897b52 100644 --- a/messaging/messaging-clustering/README.md +++ b/messaging/messaging-clustering/README.md @@ -1,7 +1,7 @@ # Messaging & Clustering > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -9,12 +9,12 @@ The project is a normal maven project with `jar` packaging, not `war`. jar -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} org.wildfly.swarm.examples.messaging.clustering.Main @@ -28,20 +28,20 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, some dependencies are added +To define the needed parts of Thorntail, some dependencies are added - org.wildfly.swarm + io.thorntail jaxrs ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail messaging ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail msc ${version.wildfly-swarm} diff --git a/messaging/messaging-clustering/pom.xml b/messaging/messaging-clustering/pom.xml index 5fb1c259c..3f0fb1d83 100644 --- a/messaging/messaging-clustering/pom.xml +++ b/messaging/messaging-clustering/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-messaging - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-messaging-clustering - WildFly Swarm Examples: Messaging (Clustering) - WildFly Swarm Examples: Messaging (Clustering) + Thorntail Examples: Messaging (Clustering) + Thorntail Examples: Messaging (Clustering) war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin true @@ -50,19 +50,19 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail messaging - org.wildfly.swarm + io.thorntail ejb diff --git a/messaging/messaging-mdb/README.adoc b/messaging/messaging-mdb/README.adoc index 5951948b8..d58cc7658 100644 --- a/messaging/messaging-mdb/README.adoc +++ b/messaging/messaging-mdb/README.adoc @@ -40,7 +40,7 @@ create the runnable `.jar`. ---- -To define the required parts of WildFly Swarm, some dependencies are added +To define the required parts of Thorntail, some dependencies are added [source,xml] ---- diff --git a/messaging/messaging-mdb/pom.xml b/messaging/messaging-mdb/pom.xml index af5ce8a16..75feb79b6 100644 --- a/messaging/messaging-mdb/pom.xml +++ b/messaging/messaging-mdb/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-messaging - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-messaging-mdb - WildFly Swarm Examples: Messaging MDB - WildFly Swarm Examples: Messaging MDB + Thorntail Examples: Messaging MDB + Thorntail Examples: Messaging MDB war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -44,23 +44,23 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail cdi - org.wildfly.swarm + io.thorntail messaging - org.wildfly.swarm + io.thorntail ejb diff --git a/messaging/pom.xml b/messaging/pom.xml index a58a9b095..15eee420c 100644 --- a/messaging/pom.xml +++ b/messaging/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-messaging - WildFly Swarm Examples: Messaging parent - WildFly Swarm Examples: Messaging parent + Thorntail Examples: Messaging parent + Thorntail Examples: Messaging parent pom diff --git a/microprofile/README.md b/microprofile/README.md index bef05b3ae..5144d77e8 100644 --- a/microprofile/README.md +++ b/microprofile/README.md @@ -4,7 +4,7 @@ This example takes a normal [MicroProfile](http://microprofile.io) WAR, and wrap a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -13,12 +13,12 @@ of `war` in the `pom.xml` war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -29,10 +29,10 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, a dependency is added +To define the needed parts of Thorntail, a dependency is added - org.wildfly.swarm + io.thorntail microprofile ${version.wildfly-swarm} @@ -42,12 +42,12 @@ to your application, so the project does *not* need to specify those. Additional application dependencies (in this case `joda-time`) can be specified and will be included in the normal `.war` construction and available -within the WildFly Swarm application `.jar`. +within the Thorntail application `.jar`. ## Run * mvn package && java -jar ./target/example-microprofile-war-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * From your IDE, run class `org.wildfly.swarm.Swarm` For build and deployment to OpenShift, will deploy to active OpenShift project. @@ -56,7 +56,7 @@ For build and deployment to OpenShift, will deploy to active OpenShift project. ## Use -Since WildFly Swarm apps tend to support one deployment per executable, it +Since Thorntail apps tend to support one deployment per executable, it automatically adds a `jboss-web.xml` to the deployment if it doesn't already exist. This is used to bind the deployment to the root of the web-server, instead of using the `.war`'s own name as the application context. diff --git a/microprofile/pom.xml b/microprofile/pom.xml index 5af9ff444..fb5d2f503 100644 --- a/microprofile/pom.xml +++ b/microprofile/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-microprofile - WildFly Swarm Examples: Microprofile - WildFly Swarm Examples: Microprofile + Thorntail Examples: Microprofile + Thorntail Examples: Microprofile war @@ -32,8 +32,8 @@ - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -62,9 +62,9 @@ wildfly-swarm - + registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift - + @@ -74,11 +74,11 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail microprofile diff --git a/opentracing/opentracing-servlet/README.md b/opentracing/opentracing-servlet/README.md index a626b1607..087ed973c 100644 --- a/opentracing/opentracing-servlet/README.md +++ b/opentracing/opentracing-servlet/README.md @@ -5,7 +5,7 @@ capabilities to it. Refer to the README on that example to understand the basics of how it works. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -66,7 +66,7 @@ uncomment the Jaeger dependencies. You are now ready to run the example and have span data reported to Jaeger: * mvn package && java -jar ./target/example-opentracing-servlet-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class You may now make HTTP calls to the application, like: diff --git a/opentracing/opentracing-servlet/pom.xml b/opentracing/opentracing-servlet/pom.xml index abb18f01b..fb4691d11 100644 --- a/opentracing/opentracing-servlet/pom.xml +++ b/opentracing/opentracing-servlet/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-opentracing-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-opentracing-servlet - WildFly Swarm Examples: OpenTracing Servlet - WildFly Swarm Examples: OpenTracing Servlet + Thorntail Examples: OpenTracing Servlet + Thorntail Examples: OpenTracing Servlet war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -44,11 +44,11 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail opentracing diff --git a/opentracing/pom.xml b/opentracing/pom.xml index f91ae13aa..a0172ca43 100644 --- a/opentracing/pom.xml +++ b/opentracing/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-opentracing-parent - WildFly Swarm Examples: OpenTracing parent - WildFly Swarm Examples: OpenTracing parent + Thorntail Examples: OpenTracing parent + Thorntail Examples: OpenTracing parent pom diff --git a/pom.xml b/pom.xml index 6cfb72f09..4ef16eea9 100644 --- a/pom.xml +++ b/pom.xml @@ -8,17 +8,17 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT - WildFly Swarm Examples: Parent - WildFly Swarm Examples: Parent + Thorntail Examples: Parent + Thorntail Examples: Parent pom - ${project.version} + ${project.version} 3.2.1 @@ -89,9 +89,9 @@ - org.wildfly.swarm - wildfly-swarm-plugin - ${version.wildfly-swarm} + io.thorntail + thorntail-maven-plugin + ${version.thorntail} -Xmx128m @@ -199,7 +199,7 @@ - org.wildfly.swarm + io.thorntail arquillian ${project.version} test @@ -220,7 +220,7 @@ - org.wildfly.swarm + io.thorntail bom-all ${project.version} pom @@ -241,7 +241,7 @@ import - org.wildfly.swarm.examples + io.thorntail.examples examples-base ${project.version} test @@ -292,7 +292,7 @@ uberjar - true + true @@ -306,9 +306,9 @@ - org.wildfly.swarm - wildfly-swarm-plugin - ${version.wildfly-swarm} + io.thorntail + thorntail-maven-plugin + ${version.thorntail} start diff --git a/resource-adapter/README.adoc b/resource-adapter/README.adoc index 8018cb2dc..0756564d4 100644 --- a/resource-adapter/README.adoc +++ b/resource-adapter/README.adoc @@ -1,7 +1,7 @@ = Resource Adapter Example Resource adapters can be configured in two -different ways within a WildFly Swarm application. +different ways within a Thorntail application. The first is through a *deployment*, which is, as you might guess, a deployment-time creation of a resource adapter. Through diff --git a/resource-adapter/pom.xml b/resource-adapter/pom.xml index 7c0b1ed47..a32f04452 100644 --- a/resource-adapter/pom.xml +++ b/resource-adapter/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-resource-adapter - WildFly Swarm Examples: Resource Adapter parent - WildFly Swarm Examples: Resource Adapter parent + Thorntail Examples: Resource Adapter parent + Thorntail Examples: Resource Adapter parent pom diff --git a/resource-adapter/resource-adapter-deployment/README.adoc b/resource-adapter/resource-adapter-deployment/README.adoc index 732ef0240..c492e2a6e 100644 --- a/resource-adapter/resource-adapter-deployment/README.adoc +++ b/resource-adapter/resource-adapter-deployment/README.adoc @@ -33,7 +33,7 @@ create the runnable `.jar`. As with the other examples, this one inherits a few standard executions from the parent `pom.xml`, particularly the `package` execution. -To define the needed parts of WildFly Swarm, a few dependencies are added. +To define the needed parts of Thorntail, a few dependencies are added. To support resource adapters in general, the next dependency is required: [source,xml] diff --git a/resource-adapter/resource-adapter-deployment/pom.xml b/resource-adapter/resource-adapter-deployment/pom.xml index 1377f9369..5003f21e2 100644 --- a/resource-adapter/resource-adapter-deployment/pom.xml +++ b/resource-adapter/resource-adapter-deployment/pom.xml @@ -7,24 +7,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-resource-adapter - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-resource-adapter-deployment - WildFly Swarm Examples: Resource Adapter Deployment - WildFly Swarm Examples: Resource Adapter Deployment + Thorntail Examples: Resource Adapter Deployment + Thorntail Examples: Resource Adapter Deployment jar - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -42,19 +42,19 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail ejb - org.wildfly.swarm + io.thorntail resource-adapters diff --git a/ribbon-consul/README.md b/ribbon-consul/README.md index f04616280..dffe63363 100644 --- a/ribbon-consul/README.md +++ b/ribbon-consul/README.md @@ -1,7 +1,7 @@ # Multiple services plus NetFlixOSS Ribbon > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN This example is like the `ribbon` example, but instead of using JGroups, it relies upon Hashicorp's Consul service-discovery mechanisms. diff --git a/ribbon-consul/events/pom.xml b/ribbon-consul/events/pom.xml index ce563724d..b6a75c08e 100644 --- a/ribbon-consul/events/pom.xml +++ b/ribbon-consul/events/pom.xml @@ -9,35 +9,35 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-ribbon-consul-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-ribbon-consul-events - WildFly Swarm Examples: Netflix Ribbon using Consul: Events - WildFly Swarm Examples: Netflix Ribbon using Consul: Events + Thorntail Examples: Netflix Ribbon using Consul: Events + Thorntail Examples: Netflix Ribbon using Consul: Events war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail ribbon diff --git a/ribbon-consul/frontend/pom.xml b/ribbon-consul/frontend/pom.xml index a84cb819f..0f435f9cd 100644 --- a/ribbon-consul/frontend/pom.xml +++ b/ribbon-consul/frontend/pom.xml @@ -9,35 +9,35 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-ribbon-consul-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-ribbon-consul-frontend - WildFly Swarm Examples: Netflix Ribbon using Consul: Front End - WildFly Swarm Examples: Netflix Ribbon using Consul: Front End + Thorntail Examples: Netflix Ribbon using Consul: Front End + Thorntail Examples: Netflix Ribbon using Consul: Front End war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin - org.wildfly.swarm + io.thorntail undertow - org.wildfly.swarm + io.thorntail topology-webapp diff --git a/ribbon-consul/frontend/src/main/resources/index.html b/ribbon-consul/frontend/src/main/resources/index.html index c5c7f1684..0d13c2590 100644 --- a/ribbon-consul/frontend/src/main/resources/index.html +++ b/ribbon-consul/frontend/src/main/resources/index.html @@ -2,7 +2,7 @@ - WildFly Swarm Ribbon Example + Thorntail Ribbon Example diff --git a/ribbon-consul/frontend/src/main/resources/js/app.js b/ribbon-consul/frontend/src/main/resources/js/app.js index 7c3c6cb4a..03b6d2052 100644 --- a/ribbon-consul/frontend/src/main/resources/js/app.js +++ b/ribbon-consul/frontend/src/main/resources/js/app.js @@ -3,7 +3,7 @@ topology().then(function(topo) { render: function() { return (
-

WildFly Swarm Ribbon Example

+

Thorntail Ribbon Example

); diff --git a/ribbon-consul/pom.xml b/ribbon-consul/pom.xml index 47f8f8c66..6731236b9 100644 --- a/ribbon-consul/pom.xml +++ b/ribbon-consul/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-ribbon-consul-parent - WildFly Swarm Examples: Netflix Ribbon using Consul Parent - WildFly Swarm Examples: Netflix Ribbon using Consul Parent + Thorntail Examples: Netflix Ribbon using Consul Parent + Thorntail Examples: Netflix Ribbon using Consul Parent pom - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin true @@ -52,7 +52,7 @@ - org.wildfly.swarm + io.thorntail topology-consul diff --git a/ribbon-consul/test/pom.xml b/ribbon-consul/test/pom.xml index b4591d1b5..25f604be5 100644 --- a/ribbon-consul/test/pom.xml +++ b/ribbon-consul/test/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-ribbon-consul-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-ribbon-consul-test - WildFly Swarm Examples: Netflix Ribbon using Consul: Multi-service Test - WildFly Swarm Examples: Netflix Ribbon using Consul: Multi-service Test + Thorntail Examples: Netflix Ribbon using Consul: Multi-service Test + Thorntail Examples: Netflix Ribbon using Consul: Multi-service Test pom @@ -38,8 +38,8 @@
- org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -91,8 +91,8 @@ - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -147,23 +147,23 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm.examples + io.thorntail.examples example-ribbon-consul-frontend ${project.version} war - org.wildfly.swarm.examples + io.thorntail.examples example-ribbon-consul-time ${project.version} war - org.wildfly.swarm.examples + io.thorntail.examples example-ribbon-consul-events ${project.version} war diff --git a/ribbon-consul/time/pom.xml b/ribbon-consul/time/pom.xml index 2b5f0661a..c2a5e6503 100644 --- a/ribbon-consul/time/pom.xml +++ b/ribbon-consul/time/pom.xml @@ -9,35 +9,35 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-ribbon-consul-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-ribbon-consul-time - WildFly Swarm Examples: Netflix Ribbon using Consul: Time - WildFly Swarm Examples: Netflix Ribbon using Consul: Time + Thorntail Examples: Netflix Ribbon using Consul: Time + Thorntail Examples: Netflix Ribbon using Consul: Time war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail ribbon diff --git a/ribbon/README.md b/ribbon/README.md index 4a605c1a9..e3a4c758c 100644 --- a/ribbon/README.md +++ b/ribbon/README.md @@ -1,7 +1,7 @@ # Multiple services plus NetFlixOSS Ribbon > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Services @@ -39,7 +39,7 @@ First, start up the front end, so you can watch the Ribbon topology get updated in real time. Open a terminal window. $ cd frontend - $ mvn wildfly-swarm:run + $ mvn thorntail:run Then open a browser to `http://127.0.0.1:8080`. There will be nothing to see there yet. Leave this window open and visible while you bring up the two services. @@ -47,7 +47,7 @@ yet. Leave this window open and visible while you bring up the two services. Open another terminal window to build and run the time service: $ cd time - $ mvn -Dswarm.port.offset=1 wildfly-swarm:run + $ mvn -Dswarm.port.offset=1 thorntail:run You should see the Ribbon topology update in the browser as the time service comes up. Now, open another terminal window, and run the `time` service again, @@ -55,13 +55,13 @@ but this time give it a different port number. Notice how the web UI updates itself as the service comes up. $ cd time - $ mvn -Dswarm.port.offset=2 wildfly-swarm:run + $ mvn -Dswarm.port.offset=2 thorntail:run Finally, open yet another terminal window and run the events service, which consumes the time service(s). Again, note the UI changes. $ cd events - $ mvn -Dswarm.port.offset=3 wildfly-swarm:run + $ mvn -Dswarm.port.offset=3 thorntail:run Now you can kill and restart one or both of the `time` services, and witness the UI changes. You can also `GET` time and event service data, and `POST` new events. diff --git a/ribbon/events/pom.xml b/ribbon/events/pom.xml index 7515d42a1..a15d7c21e 100644 --- a/ribbon/events/pom.xml +++ b/ribbon/events/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-ribbon-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-ribbon-events - WildFly Swarm Examples: Netflix Ribbon: Events - WildFly Swarm Examples: Netflix Ribbon: Events + Thorntail Examples: Netflix Ribbon: Events + Thorntail Examples: Netflix Ribbon: Events war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin 127.0.0.1 @@ -46,11 +46,11 @@ - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail ribbon diff --git a/ribbon/frontend/pom.xml b/ribbon/frontend/pom.xml index 18222cdf2..56b5a0557 100644 --- a/ribbon/frontend/pom.xml +++ b/ribbon/frontend/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-ribbon-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-ribbon-frontend - WildFly Swarm Examples: Netflix Ribbon: Front End - WildFly Swarm Examples: Netflix Ribbon: Front End + Thorntail Examples: Netflix Ribbon: Front End + Thorntail Examples: Netflix Ribbon: Front End war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin 127.0.0.1 @@ -46,15 +46,15 @@ - org.wildfly.swarm + io.thorntail undertow - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail topology-webapp diff --git a/ribbon/frontend/src/main/resources/index.html b/ribbon/frontend/src/main/resources/index.html index c5c7f1684..0d13c2590 100644 --- a/ribbon/frontend/src/main/resources/index.html +++ b/ribbon/frontend/src/main/resources/index.html @@ -2,7 +2,7 @@ - WildFly Swarm Ribbon Example + Thorntail Ribbon Example diff --git a/ribbon/frontend/src/main/resources/js/app.js b/ribbon/frontend/src/main/resources/js/app.js index 7c3c6cb4a..03b6d2052 100644 --- a/ribbon/frontend/src/main/resources/js/app.js +++ b/ribbon/frontend/src/main/resources/js/app.js @@ -3,7 +3,7 @@ topology().then(function(topo) { render: function() { return (
-

WildFly Swarm Ribbon Example

+

Thorntail Ribbon Example

); diff --git a/ribbon/pom.xml b/ribbon/pom.xml index 69a3ae756..b3620a948 100644 --- a/ribbon/pom.xml +++ b/ribbon/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-ribbon-parent - WildFly Swarm Examples: Netflix Ribbon Parent - WildFly Swarm Examples: Netflix Ribbon Parent + Thorntail Examples: Netflix Ribbon Parent + Thorntail Examples: Netflix Ribbon Parent pom - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin 127.0.0.1 @@ -53,11 +53,11 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail topology-jgroups diff --git a/ribbon/test/pom.xml b/ribbon/test/pom.xml index 69436d21c..6f67c8e0d 100644 --- a/ribbon/test/pom.xml +++ b/ribbon/test/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-ribbon-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-ribbon-test - WildFly Swarm Examples: Netflix Ribbon: Multi-service Test - WildFly Swarm Examples: Netflix Ribbon: Multi-service Test + Thorntail Examples: Netflix Ribbon: Multi-service Test + Thorntail Examples: Netflix Ribbon: Multi-service Test pom @@ -49,8 +49,8 @@
- org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin 127.0.0.1 @@ -109,26 +109,26 @@ - org.wildfly.swarm.examples + io.thorntail.examples example-ribbon-frontend ${project.version} - swarm + thorntail runtime jar - org.wildfly.swarm.examples + io.thorntail.examples example-ribbon-time ${project.version} - swarm + thorntail runtime jar - org.wildfly.swarm.examples + io.thorntail.examples example-ribbon-events ${project.version} - swarm + thorntail runtime jar diff --git a/ribbon/time/pom.xml b/ribbon/time/pom.xml index 081f28e7f..20d2ab108 100644 --- a/ribbon/time/pom.xml +++ b/ribbon/time/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-ribbon-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-ribbon-time - WildFly Swarm Examples: Netflix Ribbon: Time - WildFly Swarm Examples: Netflix Ribbon: Time + Thorntail Examples: Netflix Ribbon: Time + Thorntail Examples: Netflix Ribbon: Time war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin 127.0.0.1 @@ -46,11 +46,11 @@ - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail ribbon diff --git a/security/jaas/basic/README.md b/security/jaas/basic/README.md index 3a99b014e..26d7f29a0 100644 --- a/security/jaas/basic/README.md +++ b/security/jaas/basic/README.md @@ -8,7 +8,7 @@ with the addition of setting up Java Authentication and Authorization Service(JA You can run it many ways: * mvn package && java -jar ./target/example-jaas-basic-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use diff --git a/security/jaas/basic/pom.xml b/security/jaas/basic/pom.xml index e40fb1f9f..f6b9d2951 100644 --- a/security/jaas/basic/pom.xml +++ b/security/jaas/basic/pom.xml @@ -9,15 +9,15 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples example-jaas-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT example-jaas-basic - WildFly Swarm Examples: Security JAAS Basic - WildFly Swarm Examples: Security JAAS Basic + Thorntail Examples: Security JAAS Basic + Thorntail Examples: Security JAAS Basic war @@ -28,8 +28,8 @@ - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -47,19 +47,19 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail cdi - org.wildfly.swarm + io.thorntail jpa diff --git a/security/jaas/form/README.md b/security/jaas/form/README.md index 6bfbb459d..1b1be32b9 100644 --- a/security/jaas/form/README.md +++ b/security/jaas/form/README.md @@ -8,7 +8,7 @@ with the addition of setting up Java Authentication and Authorization Service(JA You can run it many ways: * mvn package && java -jar ./target/example-jaas-form-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use diff --git a/security/jaas/form/pom.xml b/security/jaas/form/pom.xml index f8b80d3e4..a3df4b2c2 100644 --- a/security/jaas/form/pom.xml +++ b/security/jaas/form/pom.xml @@ -9,23 +9,23 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples example-jaas-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT example-jaas-form - WildFly Swarm Examples: Security JAAS Form - WildFly Swarm Examples: Security JAAS Form + Thorntail Examples: Security JAAS Form + Thorntail Examples: Security JAAS Form war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -43,19 +43,19 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail undertow - org.wildfly.swarm + io.thorntail cdi - org.wildfly.swarm + io.thorntail jpa diff --git a/security/jaas/pom.xml b/security/jaas/pom.xml index 73b528d35..1ffbf7a3e 100644 --- a/security/jaas/pom.xml +++ b/security/jaas/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-security - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-jaas-parent - WildFly Swarm Examples: Security JAAS parent - WildFly Swarm Examples: Security JAAS + Thorntail Examples: Security JAAS parent + Thorntail Examples: Security JAAS pom diff --git a/security/keycloak-multitenancy/pom.xml b/security/keycloak-multitenancy/pom.xml index b0d980e27..81f0a845b 100644 --- a/security/keycloak-multitenancy/pom.xml +++ b/security/keycloak-multitenancy/pom.xml @@ -9,15 +9,15 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-security - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT example-keycloak-multitenancy - WildFly Swarm Examples: Keycloak Multitenancy - WildFly Swarm Examples: Multitenancy + Thorntail Examples: Keycloak Multitenancy + Thorntail Examples: Multitenancy war @@ -28,8 +28,8 @@ - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -41,15 +41,15 @@ - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail keycloak - org.wildfly.swarm + io.thorntail microprofile-health diff --git a/security/keycloak/README.md b/security/keycloak/README.md index 1b63a6637..b1ab5b8a7 100644 --- a/security/keycloak/README.md +++ b/security/keycloak/README.md @@ -3,7 +3,7 @@ Simple JAX-RS application with Keycloak example. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN This example shows how the command-line and browser clients can access a JAX-RS service secured by Keycloak. diff --git a/security/keycloak/pom.xml b/security/keycloak/pom.xml index 87362dd9f..1c762deef 100644 --- a/security/keycloak/pom.xml +++ b/security/keycloak/pom.xml @@ -9,23 +9,23 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-security - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT example-keycloak - WildFly Swarm Examples: Keycloak - WildFly Swarm Examples: Keycloak + Thorntail Examples: Keycloak + Thorntail Examples: Keycloak war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -37,11 +37,11 @@ - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail keycloak diff --git a/security/keycloak/src/main/resources/index.html b/security/keycloak/src/main/resources/index.html index 0a338b5a4..b588c324c 100644 --- a/security/keycloak/src/main/resources/index.html +++ b/security/keycloak/src/main/resources/index.html @@ -2,7 +2,7 @@ - WildFly Swarm Keycloak Example + Thorntail Keycloak Example diff --git a/security/keycloak/src/main/resources/js/app.js b/security/keycloak/src/main/resources/js/app.js index 5a9941819..42e03b7c4 100644 --- a/security/keycloak/src/main/resources/js/app.js +++ b/security/keycloak/src/main/resources/js/app.js @@ -15,7 +15,7 @@ var App = React.createClass({ render: function() { return (
-

WildFly Swarm Keycloak Example

+

Thorntail Keycloak Example

diff --git a/security/pom.xml b/security/pom.xml index 8ccc3c2f2..f2f86144a 100644 --- a/security/pom.xml +++ b/security/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-security - WildFly Swarm Examples: Security parent - WildFly Swarm Examples: Security parent + Thorntail Examples: Security parent + Thorntail Examples: Security parent pom diff --git a/servlet/pom.xml b/servlet/pom.xml index 53ceca339..e91cb0af6 100644 --- a/servlet/pom.xml +++ b/servlet/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-servlet-parent - WildFly Swarm Examples: Servlet parent - WildFly Swarm Examples: Servlet parent + Thorntail Examples: Servlet parent + Thorntail Examples: Servlet parent pom diff --git a/servlet/servlet-cdi/README.md b/servlet/servlet-cdi/README.md index 61969c17a..9227bd9b0 100644 --- a/servlet/servlet-cdi/README.md +++ b/servlet/servlet-cdi/README.md @@ -4,7 +4,7 @@ This example takes a normal Servlet and CDI build, and wraps it into a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -13,12 +13,12 @@ of `war` in the `pom.xml` war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -29,15 +29,15 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, the following dependencies are added +To define the needed parts of Thorntail, the following dependencies are added - org.wildfly.swarm + io.thorntail undertow ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail weld ${version.wildfly-swarm} @@ -47,19 +47,19 @@ project does *not* need to specify those. Additional application dependencies can be specified and will be included in the normal `.war` construction and available -within the WildFly Swarm application `.jar`. +within the Thorntail application `.jar`. ## Run You can run it many ways: * mvn package && java -jar ./target/example-servlet-cdi-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use -Since WildFly Swarm apps tend to support one deployment per executable, it +Since Thorntail apps tend to support one deployment per executable, it automatically adds a `jboss-web.xml` to the deployment if it doesn't already exist. This is used to bind the deployment to the root of the web-server, instead of using the `.war`'s own name as the application context. diff --git a/servlet/servlet-cdi/pom.xml b/servlet/servlet-cdi/pom.xml index 5acc6d128..4f11a72d9 100644 --- a/servlet/servlet-cdi/pom.xml +++ b/servlet/servlet-cdi/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-servlet-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-servlet-cdi - WildFly Swarm Examples: Servlet with CDI - WildFly Swarm Examples: Servlet with CDI + Thorntail Examples: Servlet with CDI + Thorntail Examples: Servlet with CDI war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -44,7 +44,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base diff --git a/servlet/servlet/README.md b/servlet/servlet/README.md index 2abc023fd..5696f0a3c 100644 --- a/servlet/servlet/README.md +++ b/servlet/servlet/README.md @@ -4,7 +4,7 @@ This example takes a normal servlet build, and wraps it into a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -13,12 +13,12 @@ of `war` in the `pom.xml` war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -29,10 +29,10 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, a dependency is added +To define the needed parts of Thorntail, a dependency is added - org.wildfly.swarm + io.thorntail undertow ${version.wildfly-swarm} @@ -42,19 +42,19 @@ project does *not* need to specify those. Additional application dependencies (in this case `joda-time`) can be specified and will be included in the normal `.war` construction and available -within the WildFly Swarm application `.jar`. +within the Thorntail application `.jar`. ## Run You can run it many ways: * mvn package && java -jar ./target/example-servlet-war-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use -Since WildFly Swarm apps tend to support one deployment per executable, it +Since Thorntail apps tend to support one deployment per executable, it automatically adds a `jboss-web.xml` to the deployment if it doesn't already exist. This is used to bind the deployment to the root of the web-server, instead of using the `.war`'s own name as the application context. diff --git a/servlet/servlet/pom.xml b/servlet/servlet/pom.xml index b543946ab..75ced064c 100644 --- a/servlet/servlet/pom.xml +++ b/servlet/servlet/pom.xml @@ -9,24 +9,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-servlet-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-servlet - WildFly Swarm Examples: Servlet - WildFly Swarm Examples: Servlet + Thorntail Examples: Servlet + Thorntail Examples: Servlet war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -44,7 +44,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base diff --git a/spring/pom.xml b/spring/pom.xml index b4ff37f9d..7975e36a1 100644 --- a/spring/pom.xml +++ b/spring/pom.xml @@ -4,16 +4,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-spring - WildFly Swarm Examples: Spring parent - WildFly Swarm Examples: Spring parent + Thorntail Examples: Spring parent + Thorntail Examples: Spring parent pom diff --git a/spring/spring-data/README.md b/spring/spring-data/README.md index 031b15585..984484e71 100644 --- a/spring/spring-data/README.md +++ b/spring/spring-data/README.md @@ -4,7 +4,7 @@ This example takes a normal Spring and Spring Data build, and wraps it into a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -13,12 +13,12 @@ of `war` in the `pom.xml` war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -29,15 +29,15 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, the following dependencies are added +To define the needed parts of Thorntail, the following dependencies are added - org.wildfly.swarm + io.thorntail spring ${version.wildfly-swarm} - org.wildfly.swarm + io.thorntail jpa ${version.wildfly-swarm} @@ -47,19 +47,19 @@ project does *not* need to specify those, and some extra pieces for Spring. Additional application dependencies (in this case `spring-data-jpa` and `spring-webmvc`) can be specified and will be included in the normal `.war` construction and available -within the WildFly Swarm application `.jar`. +within the Thorntail application `.jar`. ## Run You can run it many ways: * mvn package && java -jar ./target/example-spring-data-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use -Since WildFly Swarm apps tend to support one deployment per executable, it +Since Thorntail apps tend to support one deployment per executable, it automatically adds a `jboss-web.xml` to the deployment if it doesn't already exist. This is used to bind the deployment to the root of the web-server, instead of using the `.war`'s own name as the application context. diff --git a/spring/spring-data/pom.xml b/spring/spring-data/pom.xml index 2f50a1a94..c8ba72ac6 100644 --- a/spring/spring-data/pom.xml +++ b/spring/spring-data/pom.xml @@ -4,24 +4,24 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-spring - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-spring-data - WildFly Swarm Examples: Spring Data - WildFly Swarm Examples: Spring Data + Thorntail Examples: Spring Data + Thorntail Examples: Spring Data war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -39,15 +39,15 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail spring - org.wildfly.swarm + io.thorntail jpa diff --git a/static/pom.xml b/static/pom.xml index 033e69646..e0676baa9 100644 --- a/static/pom.xml +++ b/static/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-static - WildFly Swarm Examples: Static parent - WildFly Swarm Examples: Static parent + Thorntail Examples: Static parent + Thorntail Examples: Static parent pom diff --git a/static/static-war/README.md b/static/static-war/README.md index e6b174c5e..58125fb17 100644 --- a/static/static-war/README.md +++ b/static/static-war/README.md @@ -4,7 +4,7 @@ This example takes a normal WAR build, and wraps it into a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -13,12 +13,12 @@ of `war` in the `pom.xml` war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -29,10 +29,10 @@ create the runnable `.jar`. -To define the needed parts of WildFly Swarm, a dependency is added +To define the needed parts of Thorntail, a dependency is added - org.wildfly.swarm + io.thorntail undertow ${version.wildfly-swarm} @@ -45,12 +45,12 @@ statically from within the `.war` You can run it many ways: * mvn package && java -jar ./target/example-static-war-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use -Since WildFly Swarm apps tend to support one deployment per executable, it +Since Thorntail apps tend to support one deployment per executable, it automatically adds a `jboss-web.xml` to the deployment if it doesn't already exist. This is used to bind the deployment to the root of the web-server, instead of using the `.war`'s own name as the application context. diff --git a/static/static-war/pom.xml b/static/static-war/pom.xml index 31a1e1134..855e57c88 100644 --- a/static/static-war/pom.xml +++ b/static/static-war/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-static - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-static-war - WildFly Swarm Examples: Static Content .war - WildFly Swarm Examples: Static Content .war + Thorntail Examples: Static Content .war + Thorntail Examples: Static Content .war war @@ -32,8 +32,8 @@
- org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -59,11 +59,11 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base - org.wildfly.swarm + io.thorntail undertow diff --git a/transactions/pom.xml b/transactions/pom.xml index 6e7ce27a5..a26987d26 100644 --- a/transactions/pom.xml +++ b/transactions/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-transactions-parent - WildFly Swarm Examples: Transactions parent - WildFly Swarm Examples: Transactions parent + Thorntail Examples: Transactions parent + Thorntail Examples: Transactions parent pom diff --git a/transactions/transactions/README.adoc b/transactions/transactions/README.adoc index 95993e527..8e4ebaf34 100644 --- a/transactions/transactions/README.adoc +++ b/transactions/transactions/README.adoc @@ -37,7 +37,7 @@ create the runnable `.jar`. ---- -To define the needed parts of WildFly Swarm, a few dependencies are added +To define the needed parts of Thorntail, a few dependencies are added [source,xml] ---- diff --git a/transactions/transactions/pom.xml b/transactions/transactions/pom.xml index 56cf0b506..89e812e44 100644 --- a/transactions/transactions/pom.xml +++ b/transactions/transactions/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-transactions-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-transactions - WildFly Swarm Examples: Transactions - WildFly Swarm Examples: Transactions + Thorntail Examples: Transactions + Thorntail Examples: Transactions war @@ -32,8 +32,8 @@
- org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -51,7 +51,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base diff --git a/vaadin/README.md b/vaadin/README.md index 350f8c2fe..3f8ce7bc9 100644 --- a/vaadin/README.md +++ b/vaadin/README.md @@ -4,7 +4,7 @@ This example takes a simple Vaadin application with CDI service, and wraps it in a `-swarm` runnable jar. > Please raise any issues found with this example in our JIRA: -> https://issues.jboss.org/browse/SWARM +> https://issues.jboss.org/browse/THORN ## Project `pom.xml` @@ -13,12 +13,12 @@ of `war` in the `pom.xml` war -The project adds a `` to configure `wildfly-swarm-plugin` to +The project adds a `` to configure `thorntail-maven-plugin` to create the runnable `.jar`. - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin ${version.wildfly-swarm} @@ -51,19 +51,19 @@ To add Vaadin (and Vaadin CDI) support there are also these dependencies: Additional application dependencies can be specified and will be included in the normal `.war` construction and available -within the WildFly Swarm application `.jar`. +within the Thorntail application `.jar`. ## Run You can run it many ways: * mvn package && java -jar target/example-vaadin-swarm.jar -* mvn wildfly-swarm:run +* mvn thorntail:run * In your IDE run the `org.wildfly.swarm.Swarm` class ## Use -Since WildFly Swarm apps tend to support one deployment per executable, it +Since Thorntail apps tend to support one deployment per executable, it automatically adds a `jboss-web.xml` to the deployment if it doesn't already exist. This is used to bind the deployment to the root of the web-server, instead of using the `.war`'s own name as the application context. diff --git a/vaadin/pom.xml b/vaadin/pom.xml index 28f32b7d1..92b9b108b 100644 --- a/vaadin/pom.xml +++ b/vaadin/pom.xml @@ -9,16 +9,16 @@ 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ example-vaadin - WildFly Swarm Examples: CDI and Vaadin - WildFly Swarm Examples: CDI and Vaadin + Thorntail Examples: CDI and Vaadin + Thorntail Examples: CDI and Vaadin war @@ -32,8 +32,8 @@
- org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin package @@ -62,7 +62,7 @@ - org.wildfly.swarm.examples + io.thorntail.examples examples-base diff --git a/vertx/README.adoc b/vertx/README.adoc index 852e6c4f8..2f66b997d 100644 --- a/vertx/README.adoc +++ b/vertx/README.adoc @@ -1,4 +1,4 @@ -= WildFly Swarm - Vert.x += Thorntail - Vert.x This example shows how to add support for the Vert.x API in Java EE applications by enabling the https://github.com/vert-x3/vertx-jca[Vert.x JCA adapter]. diff --git a/vertx/pom.xml b/vertx/pom.xml index 2ffdd25fa..b66c265b9 100644 --- a/vertx/pom.xml +++ b/vertx/pom.xml @@ -3,41 +3,41 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.wildfly.swarm.examples + io.thorntail.examples examples-parent - 2018.6.0-SNAPSHOT + 2.0.0.Final-SNAPSHOT ../ examples-vertx - WildFly Swarm Examples: Vert.x - WildFly Swarm Examples: Vert.x + Thorntail Examples: Vert.x + Thorntail Examples: Vert.x war - org.wildfly.swarm - wildfly-swarm-plugin + io.thorntail + thorntail-maven-plugin - org.wildfly.swarm + io.thorntail vertx - org.wildfly.swarm + io.thorntail jaxrs - org.wildfly.swarm + io.thorntail ejb - org.wildfly.swarm + io.thorntail cdi