Skip to content

Commit

Permalink
[WINDUPRULE-1042] Refactor names
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Manuel Leflet Estrada <[email protected]>
  • Loading branch information
jmle committed Dec 5, 2023
1 parent 0cb94e9 commit 71aabbd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<ruleset xmlns="http://windup.jboss.org/schema/jboss-ruleset" id="jms-to-reactive"
<ruleset xmlns="http://windup.jboss.org/schema/jboss-ruleset" id="jms-to-reactive-quarkus"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://windup.jboss.org/schema/jboss-ruleset http://windup.jboss.org/schema/jboss-ruleset/windup-jboss-ruleset.xsd">
<metadata>
<description>
Expand All @@ -14,7 +14,7 @@
<targetTechnology id="quarkus" />
</metadata>
<rules>
<rule id="jms-to-reactive-00000">
<rule id="jms-to-reactive-quarkus-00000">
<when>
<or>
<project>
Expand Down Expand Up @@ -48,7 +48,7 @@
</hint>
</perform>
</rule>
<rule id="jms-to-reactive-00010">
<rule id="jms-to-reactive-quarkus-00010">
<when>
<or>
<javaclass references="javax.ejb.MessageDriven">
Expand All @@ -71,7 +71,7 @@
</hint>
</perform>
</rule>
<rule id="jms-to-reactive-00020">
<rule id="jms-to-reactive-quarkus-00020">
<when>
<or>
<javaclass references="javax.ejb.ActivationConfigProperty">
Expand Down Expand Up @@ -114,7 +114,7 @@
</hint>
</perform>
</rule>
<rule id="jms-to-reactive-00030">
<rule id="jms-to-reactive-quarkus-00030">
<when>
<or>
<javaclass references="javax.jms.Queue">
Expand Down Expand Up @@ -148,7 +148,7 @@
</hint>
</perform>
</rule>
<rule id="jms-to-reactive-00030">
<rule id="jms-to-reactive-quarkus-00030">
<when>
<or>
<javaclass references="javax.jms.Topic">
Expand Down Expand Up @@ -182,7 +182,7 @@
</hint>
</perform>
</rule>
<rule id="jms-to-reactive-00050">
<rule id="jms-to-reactive-quarkus-00050">
<when>
<or>
<javaclass references="javax.jms{*}"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0"?>
<ruletest id="jms-to-quarkus-tests"
<ruletest id="jms-to-reactive-quarkus-tests"
xmlns="http://windup.jboss.org/schema/jboss-ruleset"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://windup.jboss.org/schema/jboss-ruleset http://windup.jboss.org/schema/jboss-ruleset/windup-jboss-ruleset.xsd">
<testDataPath>data/jms-to-reactive</testDataPath>
<rulePath>../jms-to-reactive.windup.xml</rulePath>
<testDataPath>data/jms-to-reactive-quarkus</testDataPath>
<rulePath>../jms-to-reactive-quarkus.windup.xml</rulePath>
<ruleset>
<rules>
<rule id="jms-to-reactive-00000-test">
<rule id="jms-to-reactive-quarkus-00000-test">
<when>
<not>
<iterable-filter size="1">
Expand All @@ -16,10 +16,10 @@
</not>
</when>
<perform>
<fail message="[jms-to-reactive-00000] Hint not found!" />
<fail message="[jms-to-reactive-quarkus-00000] Hint not found!" />
</perform>
</rule>
<rule id="jms-to-reactive-00010-test">
<rule id="jms-to-reactive-quarkus-00010-test">
<when>
<not>
<iterable-filter size="1">
Expand All @@ -28,10 +28,10 @@
</not>
</when>
<perform>
<fail message="[jms-to-reactive-00010] Hint not found!" />
<fail message="[jms-to-reactive-quarkus-00010] Hint not found!" />
</perform>
</rule>
<rule id="jms-to-reactive-00020-test">
<rule id="jms-to-reactive-quarkus-00020-test">
<when>
<not>
<iterable-filter size="1">
Expand All @@ -40,10 +40,10 @@
</not>
</when>
<perform>
<fail message="[jms-to-reactive-00020] Hint not found!" />
<fail message="[jms-to-reactive-quarkus-00020] Hint not found!" />
</perform>
</rule>
<rule id="jms-to-reactive-00030-test">
<rule id="jms-to-reactive-quarkus-00030-test">
<when>
<not>
<iterable-filter size="1">
Expand All @@ -52,10 +52,10 @@
</not>
</when>
<perform>
<fail message="[jms-to-reactive-00030] Hint not found!" />
<fail message="[jms-to-reactive-quarkus-00030] Hint not found!" />
</perform>
</rule>
<rule id="jms-to-reactive-00040-test">
<rule id="jms-to-reactive-quarkus-00040-test">
<when>
<not>
<iterable-filter size="1">
Expand All @@ -64,7 +64,7 @@
</not>
</when>
<perform>
<fail message="[jms-to-reactive-00040] Hint not found!" />
<fail message="[jms-to-reactive-quarkus-00040] Hint not found!" />
</perform>
</rule>
</rules>
Expand Down

0 comments on commit 71aabbd

Please sign in to comment.