Skip to content

Latest commit

 

History

History

v2-migration

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

AWS SDK for Java v2 Migration Tool

Description

This modules contains OpenRewrite recipes to automate migration from the AWS SDK for Java v1 to the AWS SDK for Java v2.

Usage

For steps on performing the migration, see our Developer Guide.

Development

To build this module locally for fast development, run the following command.

mvn clean install -pl :bom-internal,:bom,:v2-migration -P quick --am

Testing

There are two types of tests available: unit tests and end-to-end functional tests.

  • Unit tests

Unit tests reside in the test folder in this module. They use RewriteTest interface

  • End-to-end functional tests

End-to-end functional tests are in v2-migration-tests module. It contains sample applications using the AWS SDK for Java v1 and compares the transformed code with the expected v2 code and ensures it compiles.