diff --git a/demos/pom.xml b/demos/pom.xml new file mode 100644 index 000000000..5d3b2eec1 --- /dev/null +++ b/demos/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + org.jboss.intersmash + intersmash-parent + 0.0.1-SNAPSHOT + ../pom.xml + + + intersmash-demos + pom + + + ws-bootable-jar-example + + + diff --git a/demos/ws-bootable-jar-example/README.md b/demos/ws-bootable-jar-example/README.md new file mode 100644 index 000000000..42e1f8733 --- /dev/null +++ b/demos/ws-bootable-jar-example/README.md @@ -0,0 +1,17 @@ +ws-bootable-jar-example +======================= + +This module provides a simple POC webservice's jaxws application that is built as a bootable jar consisting of Wildfly and the jaxws war file, and then deployed to OpenShift, and tested. + +The jaxws module builds 2 archives, the webservice's war file and a bootable jar to be run on OpenShift + +This module demonstrates building a fresh (relatively current) version of Wildfly using Galleon for inclusion in the bootable jar, as compared to pulling a pre-existing Wildfly image from a public repository. The process enables the user to build a most currently version of Wildfly for testing. + +Module, demos, is not declared in intersmash's root pom.xml file. This example must be run from directory, demos. The user will also require a test.properties file with the appropriate OpenShift reference and configuration information. The test can be run with cmd. + + mvn test -pl ws-bootable-jar-example/ -amd -Dtest=SoapWildflyBootableOpenShiftJarTest \ + -Dxtf.test_properties.path=/ABSOLUTE/PATH/TO/test.properties + +or if test.properties resides in the demos directory cmd, + + mvn test -pl ws-bootable-jar-example/ -amd -Dtest=SoapWildflyBootableOpenShiftJarTest diff --git a/deployments/ws-bootable-jar-example/jaxws/maven/bootable-jar-openshift b/demos/ws-bootable-jar-example/jaxws/maven/bootable-jar-openshift similarity index 100% rename from deployments/ws-bootable-jar-example/jaxws/maven/bootable-jar-openshift rename to demos/ws-bootable-jar-example/jaxws/maven/bootable-jar-openshift diff --git a/deployments/ws-bootable-jar-example/jaxws/pom.xml b/demos/ws-bootable-jar-example/jaxws/pom.xml similarity index 89% rename from deployments/ws-bootable-jar-example/jaxws/pom.xml rename to demos/ws-bootable-jar-example/jaxws/pom.xml index 0a7bb9b19..1a1f16272 100644 --- a/deployments/ws-bootable-jar-example/jaxws/pom.xml +++ b/demos/ws-bootable-jar-example/jaxws/pom.xml @@ -42,12 +42,6 @@ ${project.parent.parent.parent.basedir}/ide-config - 11 - 11 - UTF-8 - - - 3.0.0-M5 6.2.0.Final @@ -101,7 +95,6 @@ org.apache.maven.plugins maven-surefire-plugin - ${version.maven-surefire-plugin} + + + + ${project.basedir}/../../license-header + + + + + @@ -274,63 +292,10 @@ - - - - - - bootable-jar-baremetal - - - maven/bootable-jar-baremetal - - - - - - org.wildfly.plugins - wildfly-jar-maven-plugin - - - - - bootable-baremetal - - ${project.build.finalName}-bootable-baremetal.jar - - process-test-sources - - package - - - - - - - org.apache.maven.plugins - maven-install-plugin - - - install-bootable-jar-baremetal - generate-test-resources - - install-file - - - ${project.groupId} - ${project.artifactId} - ${project.version} - jar - bootable-baremetal - ${project.build.directory}/${project.build.finalName}-bootable-baremetal.jar - - - - + com.diffplug.spotless + spotless-maven-plugin + ${version.spotless-maven-plugin} diff --git a/deployments/pom.xml b/deployments/pom.xml index 34df36da0..c8e019a67 100644 --- a/deployments/pom.xml +++ b/deployments/pom.xml @@ -18,7 +18,6 @@ intersmash-deployments-shared intersmash-deployments-provider openshift-jakarta-sample-standalone - ws-bootable-jar-example diff --git a/deployments/ws-bootable-jar-example/jaxws/maven/bootable-jar-baremetal b/deployments/ws-bootable-jar-example/jaxws/maven/bootable-jar-baremetal deleted file mode 100644 index e69de29bb..000000000 diff --git a/testsuite/pom.xml b/testsuite/pom.xml index 41189b75c..7f5c2e7f3 100644 --- a/testsuite/pom.xml +++ b/testsuite/pom.xml @@ -20,8 +20,6 @@ UTF-8 ${project.parent.basedir}/ide-config - 6.0.0 - 2.0.1 @@ -50,10 +48,6 @@ io.fabric8 openshift-client - - io.fabric8 - kubernetes-model-core - \ No newline at end of file diff --git a/tools/intersmash-tools-core/src/main/java/org/jboss/intersmash/tools/IntersmashConfig.java b/tools/intersmash-tools-core/src/main/java/org/jboss/intersmash/tools/IntersmashConfig.java index e01d58440..56afc1152 100644 --- a/tools/intersmash-tools-core/src/main/java/org/jboss/intersmash/tools/IntersmashConfig.java +++ b/tools/intersmash-tools-core/src/main/java/org/jboss/intersmash/tools/IntersmashConfig.java @@ -89,6 +89,7 @@ public class IntersmashConfig { private static final String WILDFLY_IMAGE_URL = "intersmash.wildfly.image"; private static final String WILDFLY_RUNTIME_IMAGE_URL = "intersmash.wildfly.runtime.image"; private static final String WILDFLY_EE_FEATURE_PACK_LOCATION = "wildfly.ee-feature-pack.location"; + private static final String WILDFLY_FEATURE_PACK_LOCATION = "wildfly.feature-pack.location"; private static final String WILDFLY_CLOUD_FEATURE_PACK_LOCATION = "wildfly.cloud-feature-pack.location"; private static final String WILDFLY_EE_CHANNEL_LOCATION = "wildfly.ee-channel.location"; private static final String WILDFLY_BOMS_EE_SERVER_VERSION = "bom.wildfly-ee.version"; @@ -111,6 +112,7 @@ public class IntersmashConfig { // ACTIVEMQ private static final String ACTIVEMQ_IMAGE_URL = "intersmash.activemq.image"; + private static final String ACTIVEMQ_INIT_IMAGE_URL = "intersmash.activemq.init.image"; // DB private static final String MYSQL_IMAGE_URL = "intersmash.mysql.image"; @@ -236,19 +238,6 @@ public static String bootableJarImageURL() { return XTFConfig.get(BOOTABLE_JAR_IMAGE_URL); } - // rls test start ------------------- - private static final String LEGACY_WILDFLY_IMAGE_URL = "intersmash.legacy.wildfly.image"; - private static final String LEGACY_WILDFLY_RUNTIME_IMAGE_URL = "intersmash.legacy.wildfly.runtime.image"; - - public static String legacyWildflyImageURL() { - return XTFConfig.get(LEGACY_WILDFLY_IMAGE_URL); - } - - public static String legacyWildflyRuntimeImageURL() { - return XTFConfig.get(LEGACY_WILDFLY_RUNTIME_IMAGE_URL); - } - // rls test end ------------------- - public static String wildflyImageURL() { return XTFConfig.get(WILDFLY_IMAGE_URL); } @@ -303,6 +292,10 @@ public static String activeMQImageUrl() { return XTFConfig.get(ACTIVEMQ_IMAGE_URL); } + public static String activeMQInitImageUrl() { + return XTFConfig.get(ACTIVEMQ_INIT_IMAGE_URL); + } + public static String getPostgreSQLImage() { return XTFConfig.get(PGSQL_IMAGE_URL); } @@ -373,6 +366,10 @@ public static String getWildflyEeFeaturePackLocation() { return XTFConfig.get(WILDFLY_EE_FEATURE_PACK_LOCATION); } + public static String getWildflyFeaturePackLocation() { + return XTFConfig.get(WILDFLY_FEATURE_PACK_LOCATION); + } + public static String getWildflyCloudFeaturePackLocation() { return XTFConfig.get(WILDFLY_CLOUD_FEATURE_PACK_LOCATION); } diff --git a/tools/intersmash-tools-provisioners/pom.xml b/tools/intersmash-tools-provisioners/pom.xml index f21283590..8c6ac8035 100644 --- a/tools/intersmash-tools-provisioners/pom.xml +++ b/tools/intersmash-tools-provisioners/pom.xml @@ -160,16 +160,6 @@ - - - src/main/resources/filtered - true - - - src/main/resources - false - -