Major migrations made easy
summary
Demonstration shows OpenRewrite using an AST-based refactoring engine with exact type attribution and format preservation to upgrade a Spring Petclinic from Spring Boot 1.5 on Java 8 to Spring Boot 2.5 and then to Java 17; discovery lists 217 recipes available and ~50 Spring Boot recipes, scans take ~10–15 seconds, and most changes apply automatically as Java visitor recipes. Result compiles but mvn verify yields two test failures to fix manually.
AI-written summary · about
chapters (18)
- 0:00Start
- 0:30Automating Major Migrations
- 2:32Spring Boot
- 2:51Building Microservices
- 5:57Spring Framework 6
- 10:40Format Preservation
- 14:47Running Migration Recipes
- 16:55Add the Open Rewrite Plugin
- 20:37Web Parameter Arguments
- 20:56Application Properties
- 21:47The Junit Migration
- 22:35Converting Expected Exceptions
- 23:13Migrate to Java 11 Using a Different Module
- 26:25Maven Verify
- 27:40Fixing Static Analysis Findings
- 29:25Spring Boot Migrator
- 35:43Resources
- 44:12Automatic Deletion of Feature Toggles
related talks
51mMajor Migrations Made Easy
15mMajor migrations made easy
17mMajor migrations made easy
13mMajor migrations made easy
13mModernize your money-maker
43mAutomate Code Changes - Bringing OpenRewrite to the IDE
54mHybrid Modernization: Combining OpenRewrite's Precision with LLM Intelligence for Spring
41mOpen Rewrite – Dive in Automated Refactoring
