diff --git a/rules/rules-reviewed/eapxp/eapxp5/eapxp_microprofile_metrics_not_supported.mta.xml b/rules/rules-reviewed/eapxp/eapxp5/eapxp_microprofile_metrics_not_supported.mta.xml new file mode 100644 index 000000000..c98e114bb --- /dev/null +++ b/rules/rules-reviewed/eapxp/eapxp5/eapxp_microprofile_metrics_not_supported.mta.xml @@ -0,0 +1,42 @@ + + + + This ruleset identifies JBoss EAP XP 3.x/4.x applications that uses MicroProfile Metrics, which is not supported on JBoss EAP XP 5.x or later. + + + + + + + + JBossEAP + EAPXP + + + + + + + + + + + IMPORT + + + + + + If you migrate your application to JBoss EAP XP 5.0 (or later), please note that MicroProfile Metrics is not supported. + + EAPXP + + + + + \ No newline at end of file diff --git a/rules/rules-reviewed/eapxp/eapxp5/eapxp_microprofile_opentracing_not_supported.mta.xml b/rules/rules-reviewed/eapxp/eapxp5/eapxp_microprofile_opentracing_not_supported.mta.xml new file mode 100644 index 000000000..4d569233d --- /dev/null +++ b/rules/rules-reviewed/eapxp/eapxp5/eapxp_microprofile_opentracing_not_supported.mta.xml @@ -0,0 +1,40 @@ + + + + This ruleset identifies JBoss EAP XP 3.x/4.x applications that uses MicroProfile OpenTracing, which is not supported on JBoss EAP XP 5.x or later. + + + + + + + + JBossEAP + EAPXP + + + + + + + + + + + + + + + If you migrate your application to JBoss EAP XP 5.0 (or later), please note that MicroProfile OpenTracing is not supported. + + EAPXP + + + + + \ No newline at end of file diff --git a/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_metrics_not_supported/MicroProfileApplication.java b/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_metrics_not_supported/MicroProfileApplication.java new file mode 100644 index 000000000..e7fbb825b --- /dev/null +++ b/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_metrics_not_supported/MicroProfileApplication.java @@ -0,0 +1,5 @@ +package org.jboss.eap.xp.test; + +import org.eclipse.microprofile.metric.*; +public class MicroProfileApplication { +} \ No newline at end of file diff --git a/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_metrics_not_supported/pom.xml b/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_metrics_not_supported/pom.xml new file mode 100644 index 000000000..20e8857dd --- /dev/null +++ b/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_metrics_not_supported/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + org.jboss.windup.rules.test + windup-rulesets-test-pom + 1.0.0-SNAPSHOT + + + eapxp_application + + + + org.eclipse.microprofile.metrics + microprofile-metrics-api + + + + \ No newline at end of file diff --git a/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_opentracing_not_supported/MicroProfileApplication.java b/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_opentracing_not_supported/MicroProfileApplication.java new file mode 100644 index 000000000..a5d070113 --- /dev/null +++ b/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_opentracing_not_supported/MicroProfileApplication.java @@ -0,0 +1,6 @@ +package org.jboss.eap.xp.test; + +import org.eclipse.microprofile.opentracing.*; + +public class MicroProfileApplication { +} \ No newline at end of file diff --git a/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_opentracing_not_supported/pom.xml b/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_opentracing_not_supported/pom.xml new file mode 100644 index 000000000..5694ba202 --- /dev/null +++ b/rules/rules-reviewed/eapxp/eapxp5/tests/data/data-eapxp_microprofile_opentracing_not_supported/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + + org.jboss.windup.rules.test + windup-rulesets-test-pom + 1.0.0-SNAPSHOT + + + eapxp_application + + + + org.eclipse.microprofile.opentracing + microprofile-opentracing-api + + + + \ No newline at end of file diff --git a/rules/rules-reviewed/eapxp/eapxp5/tests/eapxp_microprofile_metrics_not_supported.mta.test.xml b/rules/rules-reviewed/eapxp/eapxp5/tests/eapxp_microprofile_metrics_not_supported.mta.test.xml new file mode 100644 index 000000000..2073f6b27 --- /dev/null +++ b/rules/rules-reviewed/eapxp/eapxp5/tests/eapxp_microprofile_metrics_not_supported.mta.test.xml @@ -0,0 +1,23 @@ + + + data/data-eapxp_microprofile_metrics_not_supported/ + ../eapxp_microprofile_metrics_not_supported.mta.xml + + + + + + + + + + + + + + + + + diff --git a/rules/rules-reviewed/eapxp/eapxp5/tests/eapxp_microprofile_opentracing_not_supported.mta.test.xml b/rules/rules-reviewed/eapxp/eapxp5/tests/eapxp_microprofile_opentracing_not_supported.mta.test.xml new file mode 100644 index 000000000..2094943b4 --- /dev/null +++ b/rules/rules-reviewed/eapxp/eapxp5/tests/eapxp_microprofile_opentracing_not_supported.mta.test.xml @@ -0,0 +1,23 @@ + + + data/data-eapxp_microprofile_opentracing_not_supported/ + ../eapxp_microprofile_opentracing_not_supported.mta.xml + + + + + + + + + + + + + + + + +