File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
services/dynamodb/src/it/java/software/amazon/awssdk/services/dynamodb Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,13 @@ phases:
27
27
- POINT=$(echo $RELEASE_VERSION | cut -d'.' -f3)
28
28
- NEW_VERSION_SNAPSHOT="$MAJOR.$MINOR.$((POINT + 1))-SNAPSHOT"
29
29
- echo "New shapshot version - $NEW_VERSION_SNAPSHOT"
30
- - PREVIOUS_RELEASE_VERSION="$MAJOR.$MINOR.$((POINT - 1))"
31
30
-
32
31
- git checkout master
33
32
- git merge public/release --no-edit
34
33
-
35
34
- mvn versions:set -DnewVersion=$NEW_VERSION_SNAPSHOT -DgenerateBackupPoms=false -DprocessAllModules=true
36
35
- sed -i -E "s/(<version>).+(<\/version>)/\1$RELEASE_VERSION\2/" README.md
37
- - sed -i -E "s/(<awsjavasdk.previous.version>).+(<awsjavasdk.previous.version>)/\1$PREVIOUS_RELEASE_VERSION \2/" pom.xml
36
+ - sed -i -E "s/(<awsjavasdk.previous.version>).+(<\/ awsjavasdk.previous.version>)/\1$RELEASE_VERSION \2/" pom.xml
38
37
-
39
38
- ' git commit -am "Update to next snapshot version: $NEW_VERSION_SNAPSHOT"'
40
39
-
Original file line number Diff line number Diff line change 84
84
</scm >
85
85
<properties >
86
86
<awsjavasdk .version>${project.version} </awsjavasdk .version>
87
- <awsjavasdk .previous.version>2.15.51 </awsjavasdk .previous.version>
87
+ <awsjavasdk .previous.version>2.15.57 </awsjavasdk .previous.version>
88
88
<jackson .version>2.10.5</jackson .version>
89
89
<jackson .databind.version>2.10.5.1</jackson .databind.version>
90
90
<jacksonjr .version>2.11.2</jacksonjr .version>
525
525
<excludeModule >aws-sdk-java</excludeModule >
526
526
<excludModeule >archetype-lambda</excludModeule >
527
527
<excludeModule >sdk-benchmarks</excludeModule >
528
- <excludeModule >iotwireless</excludeModule >
529
528
<excludeModule >bundle</excludeModule >
530
- <excludeModule >transcribestreaming</excludeModule >
531
529
<!-- ignore crt because it's in preview TODO: remove this when CRT is GA -->
532
530
<excludModeule >aws-crt-client</excludModeule >
533
531
</excludeModules >
534
- <ignoreMissingNewVersion >true</ignoreMissingNewVersion >
532
+ <ignoreMissingOldVersion >true</ignoreMissingOldVersion >
535
533
<breakBuildOnBinaryIncompatibleModifications >true</breakBuildOnBinaryIncompatibleModifications >
536
534
<breakBuildOnSourceIncompatibleModifications >true</breakBuildOnSourceIncompatibleModifications >
537
535
<overrideCompatibilityChangeParameters >
Original file line number Diff line number Diff line change @@ -197,7 +197,8 @@ private String getInputContent() {
197
197
+ " \" " + HASH_KEY_NAME + "\" :{ \n "
198
198
+ " \" S\" :\" " + HASH_KEY_VALUE + "\" \n "
199
199
+ " }\n "
200
- + " }\n "
200
+ + " },\n "
201
+ + " \" ConsistentRead\" : true"
201
202
+ "}" .trim ();
202
203
}
203
204
@@ -221,6 +222,7 @@ private void getItemAndAssertValues(DynamoDbClient client) {
221
222
Map <String , AttributeValue > item =
222
223
client .getItem (GetItemRequest .builder ()
223
224
.tableName (TABLE_NAME )
225
+ .consistentRead (true )
224
226
.key (Collections .singletonMap (HASH_KEY_NAME , AttributeValue .builder ()
225
227
.s (HASH_KEY_VALUE )
226
228
.build ()))
You can’t perform that action at this time.
0 commit comments