diff --git a/test/mule-4.2.2/container-itest/pom.xml b/test/mule-4.2.2/container-itest/pom.xml deleted file mode 100644 index c655fd004..000000000 --- a/test/mule-4.2.2/container-itest/pom.xml +++ /dev/null @@ -1,141 +0,0 @@ - - - - io.opentracing.contrib.specialagent.test - mule-4.2.2 - 1.5.5-SNAPSHOT - - 4.0.0 - - container-itest - - - 4.2.2 - 2.2.2 - 1.2.4 - 1.4.7 - ${project.basedir}/src/test/mule-home - - - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.1.1 - - - unpack-services - process-test-resources - - unpack - - - - - org.mule.services - mule-service-weave - ${mule.service.weave.version} - mule-service - ${mule.home}/services/mule-service-weave - - - org.mule.services - mule-service-scheduler - ${mule.service.scheduler.version} - mule-service - ${mule.home}/services/mule-service-scheduler - - - org.mule.services - mule-service-http - ${mule.service.http.version} - mule-service - ${mule.home}/services/mule-service-http - - - ${mule.home}/services - - - - copy-test-app - process-test-resources - - copy - - - - - io.opentracing.contrib.specialagent.test - test-app - ${project.version} - mule-application - - - ${mule.home}/apps - - - - - - - - - - - com.google.guava - guava - 25.1-jre - - - - org.mule.runtime - mule-module-launcher - ${mule.version} - - - org.mule.runtime - mule-core - ${mule.version} - - - org.mule.runtime - mule-module-extensions-spring-support - ${mule.version} - - - org.mule.runtime - mule-module-service - ${mule.version} - - - - - - anypoint-exchange-v2 - Anypoint Exchange - https://maven.anypoint.mulesoft.com/api/v2/maven - default - - - mulesoft-releases - MuleSoft Releases Repository - https://repository.mulesoft.org/releases/ - default - - - - - mulesoft-releases - mulesoft release repository - default - https://repository.mulesoft.org/releases/ - - false - - - - - \ No newline at end of file diff --git a/test/mule-4.2.2/container-itest/src/test/java/io/opentracing/contrib/specialagent/test/Mule4ContainerITest.java b/test/mule-4.2.2/container-itest/src/test/java/io/opentracing/contrib/specialagent/test/Mule4ContainerITest.java deleted file mode 100644 index e64255a77..000000000 --- a/test/mule-4.2.2/container-itest/src/test/java/io/opentracing/contrib/specialagent/test/Mule4ContainerITest.java +++ /dev/null @@ -1,45 +0,0 @@ -package io.opentracing.contrib.specialagent.test; - -import io.opentracing.contrib.specialagent.TestUtil; -import org.mule.runtime.core.api.config.MuleProperties; -import org.mule.runtime.module.launcher.MuleContainer; - -import java.io.File; -import java.net.HttpURLConnection; -import java.net.URL; - -public class Mule4ContainerITest { - - private static final String MULE_HOME = "/src/test/mule-home"; - - public static void main(String[] args) throws Exception { - TestUtil.initTerminalExceptionHandler(); - - final String homeDir = new File("").getAbsolutePath() + MULE_HOME; - System.setProperty("mule.simpleLog", "true"); - System.setProperty(MuleProperties.MULE_HOME_DIRECTORY_PROPERTY, homeDir); - System.setProperty(MuleProperties.MULE_BASE_DIRECTORY_PROPERTY, homeDir); - MuleContainer container = new MuleContainer(new String[]{"-M-Dmule.forceConsoleLog", - "-M-Dmule.verbose.exceptions=true", - "-M-XX:-UseBiasedLocking", - "-M-Dfile.encoding=UTF-8", - "-M-Dmule.timeout.disable=false"}); - - try { - container.start(false); - - final URL obj = new URL("http://localhost:8081"); - final HttpURLConnection connection = (HttpURLConnection) obj.openConnection(); - connection.setRequestMethod("GET"); - int responseCode = connection.getResponseCode(); - - if (200 != responseCode) - throw new AssertionError("ERROR: response: " + responseCode); - - TestUtil.checkSpan("java-grizzly-ahc", 2); - TestUtil.checkSpan("java-grizzly-http-server", 2); - } finally { - container.stop(); - } - } -} diff --git a/test/mule-4.2.2/container-itest/src/test/mule-home/.gitignore b/test/mule-4.2.2/container-itest/src/test/mule-home/.gitignore deleted file mode 100644 index 290030480..000000000 --- a/test/mule-4.2.2/container-itest/src/test/mule-home/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.mule \ No newline at end of file diff --git a/test/mule-4.2.2/container-itest/src/test/mule-home/apps/.gitignore b/test/mule-4.2.2/container-itest/src/test/mule-home/apps/.gitignore deleted file mode 100644 index 86d0cb272..000000000 --- a/test/mule-4.2.2/container-itest/src/test/mule-home/apps/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory -* -# Except this file -!.gitignore \ No newline at end of file diff --git a/test/mule-4.2.2/container-itest/src/test/mule-home/domains/default-anchor.txt b/test/mule-4.2.2/container-itest/src/test/mule-home/domains/default-anchor.txt deleted file mode 100644 index 2233d6fed..000000000 --- a/test/mule-4.2.2/container-itest/src/test/mule-home/domains/default-anchor.txt +++ /dev/null @@ -1 +0,0 @@ -Delete this file while Mule is running to remove the artifact in a clean way. \ No newline at end of file diff --git a/test/mule-4.2.2/container-itest/src/test/mule-home/domains/default/.gitkeep b/test/mule-4.2.2/container-itest/src/test/mule-home/domains/default/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/mule-4.2.2/container-itest/src/test/mule-home/services/.gitignore b/test/mule-4.2.2/container-itest/src/test/mule-home/services/.gitignore deleted file mode 100644 index 86d0cb272..000000000 --- a/test/mule-4.2.2/container-itest/src/test/mule-home/services/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory -* -# Except this file -!.gitignore \ No newline at end of file diff --git a/test/mule-4.2.2/container-itest/src/test/resources/log4j2.xml b/test/mule-4.2.2/container-itest/src/test/resources/log4j2.xml deleted file mode 100644 index 8d3ec8e4a..000000000 --- a/test/mule-4.2.2/container-itest/src/test/resources/log4j2.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/test/mule-4.2.2/pom.xml b/test/mule-4.2.2/pom.xml deleted file mode 100644 index d67fd03b3..000000000 --- a/test/mule-4.2.2/pom.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - io.opentracing.contrib.specialagent.test - test - 1.5.5-SNAPSHOT - - 4.0.0 - - mule-4.2.2 - pom - SpecialAgent Tests for Mule 4.2.2 - - - test-app - container-itest - - - - - - anypoint-exchange-v2 - Anypoint Exchange - https://maven.anypoint.mulesoft.com/api/v2/maven - default - - - mulesoft-releases - MuleSoft Releases Repository - https://repository.mulesoft.org/releases/ - default - - - - - mulesoft-releases - mulesoft release repository - default - https://repository.mulesoft.org/releases/ - - false - - - - \ No newline at end of file diff --git a/test/mule-4.2.2/test-app/mule-artifact.json b/test/mule-4.2.2/test-app/mule-artifact.json deleted file mode 100644 index c20f059cc..000000000 --- a/test/mule-4.2.2/test-app/mule-artifact.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "minMuleVersion": "4.2.2" -} \ No newline at end of file diff --git a/test/mule-4.2.2/test-app/pom.xml b/test/mule-4.2.2/test-app/pom.xml deleted file mode 100644 index 7b8401d99..000000000 --- a/test/mule-4.2.2/test-app/pom.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - 4.0.0 - - - io.opentracing.contrib.specialagent.test - test-app - 1.5.5-SNAPSHOT - - mule-application - - - UTF-8 - UTF-8 - - 4.2.2 - 3.3.5 - - - - - - org.mule.tools.maven - mule-maven-plugin - ${mule.maven.plugin.version} - true - - - - - - - - - org.mule.services - mule-service-http - 1.4.7 - mule-service - provided - - - org.mule.connectors - mule-http-connector - 1.5.11 - mule-plugin - - - org.mule.connectors - mule-sockets-connector - 1.1.5 - mule-plugin - - - - - - - anypoint-exchange-v2 - Anypoint Exchange - https://maven.anypoint.mulesoft.com/api/v2/maven - default - - - mulesoft-releases - MuleSoft Releases Repository - https://repository.mulesoft.org/releases/ - default - - - - - mulesoft-releases - mulesoft release repository - default - https://repository.mulesoft.org/releases/ - - false - - - - diff --git a/test/mule-4.2.2/test-app/src/main/mule/test-config.xml b/test/mule-4.2.2/test-app/src/main/mule/test-config.xml deleted file mode 100644 index a005b730f..000000000 --- a/test/mule-4.2.2/test-app/src/main/mule/test-config.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/test/mule-4.2.2/test-app/src/main/resources/log4j2.xml b/test/mule-4.2.2/test-app/src/main/resources/log4j2.xml deleted file mode 100644 index d6be4190d..000000000 --- a/test/mule-4.2.2/test-app/src/main/resources/log4j2.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file