Commit 035dbe3
authored
feat(java)!: add DDBEC with SDK v2 and remove DDBEC with SDK V1 (#2048)
BREAKING CHANGE: The AWS Database Encryption SDK for DynamoDB will NOT support AWS SDK for Java 1.x in the embedded 2.x version (which was known as DynamoDB Encryption Client(DDBEC)). The embedded DDBEC will now use AWS SDK for Java 2.x. These changes are limited to embedded DDBEC and rest of DB-ESDK has no code changes.
If consumer of DB-ESDK is using APIs from namespace `com.amazonaws.services.dynamodbv2` through DB-ESDK then they have to migrate to use corresponding API from namespace `com.amazonaws.services.dynamodbv2.datamodeling.sdkv2`. If consumer of DB-ESDK are NOT using namespace `com.amazonaws.services.dynamodbv2` through DB-ESDK then there will not be any breaking change when moving to next major version.1 parent 987aec6 commit 035dbe3
202 files changed
Lines changed: 10675 additions & 19385 deletions
File tree
- .github/workflows
- DynamoDbEncryption
- runtimes/java
- src
- main
- java/software/amazon/cryptography/dbencryptionsdk/dynamodb/itemencryptor/internaldafny/legacy
- sdkv1/com/amazonaws/services/dynamodbv2/datamodeling
- encryption
- providers
- sdkv2/com/amazonaws/services/dynamodbv2/datamodeling/sdkv2
- encryption
- exceptions
- materials
- providers
- store
- utils
- internal
- test
- java/software/amazon/cryptography/dbencryptionsdk/dynamodb
- enhancedclient
- validdatamodels
- resources/vectors/encrypted_item
- ciphertext/java
- sdkv1/com/amazonaws/services/dynamodbv2
- datamodeling
- internal
- mapper
- encryption
- integration
- testing
- types
- sdkv2/com/amazonaws/services/dynamodbv2/datamodeling/sdkv2
- encryption
- materials
- providers
- store
- utils
- internal
- testing
- Examples
- runtimes/java
- DDBECwithSDKV2
- gradle/wrapper
- src
- main/java
- test/java
- DynamoDbEncryption/src/main/java/software/amazon/cryptography/examples/keyring
- Migration
- DDBECToAWSDBE
- src/main/java/software/amazon/cryptography/examples/migration/ddbec
- DDBECv2ToAWSDBE
- gradle/wrapper
- src
- main/java/software/amazon/cryptography/examples/migration
- awsdbe
- ddbec
- test/java/software/amazon/cryptography/examples/migration
- awsdbe
- ddbec
- codebuild
- release
- staging
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | | - | |
| 119 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
100 | | - | |
101 | | - | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| 225 | + | |
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
| |||
244 | 246 | | |
245 | 247 | | |
246 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
247 | 267 | | |
248 | 268 | | |
249 | 269 | | |
| |||
0 commit comments