Skip to content

Spring Boot 3 Upgrade Report #553

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

Merged
merged 38 commits into from
Nov 22, 2022
Merged

Spring Boot 3 Upgrade Report #553

merged 38 commits into from
Nov 22, 2022

Conversation

fabapp2
Copy link
Contributor

@fabapp2 fabapp2 commented Nov 15, 2022

This mega PR is the result of a spike to implement a web UI using the generated report for Spring Boot 3 Upgrade.
Thanks to @sanagaraj-pivotal and @ashakirin who helped make this possible.

rest-service module creates the web-application depending on sbm-recipes-boot-upgrade.
The application takes the path of the application to scan as a startup parameter, performs the scan, and creates a report.
The URL to show the report is given in the console output.
After opening the report in a browser the applicable changes are described in the report and provided recipes can be applied from the report as before when using the shell application.

All migration recipes related to Spring Boot 3 Upgrade Report were moved to src/main/resources/27_30/migration and the report recipe was moved to src/main/resources/27_30/report.

Some recipes were moved into dedicated migration YAML files, others will follow.

@fabapp2 fabapp2 marked this pull request as ready for review November 16, 2022 21:52
fabapp2 and others added 29 commits November 22, 2022 12:39
- Section gets removed when running recipe succeeds, closes #551
- Move report generation into runner
- Add button and change Controller to accept all applicable recipes
- Commented out all code related to "run all recipes" button
- Section fades out before being removed
- Related section in sidebar fades out and gets removed
- page scrolls to the next section
- TestProjectContext supports creating pom.xml with spring-boot-parent of given version
- removed unused variable
- Fixing TestProjectContext when used to create a multi-module project
- Enhance PomBuilder to throw exception on API misuse
- Enhance RecipeTestSupport to use with declarative rewrite recipe
- Fix type check in ConditionDeserializer
@fabapp2 fabapp2 assigned fabapp2 and unassigned fabapp2 Nov 22, 2022
@fabapp2 fabapp2 added this to the v0.13.0 milestone Nov 22, 2022
@fabapp2 fabapp2 assigned fabapp2 and unassigned fabapp2 Nov 22, 2022
@fabapp2 fabapp2 changed the title Webapp demo Spring Boot 3 Upgrade Report Nov 22, 2022
@fabapp2 fabapp2 added the 3.0.0 Spring Boot 3.0.0 label Nov 22, 2022
@fabapp2 fabapp2 merged commit 1edf37d into main Nov 22, 2022
@fabapp2 fabapp2 deleted the webapp-demo branch November 22, 2022 16:01
fabapp2 added a commit that referenced this pull request Jan 31, 2023
* Spring Boot 3 Upgrade Report Web App
* Section gets removed when running recipe succeeds, closes #551
* Move report generation into runner
* Add button and change Controller to accept all applicable recipes
* Commented out all code related to "run all recipes" button
* Section fades out before being removed
* Related section in sidebar fades out and gets removed
* page scrolls to the next section
* Moved add milestone repository for dependencies and plugins to dedicated recipe
* Moved dependency version updates to dedicated recipe
* Moved dependency version updates to dedicated recipe
* Moved recipe for javax to jakarta package change to dedicated recipe
* Moved recipe migration of spring.data properties to dedicated recipe
* Moved recipe for PagingAndSoprtingRepository to dedicated recipe
* Moved new Spring Boot 3.0 upgrade recipes to dedicated dir
* Renamed Helper to something meaningful and fixed condition
* Added missing properties to applicaiton.properties to enable git support
* Replaced tags with pinned sha for GH actions
* Prevent empty commits, closes #527
* Move ImprovedConstructorBinding into dedicated recipe and fix condition
* Fix condition for PagingAndSorting migration
* Fix condition for migrate jakarta packages migration
* Adjust replace button in SpringBootUpgradeReportTestSupport
* Rename report recipe
* Fix conditoon for PagingAndSortingHelper and use in migration
* Add withBootParentOf to TestProjectContext
* TestProjectContext supports creating pom.xml with spring*boot*parent of given version
* removed unused variable
* Fixed recipes names (#555)
* Fixing PagingAndSortingHelperTest conforming to new finder (#556)
* Add recipe to remove image banner, closes #558
* Fixing TestProjectContext when used to create a multi*module project
* Enhance PomBuilder to throw exception on API misuse
* Enhance RecipeTestSupport to use with declarative rewrite recipe
* Fix type check in ConditionDeserializer
* Moved recipes for Boot 2.7 to 3.0 upgrade to respective dirs
* Add report section and recipe to bump boot version to 3.0
* Add a flag to not re*generate report on first request
* Enhanced DependencyHelper and TestProjectContext to allow adding managed dependencies without given version
* Add upgrade dependencies report and migration
* Fix typo
* Renamed rest*service to spring*boot*upgrade
* Fix BannerSupportReportSectionTest
* Remove freemarker markup from expected output fixes SpringMvcAndWebFluxMatchinChnagesReportSectionTest
* Replace ST parsing with string replace
* rework rendering the list of authors
* Add demo for new Spring Boot Upgrade report
* Set triggermesh flag to false on test teardown
* Moved report recipe to report package (again)
* Delete obsolete file

Co*authored*by: ashakirin <[email protected]>
Co*authored*by: Sandeep Nagaraj <59915704+sanagaraj*[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0.0 Spring Boot 3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants