From 89afc4e1193d10db0e62e1f7712467502fc0ae3a Mon Sep 17 00:00:00 2001 From: Jean-Francois Denise Date: Tue, 31 Oct 2023 11:20:25 +0100 Subject: [PATCH] Use WildFly Glow discovery in tests --- pom.xml | 5 +++ testsuite/client-vertx/pom.xml | 65 ++++++++++++++++---------------- testsuite/integration/pom.xml | 67 +++++++++++++++++---------------- testsuite/server-tck/pom.xml | 69 ++++++++++++++++++---------------- 4 files changed, 109 insertions(+), 97 deletions(-) diff --git a/pom.xml b/pom.xml index 665b950..6201eeb 100644 --- a/pom.xml +++ b/pom.xml @@ -584,6 +584,11 @@ galleon-maven-plugin ${version.org.jboss.galleon} + + org.wildfly.glow + wildfly-glow-arquillian-plugin + ${version.wildfly.glow} + org.wildfly.galleon-plugins wildfly-galleon-maven-plugin diff --git a/testsuite/client-vertx/pom.xml b/testsuite/client-vertx/pom.xml index 9e4ef5c..1a8a36c 100644 --- a/testsuite/client-vertx/pom.xml +++ b/testsuite/client-vertx/pom.xml @@ -149,6 +149,36 @@ + + org.wildfly.glow + wildfly-glow-arquillian-plugin + + + + org.wildfly + wildfly-galleon-pack + ${version.org.wildfly} + + + ${project.groupId} + wildfly-microprofile-graphql-feature-pack + ${project.version} + + + + + + scan-graphql + + scan + + test-compile + + [cdi, microprofile-config, microprofile-graphql]==>ee-core-profile-server,microprofile-graphql + + + + org.jboss.galleon galleon-maven-plugin @@ -157,9 +187,9 @@ server-provisioning - provision + provision-file - compile + process-test-classes ${project.build.directory}/wildfly false @@ -169,36 +199,7 @@ ${galleon.fork.embedded} passive+ - - - true - org.wildfly - wildfly-galleon-pack - ${version.org.wildfly} - false - false - - - ${project.groupId} - wildfly-microprofile-graphql-feature-pack - ${project.version} - false - false - - - - - standalone - standalone.xml - - jaxrs-server - jmx-remoting - observability - - microprofile-graphql - - - + target/glow-scan/provisioning.xml diff --git a/testsuite/integration/pom.xml b/testsuite/integration/pom.xml index d75c89c..c0ea704 100644 --- a/testsuite/integration/pom.xml +++ b/testsuite/integration/pom.xml @@ -204,6 +204,37 @@ + + org.wildfly.glow + wildfly-glow-arquillian-plugin + + + + org.wildfly + wildfly-galleon-pack + ${version.org.wildfly} + + + ${project.groupId} + wildfly-microprofile-graphql-feature-pack + ${project.version} + + + standalone-graphql.xml + + + + scan-graphql + + scan + + test-compile + + [bean-validation, cdi, microprofile-config, microprofile-graphql]==>ee-core-profile-server,microprofile-graphql + + + + org.jboss.galleon galleon-maven-plugin @@ -212,9 +243,9 @@ server-provisioning - provision + provision-file - compile + process-test-classes ${project.build.directory}/wildfly false @@ -224,37 +255,7 @@ ${galleon.fork.embedded} passive+ - - - true - org.wildfly - wildfly-galleon-pack - ${version.org.wildfly} - false - false - - - ${project.groupId} - wildfly-microprofile-graphql-feature-pack - ${project.version} - false - false - - - - - standalone - standalone-graphql.xml - - - jaxrs-server - jmx-remoting - - microprofile-platform - microprofile-graphql - - - + target/glow-scan/provisioning.xml diff --git a/testsuite/server-tck/pom.xml b/testsuite/server-tck/pom.xml index b1c9909..470029f 100644 --- a/testsuite/server-tck/pom.xml +++ b/testsuite/server-tck/pom.xml @@ -69,6 +69,40 @@ + + org.wildfly.glow + wildfly-glow-arquillian-plugin + + + + org.wildfly + wildfly-galleon-pack + ${version.org.wildfly} + + + ${project.groupId} + wildfly-microprofile-graphql-feature-pack + ${project.version} + + + + + + scan-graphql + + scan + + test-compile + + + org.eclipse.microprofile.graphql:microprofile-graphql-server-tck + org.eclipse.microprofile.graphql:microprofile-graphql-tck + + [cdi, jsonb, jsonp, microprofile-config, microprofile-graphql]==>ee-core-profile-server,microprofile-graphql + + + + org.jboss.galleon galleon-maven-plugin @@ -77,9 +111,9 @@ server-provisioning - provision + provision-file - compile + process-test-classes ${project.build.directory}/wildfly false @@ -89,36 +123,7 @@ ${galleon.fork.embedded} passive+ - - - true - org.wildfly - wildfly-galleon-pack - ${version.org.wildfly} - false - false - - - ${project.groupId} - wildfly-microprofile-graphql-feature-pack - ${project.version} - false - false - - - - - standalone - standalone.xml - - jaxrs-server - jmx-remoting - observability - - microprofile-graphql - - - + target/glow-scan/provisioning.xml