Skip to content

Import swap to new namespace#7144

Merged
RanVaknin merged 1 commit into
feature/master/DDB-mapperv2from
rvaknin/mapper-namespace-import-swap
Jul 15, 2026
Merged

Import swap to new namespace#7144
RanVaknin merged 1 commit into
feature/master/DDB-mapperv2from
rvaknin/mapper-namespace-import-swap

Conversation

@RanVaknin

@RanVaknin RanVaknin commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Changes

This PR does 3 things:

  1. Adjusts the pom.xml's Automatic-Module-Name to point to the new namespace
  2. Search and replace the old namepsace, with the new namespace:
    com.amazonaws.services.dynamodbv2.datamodeling* -> software.amazon.awssdk.mapper.dynamodb*
  3. Adjusts the directory layout to match the new namespace structure:
- services-custom/dynamodb-mapper/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/DynamoDBMapper.java
+ services-custom/dynamodb-mapper/src/main/java/software/amazon/awssdk/mapper/dynamodb/DynamoDBMapper.java

Whats next

After this PR the state of the feature branch would be considered "Stable" and ready to start refactoring and replacing v1 usages with their v2 counterparts. See "Porting operations" section in the below roadmap


DDB mapper v2 roadmap

** BASE PACKAGE SETUP **
+ 1. Source verbatim port ✅
+ 2. Test verbatim port ✅
3. Namespace swap <---- current PR
    
** PORTING OPERATIONS **
1. load()
2. save()
3. query() + scan()
4. deleteItem()
5. updateItem()
6. Batch operations
7. Transactions
8. Misc

** PERFORMANCE IMPROVEMENTS **
1. getTableModel caching
2. Wire "fast" createX AV factory methods to convertors
3. ByteBuffer → SdkBytes copy
4. Others

** DEPENDENCY MODERNIZATION **
1. EasyMock -> Mockito
2. Log4j 1.x -> 2.x
3. commons-logging -> SLF4J

@RanVaknin RanVaknin marked this pull request as ready for review July 14, 2026 23:21
@RanVaknin RanVaknin requested a review from a team as a code owner July 14, 2026 23:21
@RanVaknin RanVaknin merged commit e0daab5 into feature/master/DDB-mapperv2 Jul 15, 2026
4 checks passed
@github-actions

Copy link
Copy Markdown

This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants