Migrate AWS SDK v1 in Groovy sources to v2
Apache 2.0Renames v1 client and model types in Groovy sources to their v2 equivalents, turns new Model() followed by setters on the same variable into a v2 Model.builder()...build() chain, and makes interactions stubbed on a Spock mock of a v1 async client return a completed CompletableFuture, as the v2 async client's methods do.
org. openrewrite. aws. sdk. MigrateAwsSdkV1Groovymod run . --recipe= org. openrewrite. aws. sdk. MigrateAwsSdkV1GroovyInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.