Skip to content

jkschneider/refactor-reactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refactor Reactor

This project is a demonstration of how we could use Netflix Rewrite to auto-remediate API deprecations for users of Project Reactor. Rewrite makes it possible to automatically fix code in a style-preserving way.

To test-drive:

  1. Run ./gradlew pTML from the project root. This will publish a snapshot jar containing the @AutoRewrite rules to your maven local repository.

  2. cd example.

  3. Run ./gradlew lintSource. This will present the user with a report indicating that there are changes that need to be made:

lintSource

  1. Run ./gradlew fixSourceLint. This will present a similar report as lintSource, but also make the changes to the underlying source files.

fixSourceLint

  1. Run git diff to examine the changes that were made.

About

Demonstration of auto-remediating Project Reactor API changes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages