New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WINDUPRULE-394: Spring boot version support rule #378
WINDUPRULE-394: Spring boot version support rule #378
Conversation
retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the comments in the code, some more issues:
springboot.rhamt.xml
should be moved intorules-reviewed/rhr/springboot/
path- remove
spring-boot-admin-sample-war-1.2.4.war
- add
spring-boot-sample.war
(added into JIRA) intorules-reviewed/rhr/springboot/tests/data/
path for tests
Co-Authored-By: Marco Rizzi <mrizzi@users.noreply.github.com>
Co-Authored-By: Marco Rizzi <mrizzi@users.noreply.github.com>
Co-Authored-By: Marco Rizzi <mrizzi@users.noreply.github.com>
Co-Authored-By: Marco Rizzi <mrizzi@users.noreply.github.com>
Co-Authored-By: Marco Rizzi <mrizzi@users.noreply.github.com>
Co-Authored-By: Marco Rizzi <mrizzi@users.noreply.github.com>
Co-Authored-By: Marco Rizzi <mrizzi@users.noreply.github.com>
Changes applied |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I figured out that the right name it's "Spring Boot", 2 words, so i added some comments to fix it together with one for fixing the test.
Other than this, i think we could enhance the approach dividing the current rule into 2 rules (same and current groupId
and artifactId
values for both):
- a rule that searches with
toVersion
=1
(no matter the minor) without afromVersion
- effort = 3
- category-id = mandatory
- message =
Spring Boot has to be updated to Spring Boot 2.0 before being able to be migrated to a version supported by Red Hat Runtimes
- link = keep the 2 links we already have and add one further with
title
=Spring Boot 2.0 Migration Guide
andhref
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide
- a rule that searches with
fromVersion
=2.0
andtoVersion
=2.1.1.RELEASE
- effort = 1
- category-id = potential
- message =
Spring Boot has to be updated to a version supported by Red Hat Runtimes
- link = keep the 2 links we already have and add one further with
title
=Spring Boot 2.1 - Upgrading from Spring Boot 2.0
andhref
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.1-Release-Notes#upgrading-from-spring-boot-20
Co-Authored-By: Marco Rizzi <mrizzi@users.noreply.github.com>
Co-Authored-By: Marco Rizzi <mrizzi@users.noreply.github.com>
Co-Authored-By: Marco Rizzi <mrizzi@users.noreply.github.com>
…different versions
…different versions
…different versions
…different versions
Successfully tested using applications with Spring 1.3.0 version artifacts |
depends on PR windup/windup#1364