Skip to content

Commit

Permalink
WINDUPRULE-955: updating spring boot tech rhr supported versions (#889)
Browse files Browse the repository at this point in the history
* WINDUPRULE-955: updating spring boot tech rhr supported versions

* WINDUPRULE-955: add upper limit to tech version rule

* WINDUPRULE-955: add test data v2.7.9 file

* update test file

* springboot 2.7.9 artifact

* get test working for spring-boot-2.7.9

* replace test jar with dummy one
  • Loading branch information
m-brophy committed Mar 27, 2023
1 parent e3327cb commit a6724cd
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<rules>
<rule id="springboot-associated-00001">
<when>
<dependency groupId="org.amqphub.spring" artifactId="amqp-10-jms-spring-boot-starter" toVersion="2.0.9" />
<dependency groupId="org.amqphub.spring" artifactId="amqp-10-jms-spring-boot-starter" toVersion="2.2.1" />
</when>
<perform>
<hint title="Unsupported version of AMQP SpringBoot starter" effort="1" category-id="potential">
Expand All @@ -41,7 +41,7 @@
</rule>
<rule id="springboot-associated-00003">
<when>
<dependency groupId="org.jboss.resteasy" artifactId="resteasy-spring-boot-starter" toVersion="2.9.9" />
<dependency groupId="org.jboss.resteasy" artifactId="resteasy-spring-boot-starter" toVersion="3.4.0" />
</when>
<perform>
<hint title="Unsupported version of Resteasy SpringBoot starter" effort="1" category-id="potential">
Expand All @@ -53,7 +53,7 @@
</rule>
<rule id="springboot-associated-00004">
<when>
<dependency groupId="org.infinispan" artifactId="{infinispanArtifactName}" toVersion="2.1.2" />
<dependency groupId="org.infinispan" artifactId="{infinispanArtifactName}" toVersion="2.2.2" />
</when>
<perform>
<hint title="Unsupported version of Infinispan SpringBoot starter" effort="1" category-id="potential">
Expand All @@ -68,7 +68,7 @@
</rule>
<rule id="springboot-associated-00005">
<when>
<dependency groupId="org.keycloak" artifactId="keycloak-spring-boot-starter" toVersion="4.8.2" />
<dependency groupId="org.keycloak" artifactId="keycloak-spring-boot-starter" toVersion="9.0.2" />
</when>
<perform>
<hint title="Unsupported version of Keycloak SpringBoot starter" effort="1" category-id="potential">
Expand All @@ -80,7 +80,7 @@
</rule>
<rule id="springboot-associated-00006">
<when>
<dependency groupId="me.snowdrop" artifactId="narayana-spring-boot-starter" toVersion="2.0.9" />
<dependency groupId="me.snowdrop" artifactId="narayana-spring-boot-starter" toVersion="2.2.0" />
</when>
<perform>
<hint title="Unsupported version of Narayana SpringBoot starter" effort="1" category-id="potential">
Expand All @@ -92,7 +92,7 @@
</rule>
<rule id="springboot-associated-00007">
<when>
<dependency groupId="io.opentracing.contrib" artifactId="opentracing-spring-jaeger-web-starter" toVersion="1.0.0" />
<dependency groupId="io.opentracing.contrib" artifactId="opentracing-spring-jaeger-web-starter" toVersion="3.1.0" />
</when>
<perform>
<hint title="Unsupported version of OpenTracing Spring Jaeger SpringBoot web starter" effort="1" category-id="potential">
Expand Down
8 changes: 4 additions & 4 deletions rules/rules-reviewed/rhr/springboot/springboot.rhamt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@
<!-- rule condition, when it could be fired -->
<when>
<or>
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.0.0" toVersion="2.1.1.RELEASE" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.2.7.RELEASE" toVersion="2.2.9.RELEASE" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.2.12.RELEASE" toVersion="2.3.3.RELEASE" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.3.5.RELEASE" toVersion="2.3.5.RELEASE" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.3.7.RELEASE" toVersion="2.3.9.RELEASE" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.3.11.RELEASE" toVersion="2.3.13.RELEASE" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.4.0" toVersion="2.4.8" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.3.11.RELEASE" toVersion="2.4.8" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.4.10" toVersion="2.5.9" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.5.11" toVersion="2.5.11" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.5.13" toVersion="2.7.4" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.5.13" toVersion="2.7.1" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.7.3" toVersion="2.7.7" />
<dependency groupId="org.springframework.boot" artifactId="{*}" fromVersion="2.7.9" />
</or>
</when>
<!-- rule operation, what to do if it is fired -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ a21bed3c7a7a136c4a2334f5c6d2819f2cf638ee org.infinispan:infinispan-spring-boot-s
c183297ff6406cb3d1c6f4094ee8124ac5899154 org.keycloak:keycloak-spring-boot-starter:3.4.3.Final
860ff3aa55b260780287a96d9893c9ec248c4cd9 me.snowdrop:narayana-spring-boot-starter:1.0.1
5268808f2a7428bd1f77500297379bb0e224be50 io.opentracing.contrib:opentracing-spring-jaeger-web-starter:0.2.2
3165dc304b50b606ecc31bdb7ea3cc224c5d4f03 org.jboss.resteasy:resteasy-spring-boot-starter:2.0.0.Final
3165dc304b50b606ecc31bdb7ea3cc224c5d4f03 org.jboss.resteasy:resteasy-spring-boot-starter:2.0.0.Final
8be4bbd647972d110e9996239394f07a9125dc7d org.springframework.boot:spring-boot-jarmode-layertools:2.7.9
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<rule id="springboot-00002-test">
<when>
<not>
<iterable-filter size="3">
<iterable-filter size="4">
<hint-exists message="Spring Boot has to be updated to a version supported by Red Hat Runtimes"/>
</iterable-filter>
</not>
Expand Down

0 comments on commit a6724cd

Please sign in to comment.