From e0672d2f86b8266ede9e0d399c647fd24adaa211 Mon Sep 17 00:00:00 2001 From: Eduardo Martins Date: Mon, 28 Oct 2024 15:23:50 +0000 Subject: [PATCH 1/3] [WFLY-18633] moves to parent 9, which no longer has openshift profile --- batch-processing/pom.xml | 31 ++++++++++++++++++- bmt/pom.xml | 23 +++++++++++++- cmt/pom.xml | 23 +++++++++++++- ee-security/pom.xml | 23 +++++++++++++- ejb-multi-server/pom.xml | 2 +- ejb-remote/pom.xml | 23 +++++++++++++- ejb-security-context-propagation/pom.xml | 2 +- ejb-security-programmatic-auth/pom.xml | 2 +- ejb-throws-exception/pom.xml | 2 +- ejb-throws-exception/web/pom.xml | 5 +++ ejb-timer/pom.xml | 23 +++++++++++++- ejb-txn-remote-call/client/pom.xml | 13 +++++++- ejb-txn-remote-call/pom.xml | 2 +- ejb-txn-remote-call/server/pom.xml | 13 +++++++- ha-singleton-deployment/pom.xml | 4 ++- ha-singleton-service/pom.xml | 4 ++- helloworld-jms/pom.xml | 2 +- helloworld-mdb/pom.xml | 23 +++++++++++++- helloworld-mutual-ssl-secured/pom.xml | 4 ++- helloworld-mutual-ssl/pom.xml | 22 +++++++------ helloworld-singleton/pom.xml | 23 +++++++++++++- helloworld-ws/pom.xml | 23 +++++++++++++- helloworld/pom.xml | 23 +++++++++++++- hibernate/pom.xml | 23 +++++++++++++- http-custom-mechanism/pom.xml | 2 +- http-custom-mechanism/webapp/pom.xml | 5 +++ jaxrs-client/pom.xml | 23 +++++++++++++- jaxrs-jwt/pom.xml | 24 ++++++++++++-- jaxws-ejb/pom.xml | 23 +++++++++++++- jaxws-retail/pom.xml | 23 +++++++++++++- jsonp/pom.xml | 23 +++++++++++++- jta-crash-rec/pom.xml | 7 ++++- jts/application-component-1/pom.xml | 4 +++ jts/pom.xml | 2 +- kitchensink/pom.xml | 23 +++++++++++++- logging/pom.xml | 23 +++++++++++++- mail/pom.xml | 4 ++- messaging-clustering-singleton/pom.xml | 4 ++- micrometer/pom.xml | 21 ++++++++++++- microprofile-config/pom.xml | 21 ++++++++++++- microprofile-fault-tolerance/pom.xml | 21 ++++++++++++- microprofile-health/pom.xml | 21 ++++++++++++- microprofile-jwt/pom.xml | 22 ++++++++++++- microprofile-lra/pom.xml | 21 ++++++++++++- microprofile-openapi/pom.xml | 21 ++++++++++++- microprofile-reactive-messaging-kafka/pom.xml | 23 +++++++++++++- microprofile-rest-client/pom.xml | 23 +++++++++++++- numberguess/pom.xml | 23 +++++++++++++- opentelemetry-tracing/pom.xml | 23 ++++++++++++-- remote-helloworld-mdb/pom.xml | 23 +++++++++++++- security-domain-to-domain/pom.xml | 2 +- security-domain-to-domain/web/pom.xml | 5 +++ servlet-async/pom.xml | 23 +++++++++++++- servlet-filterlistener/pom.xml | 23 +++++++++++++- servlet-security/pom.xml | 23 +++++++++++++- spring-resteasy/pom.xml | 23 +++++++++++++- tasks-jsf/pom.xml | 23 +++++++++++++- temperature-converter/pom.xml | 23 +++++++++++++- thread-racing/pom.xml | 23 +++++++++++++- todo-backend/pom.xml | 23 +++++++++++++- websocket-endpoint/pom.xml | 23 +++++++++++++- websocket-hello/pom.xml | 23 +++++++++++++- 62 files changed, 959 insertions(+), 69 deletions(-) diff --git a/batch-processing/pom.xml b/batch-processing/pom.xml index 18a179f0d8..7599a565e0 100644 --- a/batch-processing/pom.xml +++ b/batch-processing/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -180,6 +180,8 @@ + + ${project.artifactId} @@ -252,6 +254,33 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/bmt/pom.xml b/bmt/pom.xml index 5e469423ec..ef04a98939 100644 --- a/bmt/pom.xml +++ b/bmt/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -121,6 +121,8 @@ + + ${project.artifactId} @@ -195,6 +197,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/cmt/pom.xml b/cmt/pom.xml index ae2f7ceded..a533ad9e27 100644 --- a/cmt/pom.xml +++ b/cmt/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 cmt @@ -125,6 +125,8 @@ + + ${project.artifactId} @@ -199,6 +201,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/ee-security/pom.xml b/ee-security/pom.xml index 3887a051cc..0afcf5ac58 100644 --- a/ee-security/pom.xml +++ b/ee-security/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -105,6 +105,8 @@ + + ${project.artifactId} @@ -189,6 +191,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/ejb-multi-server/pom.xml b/ejb-multi-server/pom.xml index 1e4a1bbd8f..1debdbd163 100644 --- a/ejb-multi-server/pom.xml +++ b/ejb-multi-server/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 ejb-multi-server diff --git a/ejb-remote/pom.xml b/ejb-remote/pom.xml index 6e2964422f..3dbcc9de70 100644 --- a/ejb-remote/pom.xml +++ b/ejb-remote/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 ejb-remote @@ -94,6 +94,8 @@ + + ${project.artifactId} @@ -166,6 +168,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/ejb-security-context-propagation/pom.xml b/ejb-security-context-propagation/pom.xml index a9004ac0d1..554f5a3060 100644 --- a/ejb-security-context-propagation/pom.xml +++ b/ejb-security-context-propagation/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 ejb-security-context-propagation diff --git a/ejb-security-programmatic-auth/pom.xml b/ejb-security-programmatic-auth/pom.xml index ac7248a39b..e3329902ea 100644 --- a/ejb-security-programmatic-auth/pom.xml +++ b/ejb-security-programmatic-auth/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 ejb-security-programmatic-auth diff --git a/ejb-throws-exception/pom.xml b/ejb-throws-exception/pom.xml index 4a42eded77..c8a6a307e8 100644 --- a/ejb-throws-exception/pom.xml +++ b/ejb-throws-exception/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 ejb-throws-exception diff --git a/ejb-throws-exception/web/pom.xml b/ejb-throws-exception/web/pom.xml index 85adadb23b..1169bada79 100644 --- a/ejb-throws-exception/web/pom.xml +++ b/ejb-throws-exception/web/pom.xml @@ -82,4 +82,9 @@ test + + + + ${project.artifactId} + diff --git a/ejb-timer/pom.xml b/ejb-timer/pom.xml index ffe92f76ac..597f7c97f9 100644 --- a/ejb-timer/pom.xml +++ b/ejb-timer/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 ejb-timer @@ -107,6 +107,8 @@ + + ${project.artifactId} @@ -173,6 +175,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/ejb-txn-remote-call/client/pom.xml b/ejb-txn-remote-call/client/pom.xml index e48d335c40..2b222f8555 100644 --- a/ejb-txn-remote-call/client/pom.xml +++ b/ejb-txn-remote-call/client/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -322,6 +322,17 @@ + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/ejb-txn-remote-call/pom.xml b/ejb-txn-remote-call/pom.xml index 320f71d130..e9810dbc58 100644 --- a/ejb-txn-remote-call/pom.xml +++ b/ejb-txn-remote-call/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 ejb-txn-remote-call diff --git a/ejb-txn-remote-call/server/pom.xml b/ejb-txn-remote-call/server/pom.xml index 0920ff3215..f09b63b30e 100644 --- a/ejb-txn-remote-call/server/pom.xml +++ b/ejb-txn-remote-call/server/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -269,6 +269,17 @@ + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/ha-singleton-deployment/pom.xml b/ha-singleton-deployment/pom.xml index 841b5f0700..67f5975edd 100644 --- a/ha-singleton-deployment/pom.xml +++ b/ha-singleton-deployment/pom.xml @@ -31,7 +31,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -100,6 +100,8 @@ + + ${project.artifactId} diff --git a/ha-singleton-service/pom.xml b/ha-singleton-service/pom.xml index bd796eb178..795c542273 100644 --- a/ha-singleton-service/pom.xml +++ b/ha-singleton-service/pom.xml @@ -26,7 +26,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -100,6 +100,8 @@ + + ${project.artifactId} diff --git a/helloworld-jms/pom.xml b/helloworld-jms/pom.xml index 7ed29da5e6..76ee9599fc 100644 --- a/helloworld-jms/pom.xml +++ b/helloworld-jms/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 helloworld-jms diff --git a/helloworld-mdb/pom.xml b/helloworld-mdb/pom.xml index ed1d8fbc62..27d56874cf 100644 --- a/helloworld-mdb/pom.xml +++ b/helloworld-mdb/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -110,6 +110,8 @@ + + ${project.artifactId} @@ -182,6 +184,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/helloworld-mutual-ssl-secured/pom.xml b/helloworld-mutual-ssl-secured/pom.xml index 6cd5dac07b..21d360646e 100644 --- a/helloworld-mutual-ssl-secured/pom.xml +++ b/helloworld-mutual-ssl-secured/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -113,6 +113,8 @@ + + ${project.artifactId} diff --git a/helloworld-mutual-ssl/pom.xml b/helloworld-mutual-ssl/pom.xml index 90ec2a0ed3..835cd595ee 100644 --- a/helloworld-mutual-ssl/pom.xml +++ b/helloworld-mutual-ssl/pom.xml @@ -26,7 +26,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -114,15 +114,17 @@ - - - - org.wildfly.plugins - wildfly-maven-plugin - ${version.plugin.wildfly} - - - + + ${project.artifactId} + + + + org.wildfly.plugins + wildfly-maven-plugin + ${version.plugin.wildfly} + + + diff --git a/helloworld-singleton/pom.xml b/helloworld-singleton/pom.xml index 9bed01f0db..62c22219db 100644 --- a/helloworld-singleton/pom.xml +++ b/helloworld-singleton/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -93,6 +93,8 @@ + + ${project.artifactId} @@ -151,6 +153,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/helloworld-ws/pom.xml b/helloworld-ws/pom.xml index 54dd65b0b5..2974d0831c 100644 --- a/helloworld-ws/pom.xml +++ b/helloworld-ws/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 helloworld-ws @@ -112,6 +112,8 @@ + + ${project.artifactId} @@ -179,6 +181,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/helloworld/pom.xml b/helloworld/pom.xml index dd68c60dba..bb5493af1a 100644 --- a/helloworld/pom.xml +++ b/helloworld/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 helloworld @@ -82,6 +82,8 @@ + + ${project.artifactId} @@ -148,6 +150,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/hibernate/pom.xml b/hibernate/pom.xml index 2a9273d3d6..3e2c6345a5 100644 --- a/hibernate/pom.xml +++ b/hibernate/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -146,6 +146,8 @@ + + ${project.artifactId} @@ -240,6 +242,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/http-custom-mechanism/pom.xml b/http-custom-mechanism/pom.xml index ad67e46a38..7709bed401 100644 --- a/http-custom-mechanism/pom.xml +++ b/http-custom-mechanism/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 diff --git a/http-custom-mechanism/webapp/pom.xml b/http-custom-mechanism/webapp/pom.xml index 367d831d83..743da5b61f 100644 --- a/http-custom-mechanism/webapp/pom.xml +++ b/http-custom-mechanism/webapp/pom.xml @@ -62,6 +62,11 @@ + + + ${project.artifactId} + + provisioned-server diff --git a/jaxrs-client/pom.xml b/jaxrs-client/pom.xml index 9fa04835db..49d7f4a406 100644 --- a/jaxrs-client/pom.xml +++ b/jaxrs-client/pom.xml @@ -26,7 +26,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 jaxrs-client @@ -137,6 +137,8 @@ + + ${project.artifactId} @@ -212,6 +214,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/jaxrs-jwt/pom.xml b/jaxrs-jwt/pom.xml index bd8f878b32..114c0adfad 100644 --- a/jaxrs-jwt/pom.xml +++ b/jaxrs-jwt/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 jaxrs-jwt @@ -138,7 +138,8 @@ - + + ${project.artifactId} @@ -232,6 +233,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/jaxws-ejb/pom.xml b/jaxws-ejb/pom.xml index 611e36badb..8446e45012 100644 --- a/jaxws-ejb/pom.xml +++ b/jaxws-ejb/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 jaxws-ejb @@ -121,6 +121,8 @@ + + ${project.artifactId} @@ -188,6 +190,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/jaxws-retail/pom.xml b/jaxws-retail/pom.xml index 7f2ce9a4cf..25ff4392f3 100644 --- a/jaxws-retail/pom.xml +++ b/jaxws-retail/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 jaxws-retail @@ -124,6 +124,8 @@ + + ${project.artifactId} @@ -216,6 +218,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/jsonp/pom.xml b/jsonp/pom.xml index 4393264dc9..48700b2a69 100644 --- a/jsonp/pom.xml +++ b/jsonp/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 jsonp @@ -134,6 +134,8 @@ + + ${project.artifactId} @@ -200,6 +202,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/jta-crash-rec/pom.xml b/jta-crash-rec/pom.xml index aee1860280..f792c032d8 100644 --- a/jta-crash-rec/pom.xml +++ b/jta-crash-rec/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 jta-crash-rec @@ -125,6 +125,11 @@ + + + ${project.artifactId} + + integration-testing diff --git a/jts/application-component-1/pom.xml b/jts/application-component-1/pom.xml index 6b5e576d48..ecd930f779 100644 --- a/jts/application-component-1/pom.xml +++ b/jts/application-component-1/pom.xml @@ -81,4 +81,8 @@ + + + ${project.artifactId} + diff --git a/jts/pom.xml b/jts/pom.xml index 4f9eb7e27a..29dd091494 100644 --- a/jts/pom.xml +++ b/jts/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 diff --git a/kitchensink/pom.xml b/kitchensink/pom.xml index d0308417db..3f1fe7fe35 100644 --- a/kitchensink/pom.xml +++ b/kitchensink/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 kitchensink @@ -200,6 +200,8 @@ + + ${project.artifactId} @@ -266,6 +268,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/logging/pom.xml b/logging/pom.xml index 7a44eee3d6..70510a9040 100644 --- a/logging/pom.xml +++ b/logging/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 jboss-logging @@ -142,6 +142,8 @@ + + ${project.artifactId} org.wildfly.plugins @@ -243,6 +245,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/mail/pom.xml b/mail/pom.xml index 1200ae6d64..edb6acf6ec 100644 --- a/mail/pom.xml +++ b/mail/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -115,6 +115,8 @@ + + ${project.artifactId} diff --git a/messaging-clustering-singleton/pom.xml b/messaging-clustering-singleton/pom.xml index 4162d84283..35655896fd 100644 --- a/messaging-clustering-singleton/pom.xml +++ b/messaging-clustering-singleton/pom.xml @@ -24,7 +24,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -109,6 +109,8 @@ + + ${project.artifactId} diff --git a/micrometer/pom.xml b/micrometer/pom.xml index 4e2fb16d70..18c140ac5d 100644 --- a/micrometer/pom.xml +++ b/micrometer/pom.xml @@ -10,7 +10,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -236,6 +236,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/microprofile-config/pom.xml b/microprofile-config/pom.xml index b7f2dfbad9..b2ff9c7056 100644 --- a/microprofile-config/pom.xml +++ b/microprofile-config/pom.xml @@ -8,7 +8,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -171,6 +171,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/microprofile-fault-tolerance/pom.xml b/microprofile-fault-tolerance/pom.xml index b44fb7ece2..4371ab02fe 100644 --- a/microprofile-fault-tolerance/pom.xml +++ b/microprofile-fault-tolerance/pom.xml @@ -26,7 +26,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 microprofile-fault-tolerance @@ -215,6 +215,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/microprofile-health/pom.xml b/microprofile-health/pom.xml index 6a9232af2d..ff91c0dc49 100644 --- a/microprofile-health/pom.xml +++ b/microprofile-health/pom.xml @@ -8,7 +8,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -175,6 +175,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/microprofile-jwt/pom.xml b/microprofile-jwt/pom.xml index 037f7d8f3a..f46e351464 100644 --- a/microprofile-jwt/pom.xml +++ b/microprofile-jwt/pom.xml @@ -24,7 +24,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -148,6 +148,7 @@ + ${project.artifactId} @@ -232,6 +233,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/microprofile-lra/pom.xml b/microprofile-lra/pom.xml index 6c517fe00c..cdb20d77df 100644 --- a/microprofile-lra/pom.xml +++ b/microprofile-lra/pom.xml @@ -8,7 +8,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -187,6 +187,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/microprofile-openapi/pom.xml b/microprofile-openapi/pom.xml index 25f204b274..293fa61b9b 100644 --- a/microprofile-openapi/pom.xml +++ b/microprofile-openapi/pom.xml @@ -9,7 +9,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -145,6 +145,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/microprofile-reactive-messaging-kafka/pom.xml b/microprofile-reactive-messaging-kafka/pom.xml index 61e3a6be29..5f2dc363f9 100644 --- a/microprofile-reactive-messaging-kafka/pom.xml +++ b/microprofile-reactive-messaging-kafka/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 microprofile-reactive-messaging-kafka @@ -187,6 +187,8 @@ + + ${project.artifactId} @@ -268,6 +270,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/microprofile-rest-client/pom.xml b/microprofile-rest-client/pom.xml index fc5807306c..33c21b7bee 100644 --- a/microprofile-rest-client/pom.xml +++ b/microprofile-rest-client/pom.xml @@ -24,7 +24,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 microprofile-rest-client @@ -175,6 +175,8 @@ + + ${project.artifactId} @@ -246,6 +248,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/numberguess/pom.xml b/numberguess/pom.xml index 810689fcc5..78946a47e8 100644 --- a/numberguess/pom.xml +++ b/numberguess/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 numberguess @@ -98,6 +98,8 @@ + + ${project.artifactId} @@ -164,6 +166,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/opentelemetry-tracing/pom.xml b/opentelemetry-tracing/pom.xml index 95505df516..dbf9e3ab69 100644 --- a/opentelemetry-tracing/pom.xml +++ b/opentelemetry-tracing/pom.xml @@ -8,7 +8,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -91,7 +91,7 @@ - + ${project.artifactId} @@ -221,6 +221,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/remote-helloworld-mdb/pom.xml b/remote-helloworld-mdb/pom.xml index b987dd60c9..3ecf0e7f7c 100644 --- a/remote-helloworld-mdb/pom.xml +++ b/remote-helloworld-mdb/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -111,6 +111,8 @@ + + ${project.artifactId} @@ -183,6 +185,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/security-domain-to-domain/pom.xml b/security-domain-to-domain/pom.xml index 9b1b5973fd..aed492a9f1 100644 --- a/security-domain-to-domain/pom.xml +++ b/security-domain-to-domain/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 diff --git a/security-domain-to-domain/web/pom.xml b/security-domain-to-domain/web/pom.xml index 612f1b99ea..b1ef742750 100644 --- a/security-domain-to-domain/web/pom.xml +++ b/security-domain-to-domain/web/pom.xml @@ -90,4 +90,9 @@ provided + + + + ${project.artifactId} + diff --git a/servlet-async/pom.xml b/servlet-async/pom.xml index 964a721cbb..c5afcb50eb 100644 --- a/servlet-async/pom.xml +++ b/servlet-async/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -109,6 +109,8 @@ + + ${project.artifactId} @@ -175,6 +177,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/servlet-filterlistener/pom.xml b/servlet-filterlistener/pom.xml index d67cc6aae0..5edc70ae3e 100644 --- a/servlet-filterlistener/pom.xml +++ b/servlet-filterlistener/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -109,6 +109,8 @@ + + ${project.artifactId} @@ -175,6 +177,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/servlet-security/pom.xml b/servlet-security/pom.xml index 012f43e7c7..c572798422 100644 --- a/servlet-security/pom.xml +++ b/servlet-security/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -108,6 +108,8 @@ + + ${project.artifactId} @@ -202,6 +204,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/spring-resteasy/pom.xml b/spring-resteasy/pom.xml index b8ed4d8aba..81706a9f34 100644 --- a/spring-resteasy/pom.xml +++ b/spring-resteasy/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -121,6 +121,8 @@ + + ${project.artifactId} @@ -195,6 +197,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/tasks-jsf/pom.xml b/tasks-jsf/pom.xml index d522ebcf3b..2a5ade111c 100644 --- a/tasks-jsf/pom.xml +++ b/tasks-jsf/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -113,6 +113,8 @@ + + ${project.artifactId} @@ -193,6 +195,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/temperature-converter/pom.xml b/temperature-converter/pom.xml index fdc3a4a5b1..57e55b6c3e 100644 --- a/temperature-converter/pom.xml +++ b/temperature-converter/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -105,6 +105,8 @@ + + ${project.artifactId} @@ -181,6 +183,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/thread-racing/pom.xml b/thread-racing/pom.xml index 48df0b0df5..9c9dcd1c8b 100644 --- a/thread-racing/pom.xml +++ b/thread-racing/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -164,6 +164,8 @@ + + ${project.artifactId} @@ -238,6 +240,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/todo-backend/pom.xml b/todo-backend/pom.xml index daf89bd9e2..0ef29818ab 100644 --- a/todo-backend/pom.xml +++ b/todo-backend/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -66,6 +66,8 @@ + + ${project.artifactId} @@ -211,6 +213,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/websocket-endpoint/pom.xml b/websocket-endpoint/pom.xml index 335cb11f0d..4d16178027 100644 --- a/websocket-endpoint/pom.xml +++ b/websocket-endpoint/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -135,6 +135,8 @@ + + ${project.artifactId} @@ -201,6 +203,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + diff --git a/websocket-hello/pom.xml b/websocket-hello/pom.xml index 126cfaaa1e..70929b077d 100644 --- a/websocket-hello/pom.xml +++ b/websocket-hello/pom.xml @@ -25,7 +25,7 @@ Maintain separation between the artifact id and the version to help prevent merge conflicts between commits changing the GA and those changing the V. --> - 8 + 9 @@ -86,6 +86,8 @@ + + ${project.artifactId} @@ -152,6 +154,25 @@ + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + ROOT + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + From 82ceea0a283cd1b7a2d1bdfd51a8c41b23e8b182 Mon Sep 17 00:00:00 2001 From: Eduardo Martins Date: Tue, 29 Oct 2024 08:46:38 +0000 Subject: [PATCH 2/3] [WFLY-19810] never deploys quickstarts at root web context --- .github/workflows/quickstart_ci.yml | 20 ++++--- .../quickstart_ejb-txn-remote-call_ci.yml | 12 ++--- ...start_helloworld-mutual-ssl-secured_ci.yml | 1 - .../quickstart_helloworld-mutual-ssl_ci.yml | 1 - batch-processing/pom.xml | 26 --------- .../quickstarts/batch/BasicRuntimeIT.java | 4 +- bmt/pom.xml | 18 ------- .../quickstarts/cmt/BasicRuntimeIT.java | 4 +- cmt/pom.xml | 18 ------- .../jboss/as/quickstarts/cmt/CustomerIT.java | 3 +- .../quickstarts/cmt/BasicRuntimeIT.java | 4 +- ee-security/pom.xml | 18 ------- .../ee_security/BasicRuntimeIT.java | 4 +- .../ejb/multi/server/BasicRuntimeIT.java | 4 +- ejb-remote/pom.xml | 18 ------- .../ejb/remote/BasicRuntimeIT.java | 4 +- .../quickstarts/ejb/remote/EJBRemoteIT.java | 3 +- ejb-security-context-propagation/pom.xml | 5 -- .../BasicRuntimeIT.java | 4 +- .../SecurityContextPropagationIT.java | 11 ++-- ejb-security-programmatic-auth/pom.xml | 5 -- .../BasicRuntimeIT.java | 4 +- ejb-throws-exception/ear/pom.xml | 13 ----- .../ear/controller/BasicRuntimeIT.java | 4 +- ejb-timer/pom.xml | 18 ------- .../quickstarts/ejb/timer/BasicRuntimeIT.java | 4 +- .../as/quickstarts/ejb/BasicRuntimeIT.java | 3 +- .../as/quickstarts/ejb/BasicRuntimeIT.java | 3 +- .../ha/singleton/BasicRuntimeIT.java | 4 +- .../ha/singleton/service/BasicRuntimeIT.java | 4 +- helloworld-mdb/pom.xml | 18 ------- .../quickstarts/mdb/BasicRuntimeIT.java | 6 +-- .../README-source.adoc | 1 - helloworld-mutual-ssl-secured/pom.xml | 2 - .../helloworld_mutual_ssl/BasicRuntimeIT.java | 3 +- helloworld-mutual-ssl/README-source.adoc | 1 - helloworld-mutual-ssl/pom.xml | 2 - .../helloworld_mutual_ssl/BasicRuntimeIT.java | 3 +- helloworld-singleton/pom.xml | 10 ---- .../quickstarts/singleton/BasicRuntimeIT.java | 4 +- helloworld-ws/pom.xml | 19 ------- helloworld/pom.xml | 18 ------- .../helloworld/BasicRuntimeIT.java | 4 +- hibernate/pom.xml | 18 ------- .../quickstart/hibernate/BasicRuntimeIT.java | 4 +- http-custom-mechanism/webapp/pom.xml | 5 -- .../http_custom_mechanism/BasicRuntimeIT.java | 4 +- jaxrs-client/pom.xml | 18 ------- .../test/AbstractContactsRestClientIT.java | 4 +- jaxrs-jwt/pom.xml | 18 ------- .../jboss/quickstart/jaxrsjwt/JwtAuthIT.java | 4 +- jaxws-ejb/pom.xml | 19 ------- jaxws-retail/pom.xml | 19 ------- jsonp/pom.xml | 18 ------- .../quickstarts/jsonp/BasicRuntimeIT.java | 4 +- .../as/quickstarts/xa/BasicRuntimeIT.java | 4 +- kitchensink/pom.xml | 18 ------- .../kitchensink/test/BasicRuntimeIT.java | 4 +- .../test/MemberRegistrationIT.java | 4 +- logging/pom.xml | 53 ++++++------------- .../jboss/as/quickstarts/logging/LogIT.java | 4 +- mail/pom.xml | 5 -- .../as/quickstarts/mail/BasicRuntimeIT.java | 4 +- .../as/quickstarts/mail/MailTestCaseIT.java | 4 +- messaging-clustering-singleton/pom.xml | 1 - .../as/quickstarts/mdb/BasicRuntimeIT.java | 6 +-- micrometer/pom.xml | 18 ------- .../micrometer/BasicRuntimeIT.java | 4 +- microprofile-config/pom.xml | 18 ------- .../microprofile/config/BasicRuntimeIT.java | 4 +- microprofile-fault-tolerance/pom.xml | 18 ------- .../faulttolerance/TestUtils.java | 4 +- microprofile-health/pom.xml | 18 ------- .../microprofile/health/BasicRuntimeIT.java | 4 +- microprofile-jwt/pom.xml | 18 ------- .../wildfly/quickstarts/mpjwt/TestUtils.java | 4 +- microprofile-lra/pom.xml | 18 ------- .../microprofile/lra/TestUtils.java | 4 +- microprofile-openapi/pom.xml | 18 ------- .../microprofile/openapi/BasicRuntimeIT.java | 4 +- microprofile-reactive-messaging-kafka/pom.xml | 18 ------- .../reactive/messaging/test/TestUtils.java | 4 +- microprofile-rest-client/pom.xml | 20 +------ .../rest/client/CountriesServiceClient.java | 2 +- numberguess/pom.xml | 18 ------- .../numberguess/BasicRuntimeIT.java | 4 +- .../numberguess/NumberguessIT.java | 2 +- opentelemetry-tracing/pom.xml | 17 ------ .../opentelemetry/BasicRuntimeIT.java | 5 +- pom.xml | 2 - remote-helloworld-mdb/pom.xml | 19 ------- .../as/quickstarts/mdb/BasicRuntimeIT.java | 4 +- security-domain-to-domain/ear/pom.xml | 15 ------ .../BasicRuntimeIT.java | 4 +- servlet-async/pom.xml | 18 ------- .../servlet/async/BasicRuntimeIT.java | 4 +- servlet-filterlistener/pom.xml | 18 ------- .../filterlistener/BasicRuntimeIT.java | 4 +- .../filterlistener/FilterServletIT.java | 4 +- servlet-security/pom.xml | 18 ------- .../servlet_security/BasicRuntimeIT.java | 4 +- ...-run-the-quickstart-with-bootable-jar.adoc | 10 ---- ...he-quickstart-with-provisioned-server.adoc | 10 ---- ...uickstart-for-cloud-platform-internal.adoc | 6 --- shared-doc/helm-deploy-project.adoc | 4 -- ...n-integration-tests-with-bootable-jar.adoc | 5 +- ...gration-tests-with-provisioned-server.adoc | 12 ++--- spring-resteasy/pom.xml | 18 ------- .../resteasyspring/test/BasicRuntimeIT.java | 4 +- .../resteasyspring/test/ResteasySpringIT.java | 26 ++++----- tasks-jsf/pom.xml | 10 ---- .../quickstarts/tasksJsf/BasicRuntimeIT.java | 4 +- temperature-converter/pom.xml | 18 ------- .../temperatureconverter/BasicRuntimeIT.java | 4 +- .../TemperatureConverterIT.java | 4 +- thread-racing/pom.xml | 18 ------- .../threadracing/BasicRuntimeIT.java | 4 +- .../threadracing/ThreadRacingIT.java | 4 +- todo-backend/README-source.adoc | 6 +-- todo-backend/additional-readme-cloud.adoc | 7 +-- todo-backend/pom.xml | 18 ------- .../quickstarts/todos/RemoteToDoIT.java | 4 +- websocket-endpoint/pom.xml | 18 ------- .../websocket_endpoint/BasicRuntimeIT.java | 4 +- .../BidWebSocketEndpointIT.java | 8 +-- websocket-hello/pom.xml | 18 ------- .../websocket_hello/BasicRuntimeIT.java | 4 +- .../websocket_hello/WebSocketHelloIT.java | 24 ++++----- 128 files changed, 194 insertions(+), 1013 deletions(-) diff --git a/.github/workflows/quickstart_ci.yml b/.github/workflows/quickstart_ci.yml index 83370f2a9c..56e3487a40 100644 --- a/.github/workflows/quickstart_ci.yml +++ b/.github/workflows/quickstart_ci.yml @@ -1,3 +1,6 @@ +# Abstract CI for a specific quickstart +# If you are updating this please note that there are exceptions not using this: ejb-txn-remote-call + name: WildFly Quickstart CI on: @@ -37,11 +40,6 @@ on: required: false default: '"ubuntu-latest", "windows-latest"' type: string - SERVER_PROVISIONING_SERVER_HOST: - description: 'the server.host arg to be used when testing server provisioning with the mvn verify command' - required: false - default: 'http://localhost:8080' - type: string EXTRA_RUN_ARGS: description: 'optional args to be passed when running the quickstart' required: false @@ -122,7 +120,7 @@ jobs: echo "Starting provisioned server..." mvn -f ${{ inputs.DEPLOYMENT_DIR }}/pom.xml wildfly:start -DjbossHome=${{ inputs.DEPLOYMENT_DIR }}/target/server -Dstartup-timeout=120 ${{ inputs.EXTRA_RUN_ARGS }} echo "Testing provisioned server..." - mvn -fae verify -Dserver.host=${{ inputs.SERVER_PROVISIONING_SERVER_HOST }} -Pintegration-testing + mvn -fae verify -Pintegration-testing echo "Shutting down provisioned server..." mvn -f ${{ inputs.DEPLOYMENT_DIR }}/pom.xml wildfly:shutdown shell: bash @@ -136,7 +134,7 @@ jobs: echo "Starting bootable jar..." mvn -f ${{ inputs.DEPLOYMENT_DIR }}/pom.xml wildfly:start-jar -Dstartup-timeout=120 ${{ inputs.EXTRA_RUN_ARGS }} echo "Testing bootable jar..." - mvn -fae verify -Dserver.host=${{ inputs.SERVER_PROVISIONING_SERVER_HOST }} -Pintegration-testing + mvn -fae verify -Pintegration-testing echo "Shutting down bootable jar..." mvn -f ${{ inputs.DEPLOYMENT_DIR }}/pom.xml wildfly:shutdown shell: bash @@ -145,7 +143,7 @@ jobs: run: | cd quickstarts cd ${{ inputs.QUICKSTART_PATH }} - mvn -fae clean package -Popenshift + mvn -fae clean ${{ inputs.MVN_COMMAND }} -Popenshift shell: bash - name: Run after script env: @@ -229,7 +227,7 @@ jobs: echo "Starting provisioned server..." mvn -f ${{ inputs.DEPLOYMENT_DIR }}/pom.xml wildfly:start -DjbossHome=${{ inputs.DEPLOYMENT_DIR }}/target/server -Dstartup-timeout=120 ${{ inputs.EXTRA_RUN_ARGS }} -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} echo "Testing provisioned server..." - mvn -fae verify -Dserver.host=${{ inputs.SERVER_PROVISIONING_SERVER_HOST }} -Pintegration-testing -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} + mvn -fae verify -Pintegration-testing -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} echo "Shutting down provisioned server..." mvn -f ${{ inputs.DEPLOYMENT_DIR }}/pom.xml wildfly:shutdown -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} shell: bash @@ -243,7 +241,7 @@ jobs: echo "Starting bootable jar..." mvn -f ${{ inputs.DEPLOYMENT_DIR }}/pom.xml wildfly:start-jar -Dstartup-timeout=120 ${{ inputs.EXTRA_RUN_ARGS }} -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} echo "Testing bootable jar..." - mvn -fae verify -Dserver.host=${{ inputs.SERVER_PROVISIONING_SERVER_HOST }} -Pintegration-testing -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} + mvn -fae verify -Pintegration-testing -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} echo "Shutting down bootable jar..." mvn -f ${{ inputs.DEPLOYMENT_DIR }}/pom.xml wildfly:shutdown -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} shell: bash @@ -252,7 +250,7 @@ jobs: run: | cd quickstarts cd ${{ inputs.QUICKSTART_PATH }} - mvn -fae clean package -Popenshift -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} + mvn -fae clean ${{ inputs.MVN_COMMAND }} -Popenshift -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} shell: bash - name: Run after script env: diff --git a/.github/workflows/quickstart_ejb-txn-remote-call_ci.yml b/.github/workflows/quickstart_ejb-txn-remote-call_ci.yml index 647383eabf..203a113502 100644 --- a/.github/workflows/quickstart_ejb-txn-remote-call_ci.yml +++ b/.github/workflows/quickstart_ejb-txn-remote-call_ci.yml @@ -91,10 +91,10 @@ jobs: mvn wildfly:start -Pprovisioned-server -Djboss-as.home=target/server3 -Dwildfly.port=10190 -Dwildfly.serverConfig=standalone-ha.xml -Dwildfly.javaOpts="-Djboss.socket.binding.port-offset=200 -Djboss.tx.node.id=server3 -Djboss.node.name=server3" -Dstartup-timeout=120 ${{env.EXTRA_RUN_ARGS}} echo "Testing provisioned server..." cd ../client - mvn -fae verify -Dserver.host=${{ env.SERVER_PROVISIONING_SERVER_HOST }}:8080/client -Pintegration-testing + mvn -fae verify -Pintegration-testing cd ../server - mvn -fae verify -Dserver.host=${{ env.SERVER_PROVISIONING_SERVER_HOST }}:8180/server -Pintegration-testing - mvn -fae verify -Dserver.host=${{ env.SERVER_PROVISIONING_SERVER_HOST }}:8280/server -Pintegration-testing + mvn -fae verify -Dserver.host=${{ env.SERVER_PROVISIONING_SERVER_HOST }}:8180 -Pintegration-testing + mvn -fae verify -Dserver.host=${{ env.SERVER_PROVISIONING_SERVER_HOST }}:8280 -Pintegration-testing echo "Shutting down provisioned server..." cd ../client mvn wildfly:shutdown @@ -200,10 +200,10 @@ jobs: mvn wildfly:start -Pprovisioned-server -Djboss-as.home=target/server3 -Dwildfly.port=10190 -Dwildfly.serverConfig=standalone-ha.xml -Dwildfly.javaOpts="-Djboss.socket.binding.port-offset=200 -Djboss.tx.node.id=server3 -Djboss.node.name=server3" -Dstartup-timeout=120 ${{env.EXTRA_RUN_ARGS}} -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} echo "Testing provisioned server..." cd ../client - mvn -fae verify -Dserver.host=${{ env.SERVER_PROVISIONING_SERVER_HOST }}:8080/client -Pintegration-testing -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} + mvn -fae verify -Pintegration-testing -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} cd ../server - mvn -fae verify -Dserver.host=${{ env.SERVER_PROVISIONING_SERVER_HOST }}:8180/server -Pintegration-testing -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} - mvn -fae verify -Dserver.host=${{ env.SERVER_PROVISIONING_SERVER_HOST }}:8280/server -Pintegration-testing -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} + mvn -fae verify -Dserver.host=${{ env.SERVER_PROVISIONING_SERVER_HOST }}:8180 -Pintegration-testing -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} + mvn -fae verify -Dserver.host=${{ env.SERVER_PROVISIONING_SERVER_HOST }}:8280 -Pintegration-testing -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} echo "Shutting down provisioned server..." cd ../client mvn wildfly:shutdown -Dversion.server=${{ needs.wildfly-build.outputs.wildfly-version }} diff --git a/.github/workflows/quickstart_helloworld-mutual-ssl-secured_ci.yml b/.github/workflows/quickstart_helloworld-mutual-ssl-secured_ci.yml index c04c4f947c..bf0c1a6769 100644 --- a/.github/workflows/quickstart_helloworld-mutual-ssl-secured_ci.yml +++ b/.github/workflows/quickstart_helloworld-mutual-ssl-secured_ci.yml @@ -12,6 +12,5 @@ jobs: uses: ./.github/workflows/quickstart_ci.yml with: QUICKSTART_PATH: helloworld-mutual-ssl-secured - SERVER_PROVISIONING_SERVER_HOST: https://localhost:8443/ TEST_PROVISIONED_SERVER: true TEST_OPENSHIFT: false \ No newline at end of file diff --git a/.github/workflows/quickstart_helloworld-mutual-ssl_ci.yml b/.github/workflows/quickstart_helloworld-mutual-ssl_ci.yml index b8bbca1994..e801b228d2 100644 --- a/.github/workflows/quickstart_helloworld-mutual-ssl_ci.yml +++ b/.github/workflows/quickstart_helloworld-mutual-ssl_ci.yml @@ -12,6 +12,5 @@ jobs: uses: ./.github/workflows/quickstart_ci.yml with: QUICKSTART_PATH: helloworld-mutual-ssl - SERVER_PROVISIONING_SERVER_HOST: https://localhost:8443/ TEST_PROVISIONED_SERVER: true TEST_OPENSHIFT: false \ No newline at end of file diff --git a/batch-processing/pom.xml b/batch-processing/pom.xml index 7599a565e0..7045419b84 100644 --- a/batch-processing/pom.xml +++ b/batch-processing/pom.xml @@ -208,11 +208,6 @@ h2-database:default - - ROOT.war @@ -240,11 +235,6 @@ h2-database:default - - ROOT.war @@ -254,22 +244,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/batch-processing/src/test/java/org/wildfly/quickstarts/batch/BasicRuntimeIT.java b/batch-processing/src/test/java/org/wildfly/quickstarts/batch/BasicRuntimeIT.java index d0c5928f70..6f2bdfaea8 100644 --- a/batch-processing/src/test/java/org/wildfly/quickstarts/batch/BasicRuntimeIT.java +++ b/batch-processing/src/test/java/org/wildfly/quickstarts/batch/BasicRuntimeIT.java @@ -33,7 +33,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/batch-processing"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -45,7 +45,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/batch-processing")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/bmt/pom.xml b/bmt/pom.xml index ef04a98939..dcfc41d772 100644 --- a/bmt/pom.xml +++ b/bmt/pom.xml @@ -150,11 +150,6 @@ h2-database:default - - ROOT.war @@ -183,11 +178,6 @@ h2-database:default - - ROOT.war @@ -197,14 +187,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/bmt/src/test/java/org/wildfly/quickstarts/cmt/BasicRuntimeIT.java b/bmt/src/test/java/org/wildfly/quickstarts/cmt/BasicRuntimeIT.java index f6947bf0ea..e3c5e382bd 100644 --- a/bmt/src/test/java/org/wildfly/quickstarts/cmt/BasicRuntimeIT.java +++ b/bmt/src/test/java/org/wildfly/quickstarts/cmt/BasicRuntimeIT.java @@ -33,7 +33,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/bmt"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -45,7 +45,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/BMT")) + .uri(new URI(serverHost+"/bmt/BMT")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/cmt/pom.xml b/cmt/pom.xml index a533ad9e27..d60fd96bf6 100644 --- a/cmt/pom.xml +++ b/cmt/pom.xml @@ -154,11 +154,6 @@ h2-database:default - - ROOT.war @@ -187,11 +182,6 @@ h2-database:default - - ROOT.war @@ -201,14 +191,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/cmt/src/test/java/org/jboss/as/quickstarts/cmt/CustomerIT.java b/cmt/src/test/java/org/jboss/as/quickstarts/cmt/CustomerIT.java index 9e1e11068c..9c07287120 100644 --- a/cmt/src/test/java/org/jboss/as/quickstarts/cmt/CustomerIT.java +++ b/cmt/src/test/java/org/jboss/as/quickstarts/cmt/CustomerIT.java @@ -42,8 +42,9 @@ public class CustomerIT { protected URI getHTTPEndpoint(String path) { String host = getServerHost(); if (host == null) { - host = "http://localhost:8080/cmt"; + host = "http://localhost:8080"; } + host += "/cmt"; try { return new URI(host + path); } catch (URISyntaxException ex) { diff --git a/cmt/src/test/java/org/wildfly/quickstarts/cmt/BasicRuntimeIT.java b/cmt/src/test/java/org/wildfly/quickstarts/cmt/BasicRuntimeIT.java index 6ca356e7b8..2f7accc448 100644 --- a/cmt/src/test/java/org/wildfly/quickstarts/cmt/BasicRuntimeIT.java +++ b/cmt/src/test/java/org/wildfly/quickstarts/cmt/BasicRuntimeIT.java @@ -33,7 +33,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/cmt"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -45,7 +45,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/cmt")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/ee-security/pom.xml b/ee-security/pom.xml index 0afcf5ac58..b3efef60fa 100644 --- a/ee-security/pom.xml +++ b/ee-security/pom.xml @@ -130,11 +130,6 @@ ${version.server} - - ROOT.war @@ -168,11 +163,6 @@ ${version.server} cloud - - ROOT.war @@ -191,14 +181,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/ee-security/src/test/java/org/jboss/as/quickstarts/ee_security/BasicRuntimeIT.java b/ee-security/src/test/java/org/jboss/as/quickstarts/ee_security/BasicRuntimeIT.java index 9935a7b71c..ce0a7558bb 100644 --- a/ee-security/src/test/java/org/jboss/as/quickstarts/ee_security/BasicRuntimeIT.java +++ b/ee-security/src/test/java/org/jboss/as/quickstarts/ee_security/BasicRuntimeIT.java @@ -36,7 +36,7 @@ * @author Emmanuel Hugonnet (c) 2022 Red Hat, Inc. */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/ee-security"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; protected URI getHTTPEndpoint() { String host = getServerHost(); @@ -44,7 +44,7 @@ protected URI getHTTPEndpoint() { host = DEFAULT_SERVER_HOST; } try { - return new URI(host + "/secured"); + return new URI(host + "/ee-security/secured"); } catch (URISyntaxException ex) { throw new RuntimeException(ex); } diff --git a/ejb-multi-server/app-web/src/test/java/org/jboss/as/quickstarts/ejb/multi/server/BasicRuntimeIT.java b/ejb-multi-server/app-web/src/test/java/org/jboss/as/quickstarts/ejb/multi/server/BasicRuntimeIT.java index 486ccc7672..209de8839a 100644 --- a/ejb-multi-server/app-web/src/test/java/org/jboss/as/quickstarts/ejb/multi/server/BasicRuntimeIT.java +++ b/ejb-multi-server/app-web/src/test/java/org/jboss/as/quickstarts/ejb/multi/server/BasicRuntimeIT.java @@ -13,7 +13,7 @@ import static org.junit.Assert.assertEquals; public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/ejb-multi-server-app-main-web/"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -22,7 +22,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/ejb-multi-server-app-main-web")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/ejb-remote/pom.xml b/ejb-remote/pom.xml index 3dbcc9de70..870416839a 100644 --- a/ejb-remote/pom.xml +++ b/ejb-remote/pom.xml @@ -122,11 +122,6 @@ wildfly-cli - - ROOT.war @@ -154,11 +149,6 @@ cloud - - ROOT.war @@ -168,14 +158,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/ejb-remote/src/test/java/org/jboss/as/quickstarts/ejb/remote/BasicRuntimeIT.java b/ejb-remote/src/test/java/org/jboss/as/quickstarts/ejb/remote/BasicRuntimeIT.java index 905127a7b0..a3206e8f88 100644 --- a/ejb-remote/src/test/java/org/jboss/as/quickstarts/ejb/remote/BasicRuntimeIT.java +++ b/ejb-remote/src/test/java/org/jboss/as/quickstarts/ejb/remote/BasicRuntimeIT.java @@ -32,7 +32,7 @@ * @author emartins */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/ejb-remote"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -41,7 +41,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/ejb-remote")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/ejb-remote/src/test/java/org/jboss/as/quickstarts/ejb/remote/EJBRemoteIT.java b/ejb-remote/src/test/java/org/jboss/as/quickstarts/ejb/remote/EJBRemoteIT.java index bf122d607c..10b1a35702 100644 --- a/ejb-remote/src/test/java/org/jboss/as/quickstarts/ejb/remote/EJBRemoteIT.java +++ b/ejb-remote/src/test/java/org/jboss/as/quickstarts/ejb/remote/EJBRemoteIT.java @@ -40,8 +40,7 @@ private String getProviderURl() { } private String getEJBBaseJndiName() { - // the base jndi name of the EJBs depends on the deployment name, which differs for standard dist and server provisioning - return "ejb:/" + (System.getProperty("server.host") == null ? "ejb-remote" : "ROOT"); + return "ejb:/ejb-remote"; } @Test diff --git a/ejb-security-context-propagation/pom.xml b/ejb-security-context-propagation/pom.xml index 554f5a3060..8d5d527e16 100644 --- a/ejb-security-context-propagation/pom.xml +++ b/ejb-security-context-propagation/pom.xml @@ -157,11 +157,6 @@ false - - ROOT.war diff --git a/ejb-security-context-propagation/src/test/java/org/jboss/as/quickstarts/ejb_security_context_propagation/BasicRuntimeIT.java b/ejb-security-context-propagation/src/test/java/org/jboss/as/quickstarts/ejb_security_context_propagation/BasicRuntimeIT.java index 1f87cdac82..a3f896f551 100644 --- a/ejb-security-context-propagation/src/test/java/org/jboss/as/quickstarts/ejb_security_context_propagation/BasicRuntimeIT.java +++ b/ejb-security-context-propagation/src/test/java/org/jboss/as/quickstarts/ejb_security_context_propagation/BasicRuntimeIT.java @@ -33,7 +33,7 @@ * @author emartins */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/ejb-security-context-propagation"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -45,7 +45,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/ejb-security-context-propagation")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/ejb-security-context-propagation/src/test/java/org/jboss/as/quickstarts/ejb_security_context_propagation/SecurityContextPropagationIT.java b/ejb-security-context-propagation/src/test/java/org/jboss/as/quickstarts/ejb_security_context_propagation/SecurityContextPropagationIT.java index 8e6ca12bd2..9f746aa823 100644 --- a/ejb-security-context-propagation/src/test/java/org/jboss/as/quickstarts/ejb_security_context_propagation/SecurityContextPropagationIT.java +++ b/ejb-security-context-propagation/src/test/java/org/jboss/as/quickstarts/ejb_security_context_propagation/SecurityContextPropagationIT.java @@ -36,26 +36,23 @@ public class SecurityContextPropagationIT { @Test public void testSecurityContextPropagation() throws NamingException { - // we assume standard dist, where EJBs are at ejb:/ejb-security-context-propagation/, if no SERVER_HOST or server.host in env/system props - final boolean standardDist = System.getenv("SERVER_HOST") == null && System.getProperty("server.host") == null; - System.out.println("standardDist: "+standardDist); // invoke the intermediate bean using the identity configured in wildfly-config.xml - invokeIntermediateBean(standardDist); + invokeIntermediateBean(); // now lets programmatically setup an authentication context to switch users before invoking the intermediate bean AuthenticationConfiguration superUser = AuthenticationConfiguration.empty().setSaslMechanismSelector(SaslMechanismSelector.NONE.addMechanism("PLAIN")). useName("quickstartAdmin").usePassword("adminPwd1!"); final AuthenticationContext authCtx = AuthenticationContext.empty().with(MatchRule.ALL, superUser); AuthenticationContext.getContextManager().setThreadDefault(authCtx); - invokeIntermediateBean(standardDist); + invokeIntermediateBean(); } - private static void invokeIntermediateBean(boolean standardDist) throws NamingException { + private static void invokeIntermediateBean() throws NamingException { final Hashtable jndiProperties = new Hashtable<>(); jndiProperties.put(Context.INITIAL_CONTEXT_FACTORY, "org.wildfly.naming.client.WildFlyInitialContextFactory"); jndiProperties.put(Context.PROVIDER_URL, "remote+http://localhost:8080"); final Context context = new InitialContext(jndiProperties); - IntermediateEJBRemote intermediate = (IntermediateEJBRemote) context.lookup("ejb:/"+(standardDist?"ejb-security-context-propagation":"ROOT")+"/IntermediateEJB!" + IntermediateEJBRemote intermediate = (IntermediateEJBRemote) context.lookup("ejb:/ejb-security-context-propagation/IntermediateEJB!" + IntermediateEJBRemote.class.getName()); System.out.println("\n\n* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n"); System.out.println(intermediate.makeRemoteCalls()); diff --git a/ejb-security-programmatic-auth/pom.xml b/ejb-security-programmatic-auth/pom.xml index e3329902ea..f7a3ad9471 100644 --- a/ejb-security-programmatic-auth/pom.xml +++ b/ejb-security-programmatic-auth/pom.xml @@ -185,11 +185,6 @@ false - - ROOT.war diff --git a/ejb-security-programmatic-auth/src/test/java/org/jboss/as/quickstarts/ejb_security_programmatic_auth/BasicRuntimeIT.java b/ejb-security-programmatic-auth/src/test/java/org/jboss/as/quickstarts/ejb_security_programmatic_auth/BasicRuntimeIT.java index 7610eecbc5..436274e2d2 100644 --- a/ejb-security-programmatic-auth/src/test/java/org/jboss/as/quickstarts/ejb_security_programmatic_auth/BasicRuntimeIT.java +++ b/ejb-security-programmatic-auth/src/test/java/org/jboss/as/quickstarts/ejb_security_programmatic_auth/BasicRuntimeIT.java @@ -35,7 +35,7 @@ * @author emartins */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/ejb-security-programmatic-auth/"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -48,7 +48,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/ejb-security-programmatic-auth")) + .uri(new URI(serverHost+"/ejb-security-programmatic-auth/ejb-security-programmatic-auth")) .header("Authorization", "Basic " + auth) .GET() .build(); diff --git a/ejb-throws-exception/ear/pom.xml b/ejb-throws-exception/ear/pom.xml index ef38c148c9..03f1a90773 100644 --- a/ejb-throws-exception/ear/pom.xml +++ b/ejb-throws-exception/ear/pom.xml @@ -108,19 +108,6 @@ - - org.apache.maven.plugins - maven-ear-plugin - - - - ${project.groupId} - ejb-throws-exception-web - / - - - - diff --git a/ejb-throws-exception/web/src/test/java/org/jboss/as/quickstarts/ear/controller/BasicRuntimeIT.java b/ejb-throws-exception/web/src/test/java/org/jboss/as/quickstarts/ear/controller/BasicRuntimeIT.java index cb89a9c178..e276e149d0 100644 --- a/ejb-throws-exception/web/src/test/java/org/jboss/as/quickstarts/ear/controller/BasicRuntimeIT.java +++ b/ejb-throws-exception/web/src/test/java/org/jboss/as/quickstarts/ear/controller/BasicRuntimeIT.java @@ -33,7 +33,7 @@ * @author emartins */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/ejb-throws-exception-web"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -42,7 +42,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/ejb-throws-exception-web")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/ejb-timer/pom.xml b/ejb-timer/pom.xml index 597f7c97f9..b4a6e1a870 100644 --- a/ejb-timer/pom.xml +++ b/ejb-timer/pom.xml @@ -132,11 +132,6 @@ ${version.server} - - ROOT.war @@ -161,11 +156,6 @@ ${version.server} cloud - - ROOT.war @@ -175,14 +165,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/ejb-timer/src/test/java/org/jboss/as/quickstarts/ejb/timer/BasicRuntimeIT.java b/ejb-timer/src/test/java/org/jboss/as/quickstarts/ejb/timer/BasicRuntimeIT.java index 3eb5d41f9b..0728dbbda1 100644 --- a/ejb-timer/src/test/java/org/jboss/as/quickstarts/ejb/timer/BasicRuntimeIT.java +++ b/ejb-timer/src/test/java/org/jboss/as/quickstarts/ejb/timer/BasicRuntimeIT.java @@ -28,7 +28,7 @@ import static org.junit.Assert.assertEquals; public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/ejb-timer"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -37,7 +37,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/ejb-timer")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/ejb-txn-remote-call/client/src/test/java/org/jboss/as/quickstarts/ejb/BasicRuntimeIT.java b/ejb-txn-remote-call/client/src/test/java/org/jboss/as/quickstarts/ejb/BasicRuntimeIT.java index c812c147a6..f35c427310 100644 --- a/ejb-txn-remote-call/client/src/test/java/org/jboss/as/quickstarts/ejb/BasicRuntimeIT.java +++ b/ejb-txn-remote-call/client/src/test/java/org/jboss/as/quickstarts/ejb/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/client"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -45,6 +45,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti if (serverHost == null) { serverHost = DEFAULT_SERVER_HOST; } + serverHost += "/client"; testEndpoint(serverHost, "/remote-outbound-stateless",200); testEndpoint(serverHost, "/remote-outbound-notx-stateless",200); testEndpoint(serverHost, "/direct-stateless",200); diff --git a/ejb-txn-remote-call/server/src/test/java/org/jboss/as/quickstarts/ejb/BasicRuntimeIT.java b/ejb-txn-remote-call/server/src/test/java/org/jboss/as/quickstarts/ejb/BasicRuntimeIT.java index a89b0f713f..616087da18 100644 --- a/ejb-txn-remote-call/server/src/test/java/org/jboss/as/quickstarts/ejb/BasicRuntimeIT.java +++ b/ejb-txn-remote-call/server/src/test/java/org/jboss/as/quickstarts/ejb/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8180/server"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8180"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -45,6 +45,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti if (serverHost == null) { serverHost = DEFAULT_SERVER_HOST; } + serverHost += "/server"; testEndpoint(serverHost, "/commits",200); } diff --git a/ha-singleton-deployment/src/test/java/org/wildfly/quickstarts/ha/singleton/BasicRuntimeIT.java b/ha-singleton-deployment/src/test/java/org/wildfly/quickstarts/ha/singleton/BasicRuntimeIT.java index 6f85854dbb..18fec093b9 100644 --- a/ha-singleton-deployment/src/test/java/org/wildfly/quickstarts/ha/singleton/BasicRuntimeIT.java +++ b/ha-singleton-deployment/src/test/java/org/wildfly/quickstarts/ha/singleton/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/ha-singleton-deployment"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -46,7 +46,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost)) + .uri(new URI(serverHost+"/ha-singleton-deployment")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/ha-singleton-service/src/test/java/org/jboss/as/quickstarts/ha/singleton/service/BasicRuntimeIT.java b/ha-singleton-service/src/test/java/org/jboss/as/quickstarts/ha/singleton/service/BasicRuntimeIT.java index f3602b6702..f585deacae 100644 --- a/ha-singleton-service/src/test/java/org/jboss/as/quickstarts/ha/singleton/service/BasicRuntimeIT.java +++ b/ha-singleton-service/src/test/java/org/jboss/as/quickstarts/ha/singleton/service/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/ha-singleton-service"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -46,7 +46,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost)) + .uri(new URI(serverHost+"/ha-singleton-service")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/helloworld-mdb/pom.xml b/helloworld-mdb/pom.xml index 27d56874cf..affcabac11 100644 --- a/helloworld-mdb/pom.xml +++ b/helloworld-mdb/pom.xml @@ -138,11 +138,6 @@ embedded-activemq - - ROOT.war @@ -170,11 +165,6 @@ embedded-activemq - - ROOT.war @@ -184,14 +174,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/helloworld-mdb/src/test/java/org/wildfly/quickstarts/mdb/BasicRuntimeIT.java b/helloworld-mdb/src/test/java/org/wildfly/quickstarts/mdb/BasicRuntimeIT.java index ae0a2cc82c..7d05041075 100644 --- a/helloworld-mdb/src/test/java/org/wildfly/quickstarts/mdb/BasicRuntimeIT.java +++ b/helloworld-mdb/src/test/java/org/wildfly/quickstarts/mdb/BasicRuntimeIT.java @@ -36,7 +36,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/helloworld-mdb"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPQueueEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -48,7 +48,7 @@ public void testHTTPQueueEndpointIsAvailable() throws IOException, InterruptedEx serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost + "/HelloWorldMDBServletClient")) + .uri(new URI(serverHost + "/helloworld-mdb/HelloWorldMDBServletClient")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() @@ -72,7 +72,7 @@ public void testHTTPTopicEndpointIsAvailable() throws IOException, InterruptedEx serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost + "/HelloWorldMDBServletClient?topic=true")) + .uri(new URI(serverHost + "/helloworld-mdb/HelloWorldMDBServletClient?topic=true")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/helloworld-mutual-ssl-secured/README-source.adoc b/helloworld-mutual-ssl-secured/README-source.adoc index 9ae0189e6c..947f98de08 100644 --- a/helloworld-mutual-ssl-secured/README-source.adoc +++ b/helloworld-mutual-ssl-secured/README-source.adoc @@ -294,7 +294,6 @@ After you are done with this quickstart, remember to remove the certificate that // Build and run sections for other environments/builds ifndef::ProductRelease,EAPXPRelease[] -:server_provisioning_server_host: https://localhost:8443 include::../shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc[leveloffset=+1] endif::[] diff --git a/helloworld-mutual-ssl-secured/pom.xml b/helloworld-mutual-ssl-secured/pom.xml index 21d360646e..2aebddb13b 100644 --- a/helloworld-mutual-ssl-secured/pom.xml +++ b/helloworld-mutual-ssl-secured/pom.xml @@ -155,8 +155,6 @@ false - - ROOT.war diff --git a/helloworld-mutual-ssl-secured/src/test/java/org/jboss/as/quickstarts/helloworld_mutual_ssl/BasicRuntimeIT.java b/helloworld-mutual-ssl-secured/src/test/java/org/jboss/as/quickstarts/helloworld_mutual_ssl/BasicRuntimeIT.java index 693061a98d..00ecc65634 100644 --- a/helloworld-mutual-ssl-secured/src/test/java/org/jboss/as/quickstarts/helloworld_mutual_ssl/BasicRuntimeIT.java +++ b/helloworld-mutual-ssl-secured/src/test/java/org/jboss/as/quickstarts/helloworld_mutual_ssl/BasicRuntimeIT.java @@ -52,7 +52,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "https://localhost:8443/helloworld-mutual-ssl-secured"; + private static final String DEFAULT_SERVER_HOST = "https://localhost:8443"; private static final String DEFAULT_SERVER_DIR = System.getProperty("user.dir") + "/target/server"; @Test @@ -64,6 +64,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, URISyntaxException if (serverHost == null) { serverHost = DEFAULT_SERVER_HOST; } + serverHost += "/helloworld-mutual-ssl-secured"; String serverDir = System.getProperty("server.dir"); if (serverDir == null) { serverDir = DEFAULT_SERVER_DIR; diff --git a/helloworld-mutual-ssl/README-source.adoc b/helloworld-mutual-ssl/README-source.adoc index 4b945e0f19..0c79e73d8b 100644 --- a/helloworld-mutual-ssl/README-source.adoc +++ b/helloworld-mutual-ssl/README-source.adoc @@ -233,7 +233,6 @@ After you are done with this quickstart, remember to remove the certificate that //************************************************* // Build and run sections for other environments/builds ifndef::ProductRelease,EAPXPRelease[] -:server_provisioning_server_host: https://localhost:8443 include::../shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc[leveloffset=+1] endif::[] diff --git a/helloworld-mutual-ssl/pom.xml b/helloworld-mutual-ssl/pom.xml index 835cd595ee..d031df4eb4 100644 --- a/helloworld-mutual-ssl/pom.xml +++ b/helloworld-mutual-ssl/pom.xml @@ -157,8 +157,6 @@ false - - ROOT.war diff --git a/helloworld-mutual-ssl/src/test/java/org/jboss/as/quickstarts/helloworld_mutual_ssl/BasicRuntimeIT.java b/helloworld-mutual-ssl/src/test/java/org/jboss/as/quickstarts/helloworld_mutual_ssl/BasicRuntimeIT.java index 799e7da3e2..b61c397d70 100644 --- a/helloworld-mutual-ssl/src/test/java/org/jboss/as/quickstarts/helloworld_mutual_ssl/BasicRuntimeIT.java +++ b/helloworld-mutual-ssl/src/test/java/org/jboss/as/quickstarts/helloworld_mutual_ssl/BasicRuntimeIT.java @@ -51,7 +51,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "https://localhost:8443/helloworld-mutual-ssl"; + private static final String DEFAULT_SERVER_HOST = "https://localhost:8443"; private static final String DEFAULT_SERVER_DIR = System.getProperty("user.dir") + "/target/server"; @Test @@ -63,6 +63,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti if (serverHost == null) { serverHost = DEFAULT_SERVER_HOST; } + serverHost += "/helloworld-mutual-ssl"; String serverDir = System.getProperty("server.dir"); if (serverDir == null) { serverDir = DEFAULT_SERVER_DIR; diff --git a/helloworld-singleton/pom.xml b/helloworld-singleton/pom.xml index 62c22219db..783d950718 100644 --- a/helloworld-singleton/pom.xml +++ b/helloworld-singleton/pom.xml @@ -118,7 +118,6 @@ ${version.server} - ROOT.war @@ -143,7 +142,6 @@ ${version.server} cloud - ROOT.war @@ -153,14 +151,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/helloworld-singleton/src/test/java/org/jboss/as/quickstarts/singleton/BasicRuntimeIT.java b/helloworld-singleton/src/test/java/org/jboss/as/quickstarts/singleton/BasicRuntimeIT.java index e62d19a170..8bf0e45e43 100644 --- a/helloworld-singleton/src/test/java/org/jboss/as/quickstarts/singleton/BasicRuntimeIT.java +++ b/helloworld-singleton/src/test/java/org/jboss/as/quickstarts/singleton/BasicRuntimeIT.java @@ -32,7 +32,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/helloworld-singleton"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -44,7 +44,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/helloworld-singleton")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/helloworld-ws/pom.xml b/helloworld-ws/pom.xml index 2974d0831c..c2e0919a72 100644 --- a/helloworld-ws/pom.xml +++ b/helloworld-ws/pom.xml @@ -137,11 +137,6 @@ ${version.server} - - ROOT.war @@ -161,17 +156,11 @@ org.wildfly.plugins wildfly-maven-plugin - ${version.plugin.wildfly} ${version.server} cloud - - ROOT.war @@ -181,14 +170,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/helloworld/pom.xml b/helloworld/pom.xml index bb5493af1a..73c003bf44 100644 --- a/helloworld/pom.xml +++ b/helloworld/pom.xml @@ -107,11 +107,6 @@ ${version.server} - - ROOT.war @@ -136,11 +131,6 @@ ${version.server} cloud - - ROOT.war @@ -150,14 +140,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/helloworld/src/test/java/org/wildfly/quickstarts/helloworld/BasicRuntimeIT.java b/helloworld/src/test/java/org/wildfly/quickstarts/helloworld/BasicRuntimeIT.java index ba36bb0b0b..57870b6228 100644 --- a/helloworld/src/test/java/org/wildfly/quickstarts/helloworld/BasicRuntimeIT.java +++ b/helloworld/src/test/java/org/wildfly/quickstarts/helloworld/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/helloworld"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -46,7 +46,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/HelloWorld")) + .uri(new URI(serverHost+"/helloworld/HelloWorld")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/hibernate/pom.xml b/hibernate/pom.xml index 3e2c6345a5..2d413d9662 100644 --- a/hibernate/pom.xml +++ b/hibernate/pom.xml @@ -176,11 +176,6 @@ h2-database - - ROOT.war @@ -219,11 +214,6 @@ h2-database - - ROOT.war @@ -242,14 +232,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/hibernate/src/test/java/org/jboss/as/quickstart/hibernate/BasicRuntimeIT.java b/hibernate/src/test/java/org/jboss/as/quickstart/hibernate/BasicRuntimeIT.java index ead8874d7a..e28a932517 100644 --- a/hibernate/src/test/java/org/jboss/as/quickstart/hibernate/BasicRuntimeIT.java +++ b/hibernate/src/test/java/org/jboss/as/quickstart/hibernate/BasicRuntimeIT.java @@ -32,7 +32,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/hibernate"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -44,7 +44,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/hibernate")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/http-custom-mechanism/webapp/pom.xml b/http-custom-mechanism/webapp/pom.xml index 743da5b61f..09830c7a4a 100644 --- a/http-custom-mechanism/webapp/pom.xml +++ b/http-custom-mechanism/webapp/pom.xml @@ -82,11 +82,6 @@ wildfly-cli - - ROOT.war diff --git a/http-custom-mechanism/webapp/src/test/java/org/jboss/as/quickstart/http_custom_mechanism/BasicRuntimeIT.java b/http-custom-mechanism/webapp/src/test/java/org/jboss/as/quickstart/http_custom_mechanism/BasicRuntimeIT.java index 4ccc6d5882..c4837f4c02 100644 --- a/http-custom-mechanism/webapp/src/test/java/org/jboss/as/quickstart/http_custom_mechanism/BasicRuntimeIT.java +++ b/http-custom-mechanism/webapp/src/test/java/org/jboss/as/quickstart/http_custom_mechanism/BasicRuntimeIT.java @@ -35,7 +35,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/http-custom-mechanism-webapp"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -47,7 +47,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/secured")) + .uri(new URI(serverHost+"/http-custom-mechanism-webapp/secured")) .header("X-USERNAME", "quickstartUser") .header("X-PASSWORD", "quickstartPwd1") .GET() diff --git a/jaxrs-client/pom.xml b/jaxrs-client/pom.xml index 49d7f4a406..1a2b96de72 100644 --- a/jaxrs-client/pom.xml +++ b/jaxrs-client/pom.xml @@ -168,11 +168,6 @@ org.wildfly.plugins wildfly-maven-plugin - - ROOT.war ${version.server} @@ -196,11 +191,6 @@ org.wildfly.plugins wildfly-maven-plugin - - ROOT.war ${version.server} cloud @@ -214,14 +204,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/jaxrs-client/src/test/java/org/jboss/as/quickstarts/jaxrsclient/test/AbstractContactsRestClientIT.java b/jaxrs-client/src/test/java/org/jboss/as/quickstarts/jaxrsclient/test/AbstractContactsRestClientIT.java index e537bb0c31..1cf638c149 100644 --- a/jaxrs-client/src/test/java/org/jboss/as/quickstarts/jaxrsclient/test/AbstractContactsRestClientIT.java +++ b/jaxrs-client/src/test/java/org/jboss/as/quickstarts/jaxrsclient/test/AbstractContactsRestClientIT.java @@ -37,7 +37,7 @@ @TestMethodOrder(MethodOrderer.OrderAnnotation.class) public abstract class AbstractContactsRestClientIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/jaxrs-client"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; private static final String CONTACT_NAME = "New Contact"; private static final String CONTACT_PHONE = "+55-61-5555-1234"; @@ -147,7 +147,7 @@ final Contact createContact() { static UriBuilder resolveBaseUrl() { final String baseUrl = resolveServerHost(); - return UriBuilder.fromUri(baseUrl).path("rest/contacts"); + return UriBuilder.fromUri(baseUrl).path("/jaxrs-client/rest/contacts"); } static String resolveServerHost() { diff --git a/jaxrs-jwt/pom.xml b/jaxrs-jwt/pom.xml index 114c0adfad..c67c4a273b 100644 --- a/jaxrs-jwt/pom.xml +++ b/jaxrs-jwt/pom.xml @@ -167,11 +167,6 @@ org.wildfly.plugins wildfly-maven-plugin - - ROOT.war ${version.server} @@ -205,11 +200,6 @@ org.wildfly.plugins wildfly-maven-plugin - - ROOT.war ${version.server} cloud @@ -233,14 +223,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/jaxrs-jwt/src/test/java/org/jboss/quickstart/jaxrsjwt/JwtAuthIT.java b/jaxrs-jwt/src/test/java/org/jboss/quickstart/jaxrsjwt/JwtAuthIT.java index 7a712103d0..9f5f5ad328 100644 --- a/jaxrs-jwt/src/test/java/org/jboss/quickstart/jaxrsjwt/JwtAuthIT.java +++ b/jaxrs-jwt/src/test/java/org/jboss/quickstart/jaxrsjwt/JwtAuthIT.java @@ -43,7 +43,7 @@ */ public class JwtAuthIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/jaxrs-jwt"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; private static Client adminClient; private static Client customerClient; @@ -163,7 +163,7 @@ private static JsonObject get(final Client client, final Response.Status expecte private static UriBuilder resolveBaseUrl() { final String baseUrl = resolveServerHost(); - return UriBuilder.fromUri(baseUrl).path("rest"); + return UriBuilder.fromUri(baseUrl).path("/jaxrs-jwt/rest"); } private static String resolveServerHost() { diff --git a/jaxws-ejb/pom.xml b/jaxws-ejb/pom.xml index 8446e45012..1d478d8372 100644 --- a/jaxws-ejb/pom.xml +++ b/jaxws-ejb/pom.xml @@ -146,11 +146,6 @@ ${version.server} - - ROOT.war @@ -170,17 +165,11 @@ org.wildfly.plugins wildfly-maven-plugin - ${version.plugin.wildfly} ${version.server} cloud - - ROOT.war @@ -190,14 +179,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/jaxws-retail/pom.xml b/jaxws-retail/pom.xml index 25ff4392f3..1d6302447a 100644 --- a/jaxws-retail/pom.xml +++ b/jaxws-retail/pom.xml @@ -174,11 +174,6 @@ ${version.server} - - ROOT.war @@ -198,17 +193,11 @@ org.wildfly.plugins wildfly-maven-plugin - ${version.plugin.wildfly} ${version.server} cloud - - ROOT.war @@ -218,14 +207,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/jsonp/pom.xml b/jsonp/pom.xml index 48700b2a69..78a1b0ef0b 100644 --- a/jsonp/pom.xml +++ b/jsonp/pom.xml @@ -159,11 +159,6 @@ ${version.server} - - ROOT.war @@ -188,11 +183,6 @@ ${version.server} cloud - - ROOT.war @@ -202,14 +192,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/jsonp/src/test/java/org/wildfly/quickstarts/jsonp/BasicRuntimeIT.java b/jsonp/src/test/java/org/wildfly/quickstarts/jsonp/BasicRuntimeIT.java index dc146c0294..a5f02e413f 100644 --- a/jsonp/src/test/java/org/wildfly/quickstarts/jsonp/BasicRuntimeIT.java +++ b/jsonp/src/test/java/org/wildfly/quickstarts/jsonp/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/jsonp"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -46,7 +46,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/jsonp")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/jta-crash-rec/src/test/java/org/jboss/as/quickstarts/xa/BasicRuntimeIT.java b/jta-crash-rec/src/test/java/org/jboss/as/quickstarts/xa/BasicRuntimeIT.java index 99aea79c0c..54d32b9303 100644 --- a/jta-crash-rec/src/test/java/org/jboss/as/quickstarts/xa/BasicRuntimeIT.java +++ b/jta-crash-rec/src/test/java/org/jboss/as/quickstarts/xa/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/jta-crash-rec"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -46,7 +46,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/jta-crash-rec")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/kitchensink/pom.xml b/kitchensink/pom.xml index 3f1fe7fe35..486256cc5b 100644 --- a/kitchensink/pom.xml +++ b/kitchensink/pom.xml @@ -225,11 +225,6 @@ ${version.server} - - ROOT.war @@ -254,11 +249,6 @@ ${version.server} cloud - - ROOT.war @@ -268,14 +258,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/kitchensink/src/test/java/org/jboss/as/quickstarts/kitchensink/test/BasicRuntimeIT.java b/kitchensink/src/test/java/org/jboss/as/quickstarts/kitchensink/test/BasicRuntimeIT.java index ce6731ffab..bc264ccfbd 100644 --- a/kitchensink/src/test/java/org/jboss/as/quickstarts/kitchensink/test/BasicRuntimeIT.java +++ b/kitchensink/src/test/java/org/jboss/as/quickstarts/kitchensink/test/BasicRuntimeIT.java @@ -33,7 +33,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/kitchensink"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -45,7 +45,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/kitchensink")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/kitchensink/src/test/java/org/jboss/as/quickstarts/kitchensink/test/MemberRegistrationIT.java b/kitchensink/src/test/java/org/jboss/as/quickstarts/kitchensink/test/MemberRegistrationIT.java index e9583d69c2..f6cec844c0 100644 --- a/kitchensink/src/test/java/org/jboss/as/quickstarts/kitchensink/test/MemberRegistrationIT.java +++ b/kitchensink/src/test/java/org/jboss/as/quickstarts/kitchensink/test/MemberRegistrationIT.java @@ -29,7 +29,7 @@ public class MemberRegistrationIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/kitchensink"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testRegister() throws Exception { @@ -48,7 +48,7 @@ public void testRegister() throws Exception { .add("name", "Jane Doe") .add("email", "jane@mailinator.com") .add("phoneNumber", "2125551234").build(); - HttpRequest request = HttpRequest.newBuilder(new URI(serverHost + "/rest/members")) + HttpRequest request = HttpRequest.newBuilder(new URI(serverHost + "/kitchensink/rest/members")) .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(json.toString())) .build(); diff --git a/logging/pom.xml b/logging/pom.xml index 70510a9040..cbb8792d66 100644 --- a/logging/pom.xml +++ b/logging/pom.xml @@ -144,20 +144,22 @@ ${project.artifactId} - - - org.wildfly.plugins - wildfly-maven-plugin - ${version.plugin.wildfly} - - ${jboss.home} - false - - - - - - + + + + org.wildfly.plugins + wildfly-maven-plugin + ${version.plugin.wildfly} + + ${jboss.home} + false + + + + + + + @@ -168,13 +170,7 @@ org.wildfly.plugins wildfly-maven-plugin - ${version.plugin.wildfly} - - ROOT.war ${version.server} @@ -191,8 +187,6 @@ true - - ROOT.war @@ -212,13 +206,7 @@ org.wildfly.plugins wildfly-maven-plugin - ${version.plugin.wildfly} - - ROOT.war ${version.server} cloud @@ -235,7 +223,6 @@ true - ROOT.war @@ -245,14 +232,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/logging/src/test/java/org/jboss/as/quickstarts/logging/LogIT.java b/logging/src/test/java/org/jboss/as/quickstarts/logging/LogIT.java index fbc03d1b86..178e638084 100644 --- a/logging/src/test/java/org/jboss/as/quickstarts/logging/LogIT.java +++ b/logging/src/test/java/org/jboss/as/quickstarts/logging/LogIT.java @@ -39,7 +39,7 @@ @TestMethodOrder(MethodOrderer.OrderAnnotation.class) public class LogIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/jboss-logging"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; private static Client client; @@ -160,7 +160,7 @@ private static void doLog(final String level) { private static UriBuilder resolveBaseUrl() { final String baseUrl = resolveServerHost(); - return UriBuilder.fromUri(baseUrl).path("api/logs"); + return UriBuilder.fromUri(baseUrl).path("/jboss-logging/api/logs"); } private static String resolveServerHost() { diff --git a/mail/pom.xml b/mail/pom.xml index edb6acf6ec..3d1f9884d3 100644 --- a/mail/pom.xml +++ b/mail/pom.xml @@ -153,11 +153,6 @@ ${version.server} - - ROOT.war diff --git a/mail/src/test/java/org/jboss/as/quickstarts/mail/BasicRuntimeIT.java b/mail/src/test/java/org/jboss/as/quickstarts/mail/BasicRuntimeIT.java index 7a0f2ce380..fc6fdde77c 100644 --- a/mail/src/test/java/org/jboss/as/quickstarts/mail/BasicRuntimeIT.java +++ b/mail/src/test/java/org/jboss/as/quickstarts/mail/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/mail"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -46,7 +46,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost)) + .uri(new URI(serverHost+"/mail")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/mail/src/test/java/org/jboss/as/quickstarts/mail/MailTestCaseIT.java b/mail/src/test/java/org/jboss/as/quickstarts/mail/MailTestCaseIT.java index fde3fd784e..158439242f 100644 --- a/mail/src/test/java/org/jboss/as/quickstarts/mail/MailTestCaseIT.java +++ b/mail/src/test/java/org/jboss/as/quickstarts/mail/MailTestCaseIT.java @@ -21,7 +21,7 @@ @FixMethodOrder(MethodSorters.NAME_ASCENDING) public class MailTestCaseIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/mail"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; private WebDriver driver; @@ -45,7 +45,7 @@ public void testSetup() { serverHost = DEFAULT_SERVER_HOST; } - driver.get(serverHost); + driver.get(serverHost+"/mail"); driver.manage().timeouts().implicitlyWait(Duration.ofMillis(500)); } diff --git a/messaging-clustering-singleton/pom.xml b/messaging-clustering-singleton/pom.xml index 35655896fd..f218a0f779 100644 --- a/messaging-clustering-singleton/pom.xml +++ b/messaging-clustering-singleton/pom.xml @@ -152,7 +152,6 @@ false - ROOT.war diff --git a/messaging-clustering-singleton/src/test/java/org/jboss/as/quickstarts/mdb/BasicRuntimeIT.java b/messaging-clustering-singleton/src/test/java/org/jboss/as/quickstarts/mdb/BasicRuntimeIT.java index 857636105a..fb3fa26c4d 100644 --- a/messaging-clustering-singleton/src/test/java/org/jboss/as/quickstarts/mdb/BasicRuntimeIT.java +++ b/messaging-clustering-singleton/src/test/java/org/jboss/as/quickstarts/mdb/BasicRuntimeIT.java @@ -36,7 +36,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/messaging-clustering-singleton"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPQueueEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -48,7 +48,7 @@ public void testHTTPQueueEndpointIsAvailable() throws IOException, InterruptedEx serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost + "/HelloWorldMDBServletClient")) + .uri(new URI(serverHost + "/messaging-clustering-singleton/HelloWorldMDBServletClient")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() @@ -72,7 +72,7 @@ public void testHTTPTopicEndpointIsAvailable() throws IOException, InterruptedEx serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost + "/HelloWorldMDBServletClient?topic=true")) + .uri(new URI(serverHost + "/messaging-clustering-singleton/HelloWorldMDBServletClient?topic=true")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/micrometer/pom.xml b/micrometer/pom.xml index 18c140ac5d..f0f925b2de 100644 --- a/micrometer/pom.xml +++ b/micrometer/pom.xml @@ -144,9 +144,6 @@ false - - - ROOT.war @@ -176,8 +173,6 @@ true - - ROOT.war @@ -214,11 +209,6 @@ micrometer - - ROOT.war @@ -236,14 +226,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/micrometer/src/test/java/org/wildfly/quickstarts/micrometer/BasicRuntimeIT.java b/micrometer/src/test/java/org/wildfly/quickstarts/micrometer/BasicRuntimeIT.java index 7a08a62fb5..27a18f9c79 100644 --- a/micrometer/src/test/java/org/wildfly/quickstarts/micrometer/BasicRuntimeIT.java +++ b/micrometer/src/test/java/org/wildfly/quickstarts/micrometer/BasicRuntimeIT.java @@ -28,7 +28,7 @@ import org.junit.Test; public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/micrometer"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -51,7 +51,7 @@ static String getApplicationUrl() { if (serverHost == null) { serverHost = DEFAULT_SERVER_HOST; } - return serverHost; + return serverHost+"/micrometer"; } static HttpClient getHttpClient() { diff --git a/microprofile-config/pom.xml b/microprofile-config/pom.xml index b2ff9c7056..8115877045 100644 --- a/microprofile-config/pom.xml +++ b/microprofile-config/pom.xml @@ -128,11 +128,6 @@ ${version.server} true - - ROOT.war @@ -157,11 +152,6 @@ ${version.server} cloud - - ROOT.war @@ -171,14 +161,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/microprofile-config/src/test/java/org/wildfly/quickstarts/microprofile/config/BasicRuntimeIT.java b/microprofile-config/src/test/java/org/wildfly/quickstarts/microprofile/config/BasicRuntimeIT.java index c2ba671b4a..052109d568 100644 --- a/microprofile-config/src/test/java/org/wildfly/quickstarts/microprofile/config/BasicRuntimeIT.java +++ b/microprofile-config/src/test/java/org/wildfly/quickstarts/microprofile/config/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/microprofile-config"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -46,7 +46,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost)) + .uri(new URI(serverHost+"/microprofile-config")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/microprofile-fault-tolerance/pom.xml b/microprofile-fault-tolerance/pom.xml index 4371ab02fe..f9f13f553f 100644 --- a/microprofile-fault-tolerance/pom.xml +++ b/microprofile-fault-tolerance/pom.xml @@ -172,11 +172,6 @@ ${version.server} true - - ROOT.war @@ -201,11 +196,6 @@ ${version.server} cloud - - ROOT.war @@ -215,14 +205,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/microprofile-fault-tolerance/src/test/java/org/wildfly/quickstarts/microprofile/faulttolerance/TestUtils.java b/microprofile-fault-tolerance/src/test/java/org/wildfly/quickstarts/microprofile/faulttolerance/TestUtils.java index a6c65f0515..2475cac50c 100644 --- a/microprofile-fault-tolerance/src/test/java/org/wildfly/quickstarts/microprofile/faulttolerance/TestUtils.java +++ b/microprofile-fault-tolerance/src/test/java/org/wildfly/quickstarts/microprofile/faulttolerance/TestUtils.java @@ -18,7 +18,7 @@ public class TestUtils { - static final String DEFAULT_SERVER_HOST = "http://localhost:8080/microprofile-fault-tolerance"; + static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; static String getServerHost() { String serverHost = System.getenv("SERVER_HOST"); @@ -28,6 +28,6 @@ static String getServerHost() { if (serverHost == null) { serverHost = DEFAULT_SERVER_HOST; } - return serverHost; + return serverHost+"/microprofile-fault-tolerance"; } } diff --git a/microprofile-health/pom.xml b/microprofile-health/pom.xml index ff91c0dc49..cb9d4d6b76 100644 --- a/microprofile-health/pom.xml +++ b/microprofile-health/pom.xml @@ -132,11 +132,6 @@ ${version.server} true - - ROOT.war @@ -161,11 +156,6 @@ ${version.server} cloud - - ROOT.war @@ -175,14 +165,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/microprofile-health/src/test/java/org/wildfly/quickstarts/microprofile/health/BasicRuntimeIT.java b/microprofile-health/src/test/java/org/wildfly/quickstarts/microprofile/health/BasicRuntimeIT.java index 0d27f99036..1a4ce6074c 100644 --- a/microprofile-health/src/test/java/org/wildfly/quickstarts/microprofile/health/BasicRuntimeIT.java +++ b/microprofile-health/src/test/java/org/wildfly/quickstarts/microprofile/health/BasicRuntimeIT.java @@ -13,7 +13,7 @@ import static org.junit.Assert.assertEquals; public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/microprofile-health/"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -25,7 +25,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost)) + .uri(new URI(serverHost+"/microprofile-health")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/microprofile-jwt/pom.xml b/microprofile-jwt/pom.xml index f46e351464..5452f12c50 100644 --- a/microprofile-jwt/pom.xml +++ b/microprofile-jwt/pom.xml @@ -189,11 +189,6 @@ ${version.server} true - - ROOT.war @@ -219,11 +214,6 @@ ${version.server} cloud - - ROOT.war @@ -233,14 +223,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/microprofile-jwt/src/test/java/org/wildfly/quickstarts/mpjwt/TestUtils.java b/microprofile-jwt/src/test/java/org/wildfly/quickstarts/mpjwt/TestUtils.java index 0ed8873053..5836e4673e 100644 --- a/microprofile-jwt/src/test/java/org/wildfly/quickstarts/mpjwt/TestUtils.java +++ b/microprofile-jwt/src/test/java/org/wildfly/quickstarts/mpjwt/TestUtils.java @@ -1,9 +1,9 @@ package org.wildfly.quickstarts.mpjwt; public class TestUtils { - static final String DEFAULT_SERVER_HOST = "http://localhost:8080/microprofile-jwt"; + static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; - static final String ROOT_PATH = "/Sample/"; + static final String ROOT_PATH = "/microprofile-jwt/Sample/"; static final String HELLO_WORLD = "helloworld"; diff --git a/microprofile-lra/pom.xml b/microprofile-lra/pom.xml index cdb20d77df..4a6f4dc39b 100644 --- a/microprofile-lra/pom.xml +++ b/microprofile-lra/pom.xml @@ -141,11 +141,6 @@ true - - ROOT.war @@ -173,11 +168,6 @@ lra-coordinator - - ROOT.war @@ -187,14 +177,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/microprofile-lra/src/test/java/org/wildfly/quickstarts/microprofile/lra/TestUtils.java b/microprofile-lra/src/test/java/org/wildfly/quickstarts/microprofile/lra/TestUtils.java index a20614b286..c7b6469f1b 100644 --- a/microprofile-lra/src/test/java/org/wildfly/quickstarts/microprofile/lra/TestUtils.java +++ b/microprofile-lra/src/test/java/org/wildfly/quickstarts/microprofile/lra/TestUtils.java @@ -1,7 +1,7 @@ package org.wildfly.quickstarts.microprofile.lra; public class TestUtils { - static final String DEFAULT_SERVER_HOST = "http://localhost:8080/microprofile-lra"; + static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; static String getServerHost() { String serverHost = System.getenv("SERVER_HOST"); @@ -11,6 +11,6 @@ static String getServerHost() { if (serverHost == null) { serverHost = DEFAULT_SERVER_HOST; } - return serverHost; + return serverHost+"/microprofile-lra"; } } diff --git a/microprofile-openapi/pom.xml b/microprofile-openapi/pom.xml index 293fa61b9b..cada69ab33 100644 --- a/microprofile-openapi/pom.xml +++ b/microprofile-openapi/pom.xml @@ -99,11 +99,6 @@ true - - ROOT.war @@ -131,11 +126,6 @@ openapi - - ROOT.war @@ -145,14 +135,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/microprofile-openapi/src/test/java/org/wildfly/quickstarts/microprofile/openapi/BasicRuntimeIT.java b/microprofile-openapi/src/test/java/org/wildfly/quickstarts/microprofile/openapi/BasicRuntimeIT.java index 81609cf2a2..b84b7ef148 100644 --- a/microprofile-openapi/src/test/java/org/wildfly/quickstarts/microprofile/openapi/BasicRuntimeIT.java +++ b/microprofile-openapi/src/test/java/org/wildfly/quickstarts/microprofile/openapi/BasicRuntimeIT.java @@ -33,7 +33,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/microprofile-openapi"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -45,7 +45,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost)) + .uri(new URI(serverHost+"/microprofile-openapi")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/microprofile-reactive-messaging-kafka/pom.xml b/microprofile-reactive-messaging-kafka/pom.xml index 5f2dc363f9..e6f7afe254 100644 --- a/microprofile-reactive-messaging-kafka/pom.xml +++ b/microprofile-reactive-messaging-kafka/pom.xml @@ -226,11 +226,6 @@ ${version.server} true - - ROOT.war @@ -256,11 +251,6 @@ ${version.server} cloud - - ROOT.war @@ -270,14 +260,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/microprofile-reactive-messaging-kafka/src/test/java/org/wildfly/quickstarts/microprofile/reactive/messaging/test/TestUtils.java b/microprofile-reactive-messaging-kafka/src/test/java/org/wildfly/quickstarts/microprofile/reactive/messaging/test/TestUtils.java index 483a7cda51..f37fc35245 100644 --- a/microprofile-reactive-messaging-kafka/src/test/java/org/wildfly/quickstarts/microprofile/reactive/messaging/test/TestUtils.java +++ b/microprofile-reactive-messaging-kafka/src/test/java/org/wildfly/quickstarts/microprofile/reactive/messaging/test/TestUtils.java @@ -1,7 +1,7 @@ package org.wildfly.quickstarts.microprofile.reactive.messaging.test; public class TestUtils { - static final String DEFAULT_SERVER_HOST = "http://localhost:8080/microprofile-reactive-messaging-kafka"; + static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; static String getServerHost() { String serverHost = System.getenv("SERVER_HOST"); @@ -11,6 +11,6 @@ static String getServerHost() { if (serverHost == null) { serverHost = DEFAULT_SERVER_HOST; } - return serverHost; + return serverHost+"/microprofile-reactive-messaging-kafka"; } } diff --git a/microprofile-rest-client/pom.xml b/microprofile-rest-client/pom.xml index 33c21b7bee..7ec632425e 100644 --- a/microprofile-rest-client/pom.xml +++ b/microprofile-rest-client/pom.xml @@ -54,7 +54,7 @@ 5.10.1 ${project.build.directory}/server - http://localhost:8080/microprofile-rest-client + http://localhost:8080 @@ -204,11 +204,6 @@ ${version.server} true - - ROOT.war @@ -234,11 +229,6 @@ ${version.server} cloud - - ROOT.war @@ -248,14 +238,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/microprofile-rest-client/src/test/java/org/wildfly/quickstarts/microprofile/rest/client/CountriesServiceClient.java b/microprofile-rest-client/src/test/java/org/wildfly/quickstarts/microprofile/rest/client/CountriesServiceClient.java index fc26928f9b..7ebf00c127 100644 --- a/microprofile-rest-client/src/test/java/org/wildfly/quickstarts/microprofile/rest/client/CountriesServiceClient.java +++ b/microprofile-rest-client/src/test/java/org/wildfly/quickstarts/microprofile/rest/client/CountriesServiceClient.java @@ -30,7 +30,7 @@ import java.util.concurrent.CompletionStage; -@Path("/") +@Path("/microprofile-rest-client") @RegisterRestClient @RegisterProvider(NotFoundResponseExceptionMapper.class) public interface CountriesServiceClient { diff --git a/numberguess/pom.xml b/numberguess/pom.xml index 78946a47e8..7a0c271e29 100644 --- a/numberguess/pom.xml +++ b/numberguess/pom.xml @@ -123,11 +123,6 @@ ${version.server} - - ROOT.war @@ -152,11 +147,6 @@ ${version.server} cloud - - ROOT.war @@ -166,14 +156,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/numberguess/src/test/java/org/jboss/as/quickstarts/numberguess/BasicRuntimeIT.java b/numberguess/src/test/java/org/jboss/as/quickstarts/numberguess/BasicRuntimeIT.java index 05c1e8429d..86933051ee 100644 --- a/numberguess/src/test/java/org/jboss/as/quickstarts/numberguess/BasicRuntimeIT.java +++ b/numberguess/src/test/java/org/jboss/as/quickstarts/numberguess/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/numberguess"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; public static String getServerHost() { String serverHost = System.getenv("SERVER_HOST"); @@ -49,7 +49,7 @@ public static String getServerHost() { @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(getServerHost()+"/")) + .uri(new URI(getServerHost()+"/numberguess")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/numberguess/src/test/java/org/jboss/as/quickstarts/numberguess/NumberguessIT.java b/numberguess/src/test/java/org/jboss/as/quickstarts/numberguess/NumberguessIT.java index 739179a06d..78fd078fc1 100644 --- a/numberguess/src/test/java/org/jboss/as/quickstarts/numberguess/NumberguessIT.java +++ b/numberguess/src/test/java/org/jboss/as/quickstarts/numberguess/NumberguessIT.java @@ -50,7 +50,7 @@ public void guessNumber() throws IOException, InterruptedException, URISyntaxExc .followRedirects(HttpClient.Redirect.ALWAYS) .cookieHandler(new CookieManager(null, CookiePolicy.ACCEPT_ALL)) .build(); - HttpRequest request = HttpRequest.newBuilder().uri(new URI(BasicRuntimeIT.getServerHost()+"/home.jsf")) + HttpRequest request = HttpRequest.newBuilder().uri(new URI(BasicRuntimeIT.getServerHost()+"/numberguess/home.jsf")) .POST(ofFormData(Map.of("numberGuess:inputGuess", (Object) getNumber()))) .build(); HttpResponse response = client.send(request, HttpResponse.BodyHandlers.ofString()); diff --git a/opentelemetry-tracing/pom.xml b/opentelemetry-tracing/pom.xml index dbf9e3ab69..8e396935b7 100644 --- a/opentelemetry-tracing/pom.xml +++ b/opentelemetry-tracing/pom.xml @@ -138,8 +138,6 @@ - - ROOT.war @@ -165,8 +163,6 @@ ${version.server} true - - ROOT.war @@ -207,11 +203,6 @@ false - - ROOT.war @@ -221,14 +212,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/opentelemetry-tracing/src/test/java/org/wildfly/quickstarts/opentelemetry/BasicRuntimeIT.java b/opentelemetry-tracing/src/test/java/org/wildfly/quickstarts/opentelemetry/BasicRuntimeIT.java index d7e78f4901..241de33aef 100644 --- a/opentelemetry-tracing/src/test/java/org/wildfly/quickstarts/opentelemetry/BasicRuntimeIT.java +++ b/opentelemetry-tracing/src/test/java/org/wildfly/quickstarts/opentelemetry/BasicRuntimeIT.java @@ -28,12 +28,11 @@ import org.junit.Test; public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/opentelemetry-tracing"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { String applicationUrl = getApplicationUrl(); - final HttpRequest request = HttpRequest.newBuilder() .uri(new URI(applicationUrl)) .GET() @@ -51,7 +50,7 @@ static String getApplicationUrl() { if (serverHost == null) { serverHost = DEFAULT_SERVER_HOST; } - return serverHost; + return serverHost+"/opentelemetry-tracing"; } static HttpClient getHttpClient() { diff --git a/pom.xml b/pom.xml index bbea90bdc8..c26cdb81e8 100644 --- a/pom.xml +++ b/pom.xml @@ -67,8 +67,6 @@ - - ${project.artifactId} com.mycila diff --git a/remote-helloworld-mdb/pom.xml b/remote-helloworld-mdb/pom.xml index 3ecf0e7f7c..9874d24e86 100644 --- a/remote-helloworld-mdb/pom.xml +++ b/remote-helloworld-mdb/pom.xml @@ -139,11 +139,6 @@ remote-activemq - - ROOT.war @@ -171,11 +166,6 @@ remote-activemq - - ROOT.war @@ -185,14 +175,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins @@ -214,7 +196,6 @@ org.apache.maven.plugins maven-failsafe-plugin - ${version.failsafe.plugin} diff --git a/remote-helloworld-mdb/src/test/java/org/jboss/as/quickstarts/mdb/BasicRuntimeIT.java b/remote-helloworld-mdb/src/test/java/org/jboss/as/quickstarts/mdb/BasicRuntimeIT.java index 501196f2c6..006a5bef40 100644 --- a/remote-helloworld-mdb/src/test/java/org/jboss/as/quickstarts/mdb/BasicRuntimeIT.java +++ b/remote-helloworld-mdb/src/test/java/org/jboss/as/quickstarts/mdb/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/remote-helloworld-mdb"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testSendToQueue() throws IOException, InterruptedException { @@ -106,7 +106,7 @@ private String getServerHost() { protected URI getHTTPEndpoint() { try { - return new URI(getServerHost() + "/HelloWorldMDBServletClient"); + return new URI(getServerHost() + "/remote-helloworld-mdb/HelloWorldMDBServletClient"); } catch (URISyntaxException ex) { throw new RuntimeException(ex); } diff --git a/security-domain-to-domain/ear/pom.xml b/security-domain-to-domain/ear/pom.xml index 381fe3a891..0c2df86243 100644 --- a/security-domain-to-domain/ear/pom.xml +++ b/security-domain-to-domain/ear/pom.xml @@ -123,8 +123,6 @@ false - - ROOT.ear @@ -134,19 +132,6 @@ - - org.apache.maven.plugins - maven-ear-plugin - - - - ${project.groupId} - security-domain-to-domain-web - / - - - - diff --git a/security-domain-to-domain/test/src/test/java/org/wildfly/quickstarts/security_domain_to_domain_web/BasicRuntimeIT.java b/security-domain-to-domain/test/src/test/java/org/wildfly/quickstarts/security_domain_to_domain_web/BasicRuntimeIT.java index a991d8b539..002d809ce0 100644 --- a/security-domain-to-domain/test/src/test/java/org/wildfly/quickstarts/security_domain_to_domain_web/BasicRuntimeIT.java +++ b/security-domain-to-domain/test/src/test/java/org/wildfly/quickstarts/security_domain_to_domain_web/BasicRuntimeIT.java @@ -36,7 +36,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/security-domain-to-domain"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; protected URI getHTTPEndpoint() { String host = getServerHost(); @@ -44,7 +44,7 @@ protected URI getHTTPEndpoint() { host = DEFAULT_SERVER_HOST; } try { - return new URI(host + "/SecuredServlet"); + return new URI(host + "/security-domain-to-domain/SecuredServlet"); } catch (URISyntaxException ex) { throw new RuntimeException(ex); } diff --git a/servlet-async/pom.xml b/servlet-async/pom.xml index c5afcb50eb..c58cd32006 100644 --- a/servlet-async/pom.xml +++ b/servlet-async/pom.xml @@ -134,11 +134,6 @@ ${version.server} - - ROOT.war @@ -163,11 +158,6 @@ ${version.server} cloud - - ROOT.war @@ -177,14 +167,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/servlet-async/src/test/java/org/jboss/as/quickstarts/servlet/async/BasicRuntimeIT.java b/servlet-async/src/test/java/org/jboss/as/quickstarts/servlet/async/BasicRuntimeIT.java index 48c9bbc0e2..634f7f305d 100644 --- a/servlet-async/src/test/java/org/jboss/as/quickstarts/servlet/async/BasicRuntimeIT.java +++ b/servlet-async/src/test/java/org/jboss/as/quickstarts/servlet/async/BasicRuntimeIT.java @@ -32,7 +32,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/servlet-async"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -44,7 +44,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/servlet-async")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/servlet-filterlistener/pom.xml b/servlet-filterlistener/pom.xml index 5edc70ae3e..a78b18d28b 100644 --- a/servlet-filterlistener/pom.xml +++ b/servlet-filterlistener/pom.xml @@ -134,11 +134,6 @@ ${version.server} - - ROOT.war @@ -163,11 +158,6 @@ ${version.server} cloud - - ROOT.war @@ -177,14 +167,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/servlet-filterlistener/src/test/java/org/jboss/as/quickstarts/servlet/filterlistener/BasicRuntimeIT.java b/servlet-filterlistener/src/test/java/org/jboss/as/quickstarts/servlet/filterlistener/BasicRuntimeIT.java index a775448ced..af5dcbe35b 100644 --- a/servlet-filterlistener/src/test/java/org/jboss/as/quickstarts/servlet/filterlistener/BasicRuntimeIT.java +++ b/servlet-filterlistener/src/test/java/org/jboss/as/quickstarts/servlet/filterlistener/BasicRuntimeIT.java @@ -32,7 +32,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/servlet-filterlistener"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -44,7 +44,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/servlet-filterlistener")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/servlet-filterlistener/src/test/java/org/jboss/as/quickstarts/servlet/filterlistener/FilterServletIT.java b/servlet-filterlistener/src/test/java/org/jboss/as/quickstarts/servlet/filterlistener/FilterServletIT.java index deb964efef..7257da2c57 100644 --- a/servlet-filterlistener/src/test/java/org/jboss/as/quickstarts/servlet/filterlistener/FilterServletIT.java +++ b/servlet-filterlistener/src/test/java/org/jboss/as/quickstarts/servlet/filterlistener/FilterServletIT.java @@ -35,7 +35,7 @@ */ public class FilterServletIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/servlet-filterlistener"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testVowelRemoverFilter() throws IOException, InterruptedException, URISyntaxException { @@ -47,7 +47,7 @@ public void testVowelRemoverFilter() throws IOException, InterruptedException, U serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost + "/FilterExample?" + .uri(new URI(serverHost + "/servlet-filterlistener/FilterExample?" + ofFormData(Map.of("userInput", "This is only a test!")))) .GET() .build(); diff --git a/servlet-security/pom.xml b/servlet-security/pom.xml index c572798422..5ffddd30c8 100644 --- a/servlet-security/pom.xml +++ b/servlet-security/pom.xml @@ -138,11 +138,6 @@ h2-database - - ROOT.war @@ -181,11 +176,6 @@ cloud - - ROOT.war @@ -204,14 +194,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/servlet-security/src/test/java/org/jboss/as/quickstarts/servlet_security/BasicRuntimeIT.java b/servlet-security/src/test/java/org/jboss/as/quickstarts/servlet_security/BasicRuntimeIT.java index 8519cb78d2..43dce09b2c 100644 --- a/servlet-security/src/test/java/org/jboss/as/quickstarts/servlet_security/BasicRuntimeIT.java +++ b/servlet-security/src/test/java/org/jboss/as/quickstarts/servlet_security/BasicRuntimeIT.java @@ -39,7 +39,7 @@ */ public class BasicRuntimeIT { - protected static final String DEFAULT_SERVER_HOST = "http://localhost:8080/servlet-security"; + protected static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; protected URI getHTTPEndpoint() { String host = System.getenv("SERVER_HOST"); @@ -50,7 +50,7 @@ protected URI getHTTPEndpoint() { host = DEFAULT_SERVER_HOST; } try { - return new URI(host + "/SecuredServlet"); + return new URI(host + "/servlet-security/SecuredServlet"); } catch (URISyntaxException ex) { throw new RuntimeException(ex); } diff --git a/shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc b/shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc index 1ac1fc6c5d..628775223e 100644 --- a/shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc +++ b/shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc @@ -19,11 +19,6 @@ The quickstart `pom.xml` file contains a Maven profile named *bootable-jar* whic ${version.server} true - - ROOT.war ... @@ -71,10 +66,5 @@ endif::uses-jaeger[] . You can now interact with the quickstart application. -[NOTE] -==== -After the quickstart application is deployed, the bootable JAR includes the application in the root context. Therefore, any URLs related to the application should not have the `/{artifactId}` path segment after `HOST:PORT`. -==== - // Bootable Jar Testing include::../shared-doc/run-integration-tests-with-bootable-jar.adoc[leveloffset=+1] \ No newline at end of file diff --git a/shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc b/shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc index e629caea08..3a9bee8141 100644 --- a/shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc +++ b/shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc @@ -66,11 +66,6 @@ The server provisioning functionality is provided by the WildFly Maven Plugin, a ${version.server} - - ROOT.war ... @@ -95,10 +90,5 @@ If you get an error or the server is missing some functionality which cannot be wildfly-glow show-add-ons ---- -[NOTE] -==== -Since the plugin configuration above deploys quickstart on root web context of the provisioned server, the URL to access the application should not have the `/{artifactId}` path segment after `HOST:PORT`. -==== - // Server Provisioning Testing include::../shared-doc/run-integration-tests-with-provisioned-server.adoc[leveloffset=+1] diff --git a/shared-doc/build-the-quickstart-for-cloud-platform-internal.adoc b/shared-doc/build-the-quickstart-for-cloud-platform-internal.adoc index 7a469d1d44..eb0e5dc924 100644 --- a/shared-doc/build-the-quickstart-for-cloud-platform-internal.adoc +++ b/shared-doc/build-the-quickstart-for-cloud-platform-internal.adoc @@ -21,11 +21,6 @@ ifndef::ProductRelease,EAPXPRelease[] ${version.server} cloud - - ROOT.war ... @@ -73,7 +68,6 @@ ifdef::ProductRelease,EAPXPRelease[] ... - ROOT.war diff --git a/shared-doc/helm-deploy-project.adoc b/shared-doc/helm-deploy-project.adoc index f04d1035ab..779a117fe1 100644 --- a/shared-doc/helm-deploy-project.adoc +++ b/shared-doc/helm-deploy-project.adoc @@ -135,10 +135,6 @@ kubectl port-forward service/{helm-app-name} 8080:8080 The server can now be accessed via `http://localhost:8080` from outside Kubernetes. Note that the command to create the port-forward will not return, so it is easiest to run this in a separate terminal. endif::[] -[NOTE] -==== -The Maven profile named `openshift` is used by the Helm chart to provision the server with the quickstart deployed on the root web context, and thus the application should be accessed with the URL without the `/{artifactId}` path segment after `HOST:PORT`. -==== ifdef::openshift+post-helm-install-actions-openshift[] include::{post-helm-install-actions-openshift}[leveloffset=+1] diff --git a/shared-doc/run-integration-tests-with-bootable-jar.adoc b/shared-doc/run-integration-tests-with-bootable-jar.adoc index 7342e728a3..818b3bd289 100644 --- a/shared-doc/run-integration-tests-with-bootable-jar.adoc +++ b/shared-doc/run-integration-tests-with-bootable-jar.adoc @@ -2,7 +2,6 @@ = Run the Integration Tests with a bootable jar include::define-standalone-server-attributes.adoc[] -ifndef::server_provisioning_server_host[:server_provisioning_server_host: http://localhost:8080] The integration tests included with this quickstart, which verify that the quickstart runs correctly, may also be run with a bootable jar. @@ -22,11 +21,11 @@ $ mvn clean package -Pbootable-jar $ mvn wildfly:start-jar ---- -. Type the following command to run the `verify` goal with the `integration-testing` profile activated, and specifying the quickstart's URL using the `server.host` system property, which for a bootable jar by default is `{server_provisioning_server_host}`. +. Type the following command to run the `verify` goal with the `integration-testing` profile activated. + [source,subs="attributes+",options="nowrap"] ---- -$ mvn verify -Pintegration-testing -Dserver.host={server_provisioning_server_host} +$ mvn verify -Pintegration-testing ---- . Shutdown the {productName} bootable jar, this time using the {productName} Maven Jar Plugin too. diff --git a/shared-doc/run-integration-tests-with-provisioned-server.adoc b/shared-doc/run-integration-tests-with-provisioned-server.adoc index fd14f89aca..d82278745f 100644 --- a/shared-doc/run-integration-tests-with-provisioned-server.adoc +++ b/shared-doc/run-integration-tests-with-provisioned-server.adoc @@ -20,10 +20,6 @@ ifndef::deploymentDir[:deploymentTargetDir: target] ifdef::deploymentDir[:deploymentTargetDir: {deploymentDir}/target] endif::deploymentTargetDir[] -ifndef::server_provisioning_server_host[] -:server_provisioning_server_host: http://localhost:8080 -endif::server_provisioning_server_host[] - ifndef::extraStartParams[:extraStartParams: ] ifndef::extraProvisioningTestParams[:extraProvisioningTestParams: ] @@ -60,12 +56,12 @@ For Windows, use the `__{jbossHomeName}__\bin\add-user.bat` script. ==== endif::[] -. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation. The path to the provisioned server should be specified using the `jbossHome` system property. +. Start the {productName} provisioned server, this time using the {productName} Maven Plugin, which is recommended for testing due to simpler automation. + ifndef::deploymentDir[] [source,subs="attributes+",options="nowrap"] ---- -$ mvn wildfly:start -DjbossHome=target/server {extraStartParams} +$ mvn wildfly:start {extraStartParams} ---- endif::[] ifdef::deploymentDir[] @@ -75,11 +71,11 @@ $ mvn -f {deploymentDir}/pom.xml wildfly:start -DjbossHome={deploymentDir}/targe ---- endif::[] -. Type the following command to run the `verify` goal with the `integration-testing` profile activated, and specifying the quickstart's URL using the `server.host` system property, which for a provisioned server by default is `{server_provisioning_server_host}`. +. Type the following command to run the `verify` goal with the `integration-testing` profile activated. + [source,subs="attributes+",options="nowrap"] ---- -$ mvn verify -Pintegration-testing -Dserver.host={server_provisioning_server_host} {extraProvisioningTestParams} +$ mvn verify -Pintegration-testing {extraProvisioningTestParams} ---- . Shutdown the {productName} provisioned server, this time using the {productName} Maven Plugin too. diff --git a/spring-resteasy/pom.xml b/spring-resteasy/pom.xml index 81706a9f34..a1968e1d6e 100644 --- a/spring-resteasy/pom.xml +++ b/spring-resteasy/pom.xml @@ -150,11 +150,6 @@ * - - ROOT.war @@ -183,11 +178,6 @@ * - - ROOT.war @@ -197,14 +187,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/spring-resteasy/src/test/java/org/jboss/as/quickstarts/resteasyspring/test/BasicRuntimeIT.java b/spring-resteasy/src/test/java/org/jboss/as/quickstarts/resteasyspring/test/BasicRuntimeIT.java index 4b96e7d33c..d28e5616db 100644 --- a/spring-resteasy/src/test/java/org/jboss/as/quickstarts/resteasyspring/test/BasicRuntimeIT.java +++ b/spring-resteasy/src/test/java/org/jboss/as/quickstarts/resteasyspring/test/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/spring-resteasy"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -46,7 +46,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/spring-resteasy")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/spring-resteasy/src/test/java/org/jboss/as/quickstarts/resteasyspring/test/ResteasySpringIT.java b/spring-resteasy/src/test/java/org/jboss/as/quickstarts/resteasyspring/test/ResteasySpringIT.java index 422518a8e7..955bc44f03 100644 --- a/spring-resteasy/src/test/java/org/jboss/as/quickstarts/resteasyspring/test/ResteasySpringIT.java +++ b/spring-resteasy/src/test/java/org/jboss/as/quickstarts/resteasyspring/test/ResteasySpringIT.java @@ -42,7 +42,7 @@ public class ResteasySpringIT { static URL url; - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/spring-resteasy"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @BeforeClass public static void setupUrl() throws MalformedURLException { @@ -64,7 +64,7 @@ public void testHelloSpringResource() throws Exception { .setScheme("http") .setHost(url.getHost()) .setPort(url.getPort()) - .setPath(url.getPath() + "/hello") + .setPath("/spring-resteasy/hello") .setParameter("name", "JBoss Developer") .build(); HttpGet method = new HttpGet(uri); @@ -76,7 +76,7 @@ public void testHelloSpringResource() throws Exception { } } { - HttpGet method = new HttpGet(url.toString() + "/basic"); + HttpGet method = new HttpGet(url.toString() + "/spring-resteasy/basic"); try (CloseableHttpResponse response = client.execute(method)) { Assert.assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode()); Assert.assertTrue(EntityUtils.toString(response.getEntity()).contains("basic")); @@ -85,7 +85,7 @@ public void testHelloSpringResource() throws Exception { } } { - HttpPut method = new HttpPut(url.toString() + "/basic"); + HttpPut method = new HttpPut(url.toString() + "/spring-resteasy/basic"); method.setEntity(new StringEntity("basic", ContentType.TEXT_PLAIN)); try (CloseableHttpResponse response = client.execute(method)) { Assert.assertEquals(HttpStatus.SC_NO_CONTENT, response.getStatusLine().getStatusCode()); @@ -98,7 +98,7 @@ public void testHelloSpringResource() throws Exception { .setScheme("http") .setHost(url.getHost()) .setPort(url.getPort()) - .setPath(url.getPath() + "/queryParam") + .setPath("/spring-resteasy/queryParam") .setParameter("param", "hello world") .build(); HttpGet method = new HttpGet(uri); @@ -110,7 +110,7 @@ public void testHelloSpringResource() throws Exception { } } { - HttpGet method = new HttpGet(url.toString() + "/matrixParam;param=matrix"); + HttpGet method = new HttpGet(url.toString() + "/spring-resteasy/matrixParam;param=matrix"); try (CloseableHttpResponse response = client.execute(method)) { Assert.assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode()); Assert.assertEquals("matrix", EntityUtils.toString(response.getEntity())); @@ -119,7 +119,7 @@ public void testHelloSpringResource() throws Exception { } } { - HttpGet method = new HttpGet(url.toString() + "/uriParam/1234"); + HttpGet method = new HttpGet(url.toString() + "/spring-resteasy/uriParam/1234"); try (CloseableHttpResponse response = client.execute(method)) { Assert.assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode()); Assert.assertEquals("1234", EntityUtils.toString(response.getEntity())); @@ -138,7 +138,7 @@ public void testLocatingResource() throws Exception { .setScheme("http") .setHost(url.getHost()) .setPort(url.getPort()) - .setPath(url.getPath() + "/locating/hello") + .setPath("/spring-resteasy/locating/hello") .setParameter("name", "JBoss Developer") .build(); HttpGet method = new HttpGet(uri); @@ -150,7 +150,7 @@ public void testLocatingResource() throws Exception { } } { - HttpGet method = new HttpGet(url.toString() + "/locating/basic"); + HttpGet method = new HttpGet(url.toString() + "/spring-resteasy/locating/basic"); try (CloseableHttpResponse response = client.execute(method)) { Assert.assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode()); Assert.assertTrue(EntityUtils.toString(response.getEntity()).contains("basic")); @@ -159,7 +159,7 @@ public void testLocatingResource() throws Exception { } } { - HttpPut method = new HttpPut(url.toString() + "/locating/basic"); + HttpPut method = new HttpPut(url.toString() + "/spring-resteasy/locating/basic"); method.setEntity(new StringEntity("basic", ContentType.TEXT_PLAIN)); try (CloseableHttpResponse response = client.execute(method)) { Assert.assertEquals(HttpStatus.SC_NO_CONTENT, response.getStatusLine().getStatusCode()); @@ -172,7 +172,7 @@ public void testLocatingResource() throws Exception { .setScheme("http") .setHost(url.getHost()) .setPort(url.getPort()) - .setPath(url.getPath() + "/locating/queryParam") + .setPath("/spring-resteasy/locating/queryParam") .setParameter("param", "hello world") .build(); HttpGet method = new HttpGet(uri); @@ -184,7 +184,7 @@ public void testLocatingResource() throws Exception { } } { - HttpGet method = new HttpGet(url.toString() + "/locating/matrixParam;param=matrix"); + HttpGet method = new HttpGet(url.toString() + "/spring-resteasy/locating/matrixParam;param=matrix"); try (CloseableHttpResponse response = client.execute(method)) { Assert.assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode()); Assert.assertEquals("matrix", EntityUtils.toString(response.getEntity())); @@ -193,7 +193,7 @@ public void testLocatingResource() throws Exception { } } { - HttpGet method = new HttpGet(url.toString() + "/locating/uriParam/1234"); + HttpGet method = new HttpGet(url.toString() + "/spring-resteasy/locating/uriParam/1234"); try (CloseableHttpResponse response = client.execute(method)) { Assert.assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode()); Assert.assertEquals("1234", EntityUtils.toString(response.getEntity())); diff --git a/tasks-jsf/pom.xml b/tasks-jsf/pom.xml index 2a5ade111c..40800cd4c3 100644 --- a/tasks-jsf/pom.xml +++ b/tasks-jsf/pom.xml @@ -148,7 +148,6 @@ h2-datasource jsf - ROOT.war @@ -185,7 +184,6 @@ h2-datasource jsf - ROOT.war @@ -195,14 +193,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/tasks-jsf/src/test/java/org/jboss/as/quickstarts/tasksJsf/BasicRuntimeIT.java b/tasks-jsf/src/test/java/org/jboss/as/quickstarts/tasksJsf/BasicRuntimeIT.java index 2e5b990a87..95bca3f381 100644 --- a/tasks-jsf/src/test/java/org/jboss/as/quickstarts/tasksJsf/BasicRuntimeIT.java +++ b/tasks-jsf/src/test/java/org/jboss/as/quickstarts/tasksJsf/BasicRuntimeIT.java @@ -32,7 +32,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/tasks-jsf"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -44,7 +44,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/tasks-jsf")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/temperature-converter/pom.xml b/temperature-converter/pom.xml index 57e55b6c3e..d58598ba36 100644 --- a/temperature-converter/pom.xml +++ b/temperature-converter/pom.xml @@ -140,11 +140,6 @@ ${version.server} - - ROOT.war @@ -169,11 +164,6 @@ ${version.server} cloud - - ROOT.war @@ -183,14 +173,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/temperature-converter/src/test/java/org/jboss/as/quickstarts/temperatureconverter/BasicRuntimeIT.java b/temperature-converter/src/test/java/org/jboss/as/quickstarts/temperatureconverter/BasicRuntimeIT.java index 2c21a317b7..38d271b550 100644 --- a/temperature-converter/src/test/java/org/jboss/as/quickstarts/temperatureconverter/BasicRuntimeIT.java +++ b/temperature-converter/src/test/java/org/jboss/as/quickstarts/temperatureconverter/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/temperature-converter"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; public static String getServerHost() { String serverHost = System.getenv("SERVER_HOST"); @@ -49,7 +49,7 @@ public static String getServerHost() { @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(getServerHost()+"/")) + .uri(new URI(getServerHost()+"/temperature-converter")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/temperature-converter/src/test/java/org/jboss/as/quickstarts/temperatureconverter/TemperatureConverterIT.java b/temperature-converter/src/test/java/org/jboss/as/quickstarts/temperatureconverter/TemperatureConverterIT.java index 1d4a30dd95..69512490a6 100644 --- a/temperature-converter/src/test/java/org/jboss/as/quickstarts/temperatureconverter/TemperatureConverterIT.java +++ b/temperature-converter/src/test/java/org/jboss/as/quickstarts/temperatureconverter/TemperatureConverterIT.java @@ -43,14 +43,14 @@ public void testConvertTemperature() throws Exception { .cookieHandler(manager) .version(HttpClient.Version.HTTP_1_1) .build(); - HttpResponse response = client.send(HttpRequest.newBuilder(new URI(BasicRuntimeIT.getServerHost()+"/temperatureconvert.jsf")).GET().build(), HttpResponse.BodyHandlers.ofString()); + HttpResponse response = client.send(HttpRequest.newBuilder(new URI(BasicRuntimeIT.getServerHost()+"/temperature-converter/temperatureconvert.jsf")).GET().build(), HttpResponse.BodyHandlers.ofString()); String body = response.body().toString(); assertEquals(200, response.statusCode()); assertTrue(body, body.contains("h2-database:default - - ROOT.war @@ -226,11 +221,6 @@ h2-database:default - - ROOT.war @@ -240,14 +230,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/thread-racing/src/test/java/org/jboss/as/quickstarts/threadracing/BasicRuntimeIT.java b/thread-racing/src/test/java/org/jboss/as/quickstarts/threadracing/BasicRuntimeIT.java index b26b736244..9b43d30e99 100644 --- a/thread-racing/src/test/java/org/jboss/as/quickstarts/threadracing/BasicRuntimeIT.java +++ b/thread-racing/src/test/java/org/jboss/as/quickstarts/threadracing/BasicRuntimeIT.java @@ -34,7 +34,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/thread-racing"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -46,7 +46,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/thread-racing")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/thread-racing/src/test/java/org/jboss/as/quickstarts/threadracing/ThreadRacingIT.java b/thread-racing/src/test/java/org/jboss/as/quickstarts/threadracing/ThreadRacingIT.java index 6d51220163..02a32b34fa 100644 --- a/thread-racing/src/test/java/org/jboss/as/quickstarts/threadracing/ThreadRacingIT.java +++ b/thread-racing/src/test/java/org/jboss/as/quickstarts/threadracing/ThreadRacingIT.java @@ -44,10 +44,10 @@ public class ThreadRacingIT { protected URI getWebSocketEndpoint() { String host = getServerHost(); if (host == null) { - host = "ws://localhost:8080/thread-racing"; + host = "ws://localhost:8080"; } try { - return new URI(host + "/race"); + return new URI(host + "/thread-racing/race"); } catch (URISyntaxException ex) { throw new RuntimeException(ex); } diff --git a/todo-backend/README-source.adoc b/todo-backend/README-source.adoc index 178382c2b7..7260dd998d 100644 --- a/todo-backend/README-source.adoc +++ b/todo-backend/README-source.adoc @@ -196,15 +196,15 @@ The backend is running, and we can use the HTTP API to manage a list of todos: [source,options="nowrap"] ---- # get a list of todos -$ curl http://localhost:8080 +$ curl http://localhost:8080/todo-backend [] # create a todo with the title "This is my first todo item!" -$ curl -X POST -H "Content-Type: application/json" -d '{"title": "This is my first todo item!"}' http://localhost:8080 +$ curl -X POST -H "Content-Type: application/json" -d '{"title": "This is my first todo item!"}' http://localhost:8080/todo-backend {"completed":false,"id":1,"order":0,"title":"This is my first todo item!","url":"https://localhost:8080/1"}% # get a list of todos with the one that was just created -$ curl http://localhost:8080 +$ curl http://localhost:8080/todo-backend [{"completed":false,"id":1,"order":0,"title":"This is my first todo item!","url":"https://localhost:8080/1"}] ---- diff --git a/todo-backend/additional-readme-cloud.adoc b/todo-backend/additional-readme-cloud.adoc index 86183341b1..22be9968b3 100644 --- a/todo-backend/additional-readme-cloud.adoc +++ b/todo-backend/additional-readme-cloud.adoc @@ -43,15 +43,10 @@ todo-backend-jmesnil1-dev.apps.sandbox.x8i5.p1.openshiftapps.com This value will be different for every installation of the backend. -[WARNING] -==== -Make sure to prepend the host with `https://` to be able to connect to the backend from the ToDo Backend Specs or Client. -The host must also be publicly accessible. -==== +To be able to connect to the backend from the ToDo Backend Specs or Client, then prepend the host with `https://`, and append the relative web context `/todo-backend`. For the previous example host this would be `https://todo-backend-jmesnil1-dev.apps.sandbox.x8i5.p1.openshiftapps.com/todo-backend`. We can verify that this application is properly working as a ToDo Backend by running its https://todobackend.com/specs/index.html[specs] on it. - Once all tests passed, we can use the https://todobackend.com/client/index.html[todobackend client] to have a Web application connected to the backend. [NOTE] diff --git a/todo-backend/pom.xml b/todo-backend/pom.xml index 0ef29818ab..9617aa6e32 100644 --- a/todo-backend/pom.xml +++ b/todo-backend/pom.xml @@ -149,11 +149,6 @@ postgresql - - ROOT.war @@ -190,11 +185,6 @@ postgresql - - ROOT.war @@ -213,14 +203,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/todo-backend/src/test/java/org/wildfly/quickstarts/todos/RemoteToDoIT.java b/todo-backend/src/test/java/org/wildfly/quickstarts/todos/RemoteToDoIT.java index 617683e7d6..0caa4b7c19 100644 --- a/todo-backend/src/test/java/org/wildfly/quickstarts/todos/RemoteToDoIT.java +++ b/todo-backend/src/test/java/org/wildfly/quickstarts/todos/RemoteToDoIT.java @@ -41,7 +41,7 @@ */ public class RemoteToDoIT { - private static final String REST_TARGET_URL = "http://localhost:8080/todo-backend"; + private static final String REST_TARGET_URL = "http://localhost:8080"; private String getServerHost() { String host = System.getenv("SERVER_HOST"); @@ -57,7 +57,7 @@ URL getRequestUrl() { host = REST_TARGET_URL; } try { - return new URI(host).toURL(); + return new URI(host+"/todo-backend").toURL(); } catch (URISyntaxException | MalformedURLException ex) { throw new RuntimeException(ex); } diff --git a/websocket-endpoint/pom.xml b/websocket-endpoint/pom.xml index 4d16178027..2bc387169d 100644 --- a/websocket-endpoint/pom.xml +++ b/websocket-endpoint/pom.xml @@ -160,11 +160,6 @@ ${version.server} - - ROOT.war @@ -189,11 +184,6 @@ ${version.server} cloud - - ROOT.war @@ -203,14 +193,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/websocket-endpoint/src/test/java/org/jboss/quickstarts/websocket_endpoint/BasicRuntimeIT.java b/websocket-endpoint/src/test/java/org/jboss/quickstarts/websocket_endpoint/BasicRuntimeIT.java index 3df9d3bd94..000ca40311 100644 --- a/websocket-endpoint/src/test/java/org/jboss/quickstarts/websocket_endpoint/BasicRuntimeIT.java +++ b/websocket-endpoint/src/test/java/org/jboss/quickstarts/websocket_endpoint/BasicRuntimeIT.java @@ -32,8 +32,8 @@ * @author emartins */ public class BasicRuntimeIT { + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/websocket-endpoint"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -45,7 +45,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/websocket-endpoint")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/websocket-endpoint/src/test/java/org/jboss/quickstarts/websocket_endpoint/BidWebSocketEndpointIT.java b/websocket-endpoint/src/test/java/org/jboss/quickstarts/websocket_endpoint/BidWebSocketEndpointIT.java index 910ee40b03..3be03e2484 100644 --- a/websocket-endpoint/src/test/java/org/jboss/quickstarts/websocket_endpoint/BidWebSocketEndpointIT.java +++ b/websocket-endpoint/src/test/java/org/jboss/quickstarts/websocket_endpoint/BidWebSocketEndpointIT.java @@ -46,11 +46,8 @@ public class BidWebSocketEndpointIT { protected URI getWebSocketEndpoint() { String host = getServerHost(); - if (host == null) { - host = "ws://localhost:8080/websocket-endpoint"; - } try { - return new URI(host + "/bidsocket"); + return new URI(host + "/websocket-endpoint/bidsocket"); } catch (URISyntaxException ex) { throw new RuntimeException(ex); } @@ -64,6 +61,9 @@ protected static String getServerHost() { if (host != null) { host = host.replaceFirst("http", "ws"); } + if (host == null) { + host = "ws://localhost:8080"; + } return host; } diff --git a/websocket-hello/pom.xml b/websocket-hello/pom.xml index 70929b077d..5354225228 100644 --- a/websocket-hello/pom.xml +++ b/websocket-hello/pom.xml @@ -111,11 +111,6 @@ ${version.server} - - ROOT.war @@ -140,11 +135,6 @@ ${version.server} cloud - - ROOT.war @@ -154,14 +144,6 @@ - - org.apache.maven.plugins - maven-war-plugin - ${version.war.plugin} - - ROOT - - org.apache.maven.plugins diff --git a/websocket-hello/src/test/java/org/jboss/as/quickstarts/websocket_hello/BasicRuntimeIT.java b/websocket-hello/src/test/java/org/jboss/as/quickstarts/websocket_hello/BasicRuntimeIT.java index 0a6958fefb..c76eb99cee 100644 --- a/websocket-hello/src/test/java/org/jboss/as/quickstarts/websocket_hello/BasicRuntimeIT.java +++ b/websocket-hello/src/test/java/org/jboss/as/quickstarts/websocket_hello/BasicRuntimeIT.java @@ -33,7 +33,7 @@ */ public class BasicRuntimeIT { - private static final String DEFAULT_SERVER_HOST = "http://localhost:8080/websocket-hello"; + private static final String DEFAULT_SERVER_HOST = "http://localhost:8080"; @Test public void testHTTPEndpointIsAvailable() throws IOException, InterruptedException, URISyntaxException { @@ -45,7 +45,7 @@ public void testHTTPEndpointIsAvailable() throws IOException, InterruptedExcepti serverHost = DEFAULT_SERVER_HOST; } final HttpRequest request = HttpRequest.newBuilder() - .uri(new URI(serverHost+"/")) + .uri(new URI(serverHost+"/websocket-hello")) .GET() .build(); final HttpClient client = HttpClient.newBuilder() diff --git a/websocket-hello/src/test/java/org/jboss/as/quickstarts/websocket_hello/WebSocketHelloIT.java b/websocket-hello/src/test/java/org/jboss/as/quickstarts/websocket_hello/WebSocketHelloIT.java index 97152af5d0..65c206c6cc 100644 --- a/websocket-hello/src/test/java/org/jboss/as/quickstarts/websocket_hello/WebSocketHelloIT.java +++ b/websocket-hello/src/test/java/org/jboss/as/quickstarts/websocket_hello/WebSocketHelloIT.java @@ -35,18 +35,6 @@ */ public class WebSocketHelloIT { - protected URI getWebSocketEndpoint() { - String host = getServerHost(); - if (host == null) { - host = "ws://localhost:8080/websocket-hello"; - } - try { - return new URI(host + "/websocket/helloName"); - } catch (URISyntaxException ex) { - throw new RuntimeException(ex); - } - } - protected static String getServerHost() { String host = System.getenv("SERVER_HOST"); if (host == null) { @@ -55,9 +43,21 @@ protected static String getServerHost() { if (host != null) { host= host.replaceFirst("http", "ws"); } + if (host == null) { + host = "ws://localhost:8080"; + } return host; } + protected URI getWebSocketEndpoint() { + String host = getServerHost(); + try { + return new URI(host + "/websocket-hello/websocket/helloName"); + } catch (URISyntaxException ex) { + throw new RuntimeException(ex); + } + } + @Test public void testConnectOk() throws Exception { testWebSocket(2000); From badf725ca4984f56463adaa3af4b30625c0cc7dd Mon Sep 17 00:00:00 2001 From: Eduardo Martins Date: Tue, 29 Oct 2024 15:56:15 +0000 Subject: [PATCH 3/3] moves helm carts back to main branch --- batch-processing/charts/helm.yaml | 2 +- bmt/charts/helm.yaml | 2 +- cmt/charts/helm.yaml | 2 +- ee-security/charts/helm.yaml | 2 +- ejb-remote/charts/helm.yaml | 2 +- ejb-timer/charts/helm.yaml | 2 +- ejb-txn-remote-call/charts/client.yaml | 2 +- ejb-txn-remote-call/charts/server.yaml | 2 +- helloworld-mdb/charts/helm.yaml | 2 +- helloworld-singleton/charts/helm.yaml | 2 +- helloworld-ws/charts/helm.yaml | 2 +- helloworld/charts/helm.yaml | 2 +- hibernate/charts/helm.yaml | 2 +- jaxrs-client/charts/helm.yaml | 2 +- jaxrs-jwt/charts/helm.yaml | 2 +- jaxws-ejb/charts/helm.yaml | 2 +- jaxws-retail/charts/helm.yaml | 2 +- jsonp/charts/helm.yaml | 2 +- kitchensink/charts/helm.yaml | 2 +- logging/src/charts/helm.yaml | 2 +- micrometer/charts/helm.yaml | 2 +- microprofile-config/charts/helm.yaml | 2 +- microprofile-fault-tolerance/charts/helm.yaml | 2 +- microprofile-health/charts/helm.yaml | 2 +- microprofile-jwt/charts/helm.yaml | 2 +- microprofile-lra/charts/helm.yaml | 2 +- microprofile-openapi/charts/helm.yaml | 2 +- microprofile-reactive-messaging-kafka/charts/helm.yaml | 2 +- microprofile-rest-client/charts/helm.yaml | 2 +- numberguess/charts/helm.yaml | 2 +- opentelemetry-tracing/charts/helm.yaml | 2 +- remote-helloworld-mdb/charts/helm.yaml | 2 +- servlet-async/charts/helm.yaml | 2 +- servlet-filterlistener/charts/helm.yaml | 2 +- servlet-security/charts/helm.yaml | 2 +- spring-resteasy/charts/helm.yaml | 2 +- tasks-jsf/charts/helm.yaml | 2 +- temperature-converter/charts/helm.yaml | 2 +- thread-racing/charts/helm.yaml | 2 +- todo-backend/charts/values.yaml | 2 +- websocket-endpoint/charts/helm.yaml | 2 +- websocket-hello/charts/helm.yaml | 2 +- 42 files changed, 42 insertions(+), 42 deletions(-) diff --git a/batch-processing/charts/helm.yaml b/batch-processing/charts/helm.yaml index 8923ae15b1..76725f9799 100644 --- a/batch-processing/charts/helm.yaml +++ b/batch-processing/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: batch-processing deploy: replicas: 1 \ No newline at end of file diff --git a/bmt/charts/helm.yaml b/bmt/charts/helm.yaml index 33f310cf75..de7dd19e21 100644 --- a/bmt/charts/helm.yaml +++ b/bmt/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: bmt deploy: replicas: 1 \ No newline at end of file diff --git a/cmt/charts/helm.yaml b/cmt/charts/helm.yaml index a868c5f6c8..672ba19145 100644 --- a/cmt/charts/helm.yaml +++ b/cmt/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: cmt deploy: replicas: 1 \ No newline at end of file diff --git a/ee-security/charts/helm.yaml b/ee-security/charts/helm.yaml index 05a1427d84..4c393c54d9 100644 --- a/ee-security/charts/helm.yaml +++ b/ee-security/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: ee-security deploy: replicas: 1 \ No newline at end of file diff --git a/ejb-remote/charts/helm.yaml b/ejb-remote/charts/helm.yaml index 3a5786ed65..d0e5fcb7e9 100644 --- a/ejb-remote/charts/helm.yaml +++ b/ejb-remote/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: ejb-remote deploy: replicas: 1 \ No newline at end of file diff --git a/ejb-timer/charts/helm.yaml b/ejb-timer/charts/helm.yaml index f689d86485..48509a377b 100644 --- a/ejb-timer/charts/helm.yaml +++ b/ejb-timer/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: ejb-timer deploy: replicas: 1 \ No newline at end of file diff --git a/ejb-txn-remote-call/charts/client.yaml b/ejb-txn-remote-call/charts/client.yaml index bbd2c27404..7d2a2ddeae 100644 --- a/ejb-txn-remote-call/charts/client.yaml +++ b/ejb-txn-remote-call/charts/client.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: ejb-txn-remote-call/client env: - name: MAVEN_ARGS_APPEND diff --git a/ejb-txn-remote-call/charts/server.yaml b/ejb-txn-remote-call/charts/server.yaml index 323bfc9a48..3873e45900 100644 --- a/ejb-txn-remote-call/charts/server.yaml +++ b/ejb-txn-remote-call/charts/server.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: ejb-txn-remote-call/server deploy: enabled: false diff --git a/helloworld-mdb/charts/helm.yaml b/helloworld-mdb/charts/helm.yaml index 329c640787..ac3cf2bd19 100644 --- a/helloworld-mdb/charts/helm.yaml +++ b/helloworld-mdb/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: helloworld-mdb deploy: replicas: 2 \ No newline at end of file diff --git a/helloworld-singleton/charts/helm.yaml b/helloworld-singleton/charts/helm.yaml index 16ff7fb8c1..c3dda38fcd 100644 --- a/helloworld-singleton/charts/helm.yaml +++ b/helloworld-singleton/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: helloworld-singleton deploy: replicas: 1 \ No newline at end of file diff --git a/helloworld-ws/charts/helm.yaml b/helloworld-ws/charts/helm.yaml index b587fd4787..86e1ccf577 100644 --- a/helloworld-ws/charts/helm.yaml +++ b/helloworld-ws/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: helloworld-ws deploy: replicas: 1 \ No newline at end of file diff --git a/helloworld/charts/helm.yaml b/helloworld/charts/helm.yaml index ce3cb0a5c2..cf70083673 100644 --- a/helloworld/charts/helm.yaml +++ b/helloworld/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: helloworld deploy: replicas: 1 \ No newline at end of file diff --git a/hibernate/charts/helm.yaml b/hibernate/charts/helm.yaml index 8ea3d29b40..fa78d17df7 100644 --- a/hibernate/charts/helm.yaml +++ b/hibernate/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: hibernate deploy: replicas: 1 \ No newline at end of file diff --git a/jaxrs-client/charts/helm.yaml b/jaxrs-client/charts/helm.yaml index 4a37c4646e..3e17b4ab5f 100644 --- a/jaxrs-client/charts/helm.yaml +++ b/jaxrs-client/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: jaxrs-client deploy: replicas: 1 \ No newline at end of file diff --git a/jaxrs-jwt/charts/helm.yaml b/jaxrs-jwt/charts/helm.yaml index a1f84fb24a..d9c4d656db 100644 --- a/jaxrs-jwt/charts/helm.yaml +++ b/jaxrs-jwt/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: jaxrs-jwt deploy: replicas: 1 \ No newline at end of file diff --git a/jaxws-ejb/charts/helm.yaml b/jaxws-ejb/charts/helm.yaml index 366986104e..fb4da91070 100644 --- a/jaxws-ejb/charts/helm.yaml +++ b/jaxws-ejb/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: jaxws-ejb deploy: replicas: 1 \ No newline at end of file diff --git a/jaxws-retail/charts/helm.yaml b/jaxws-retail/charts/helm.yaml index 41b934add0..110f339a2d 100644 --- a/jaxws-retail/charts/helm.yaml +++ b/jaxws-retail/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: jaxws-retail deploy: replicas: 1 \ No newline at end of file diff --git a/jsonp/charts/helm.yaml b/jsonp/charts/helm.yaml index baf55edcf8..ff181f49c8 100644 --- a/jsonp/charts/helm.yaml +++ b/jsonp/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: jsonp deploy: replicas: 1 \ No newline at end of file diff --git a/kitchensink/charts/helm.yaml b/kitchensink/charts/helm.yaml index 23c8ff8034..07593d4f85 100644 --- a/kitchensink/charts/helm.yaml +++ b/kitchensink/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: kitchensink deploy: replicas: 1 \ No newline at end of file diff --git a/logging/src/charts/helm.yaml b/logging/src/charts/helm.yaml index 4c59489761..80efbd5db8 100644 --- a/logging/src/charts/helm.yaml +++ b/logging/src/charts/helm.yaml @@ -3,7 +3,7 @@ build: <<<<<<< HEAD ref: 31.x-glow-preview ======= - ref: 34.x + ref: main >>>>>>> upstream/main contextDir: logging deploy: diff --git a/micrometer/charts/helm.yaml b/micrometer/charts/helm.yaml index a10492a557..c0bbbce795 100644 --- a/micrometer/charts/helm.yaml +++ b/micrometer/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: micrometer deploy: replicas: 1 diff --git a/microprofile-config/charts/helm.yaml b/microprofile-config/charts/helm.yaml index 28550c561a..c32c42525c 100644 --- a/microprofile-config/charts/helm.yaml +++ b/microprofile-config/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: microprofile-config deploy: replicas: 1 \ No newline at end of file diff --git a/microprofile-fault-tolerance/charts/helm.yaml b/microprofile-fault-tolerance/charts/helm.yaml index 422eb6fae3..88695c5b84 100644 --- a/microprofile-fault-tolerance/charts/helm.yaml +++ b/microprofile-fault-tolerance/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: microprofile-fault-tolerance deploy: replicas: 1 diff --git a/microprofile-health/charts/helm.yaml b/microprofile-health/charts/helm.yaml index b9b5cbe83c..a925c5de44 100644 --- a/microprofile-health/charts/helm.yaml +++ b/microprofile-health/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: microprofile-health deploy: replicas: 1 \ No newline at end of file diff --git a/microprofile-jwt/charts/helm.yaml b/microprofile-jwt/charts/helm.yaml index a2add07a84..515e907085 100644 --- a/microprofile-jwt/charts/helm.yaml +++ b/microprofile-jwt/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: microprofile-jwt deploy: replicas: 1 \ No newline at end of file diff --git a/microprofile-lra/charts/helm.yaml b/microprofile-lra/charts/helm.yaml index 3e312dc272..67598c049f 100644 --- a/microprofile-lra/charts/helm.yaml +++ b/microprofile-lra/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: microprofile-lra deploy: replicas: 1 diff --git a/microprofile-openapi/charts/helm.yaml b/microprofile-openapi/charts/helm.yaml index 02c4c58c5c..e539344a2f 100644 --- a/microprofile-openapi/charts/helm.yaml +++ b/microprofile-openapi/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: microprofile-openapi deploy: replicas: 1 \ No newline at end of file diff --git a/microprofile-reactive-messaging-kafka/charts/helm.yaml b/microprofile-reactive-messaging-kafka/charts/helm.yaml index 927f8bf5ed..cdb2ecd76e 100644 --- a/microprofile-reactive-messaging-kafka/charts/helm.yaml +++ b/microprofile-reactive-messaging-kafka/charts/helm.yaml @@ -2,7 +2,7 @@ # Will need a diff commit in the upstream-to-product repository build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: microprofile-reactive-messaging-kafka deploy: replicas: 1 diff --git a/microprofile-rest-client/charts/helm.yaml b/microprofile-rest-client/charts/helm.yaml index bdd64bbff1..16a15af18f 100644 --- a/microprofile-rest-client/charts/helm.yaml +++ b/microprofile-rest-client/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: microprofile-rest-client deploy: replicas: 1 \ No newline at end of file diff --git a/numberguess/charts/helm.yaml b/numberguess/charts/helm.yaml index d7ad0c4460..716217e700 100644 --- a/numberguess/charts/helm.yaml +++ b/numberguess/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: numberguess deploy: replicas: 1 \ No newline at end of file diff --git a/opentelemetry-tracing/charts/helm.yaml b/opentelemetry-tracing/charts/helm.yaml index 174573c762..489caf0c20 100644 --- a/opentelemetry-tracing/charts/helm.yaml +++ b/opentelemetry-tracing/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: opentelemetry-tracing deploy: replicas: 1 diff --git a/remote-helloworld-mdb/charts/helm.yaml b/remote-helloworld-mdb/charts/helm.yaml index 76d6eec9e7..ee322eddb0 100644 --- a/remote-helloworld-mdb/charts/helm.yaml +++ b/remote-helloworld-mdb/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: remote-helloworld-mdb deploy: replicas: 1 diff --git a/servlet-async/charts/helm.yaml b/servlet-async/charts/helm.yaml index b653c33708..7aac2f622d 100644 --- a/servlet-async/charts/helm.yaml +++ b/servlet-async/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: servlet-async deploy: replicas: 2 \ No newline at end of file diff --git a/servlet-filterlistener/charts/helm.yaml b/servlet-filterlistener/charts/helm.yaml index e88ea90ec6..dca2e1b81e 100644 --- a/servlet-filterlistener/charts/helm.yaml +++ b/servlet-filterlistener/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: servlet-filterlistener deploy: replicas: 2 \ No newline at end of file diff --git a/servlet-security/charts/helm.yaml b/servlet-security/charts/helm.yaml index 9884ef1736..6d710d083a 100644 --- a/servlet-security/charts/helm.yaml +++ b/servlet-security/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: servlet-security deploy: replicas: 1 diff --git a/spring-resteasy/charts/helm.yaml b/spring-resteasy/charts/helm.yaml index b5ee967d47..4d1d940e24 100644 --- a/spring-resteasy/charts/helm.yaml +++ b/spring-resteasy/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: spring-resteasy deploy: replicas: 1 \ No newline at end of file diff --git a/tasks-jsf/charts/helm.yaml b/tasks-jsf/charts/helm.yaml index 8d30799c9e..ae14e27a5c 100644 --- a/tasks-jsf/charts/helm.yaml +++ b/tasks-jsf/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: tasks-jsf deploy: replicas: 1 \ No newline at end of file diff --git a/temperature-converter/charts/helm.yaml b/temperature-converter/charts/helm.yaml index 6cbc340fa1..629e4ca523 100644 --- a/temperature-converter/charts/helm.yaml +++ b/temperature-converter/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: temperature-converter deploy: replicas: 1 \ No newline at end of file diff --git a/thread-racing/charts/helm.yaml b/thread-racing/charts/helm.yaml index a2cab7b010..4ed9f36167 100644 --- a/thread-racing/charts/helm.yaml +++ b/thread-racing/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: thread-racing deploy: replicas: 1 \ No newline at end of file diff --git a/todo-backend/charts/values.yaml b/todo-backend/charts/values.yaml index 6757854ac8..84b1697f16 100644 --- a/todo-backend/charts/values.yaml +++ b/todo-backend/charts/values.yaml @@ -21,7 +21,7 @@ postgresql: wildfly: build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: todo-backend deploy: replicas: 1 diff --git a/websocket-endpoint/charts/helm.yaml b/websocket-endpoint/charts/helm.yaml index 6d8c942c6f..98d316c0d0 100644 --- a/websocket-endpoint/charts/helm.yaml +++ b/websocket-endpoint/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: websocket-endpoint deploy: replicas: 2 \ No newline at end of file diff --git a/websocket-hello/charts/helm.yaml b/websocket-hello/charts/helm.yaml index b067d52f5d..f15b8656c7 100644 --- a/websocket-hello/charts/helm.yaml +++ b/websocket-hello/charts/helm.yaml @@ -1,6 +1,6 @@ build: uri: https://github.com/wildfly/quickstart.git - ref: 34.x + ref: main contextDir: websocket-hello deploy: replicas: 2 \ No newline at end of file