Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci_test_vector_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ jobs:
if: matrix.os == 'macos-15-intel' && matrix.library == 'TestVectors'
uses: douglascamata/setup-docker-macos-action@v1.1.0

- name: Pre-pull DynamoDB Local image with retry
if: matrix.library == 'TestVectors'
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 3
command: docker pull amazon/dynamodb-local:latest

- name: Setup DynamoDB Local
if: matrix.library == 'TestVectors'
uses: rrainn/dynamodb-action@v4.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public void TestTransactWriteAndGet() {
// Put Item into table via transactions
HashMap<String, AttributeValue> item = new HashMap<>();

String partitionValue = "transact";
String partitionValue = "transact" + randomNum;
String sortValue1 = "1";
String sortValue2 = "2";
String attrValue = "lorem ipsum";
Expand Down
49 changes: 4 additions & 45 deletions cfn/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Resources:
- AttributeName: "sort_key"
KeyType: "RANGE"
TableName: !Ref TableName
BillingMode: PAY_PER_REQUEST

# These tables were manually created but not used in CI
# If we have to start using them in CI we just have to add
Expand Down Expand Up @@ -102,9 +103,6 @@ Resources:
KeyType: "HASH"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "state-zip-index"
KeySchema:
- AttributeName: "aws_dbe_b_state"
Expand All @@ -113,36 +111,24 @@ Resources:
KeyType: "RANGE"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "location-index"
KeySchema:
- AttributeName: "aws_dbe_b_location"
KeyType: "HASH"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "stateAndHasSensitiveData-index"
KeySchema:
- AttributeName: "aws_dbe_b_stateAndHasSensitiveData"
KeyType: "HASH"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "buildingAndFloor-index"
KeySchema:
- AttributeName: "aws_dbe_b_buildingAndFloor"
KeyType: "HASH"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "email-birthday-index"
KeySchema:
- AttributeName: "aws_dbe_b_email"
Expand All @@ -151,9 +137,6 @@ Resources:
KeyType: "RANGE"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "address-birthday-index"
KeySchema:
- AttributeName: "aws_dbe_b_address"
Expand All @@ -162,17 +145,12 @@ Resources:
KeyType: "RANGE"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
KeySchema:
- AttributeName: "customer_id"
KeyType: "HASH"
- AttributeName: "create_time"
KeyType: "RANGE"
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
BillingMode: PAY_PER_REQUEST
TableName: !Ref TableWithSimpleBeaconIndexName

# This schema is modeled off of
Expand Down Expand Up @@ -207,9 +185,6 @@ Resources:
KeyType: "RANGE"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "GSI-1"
KeySchema:
- AttributeName: "aws_dbe_b_PK1"
Expand All @@ -218,18 +193,12 @@ Resources:
KeyType: "RANGE"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "GSI-2"
KeySchema:
- AttributeName: "aws_dbe_b_PK2"
KeyType: "HASH"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
- IndexName: "GSI-3"
KeySchema:
- AttributeName: "aws_dbe_b_PK3"
Expand All @@ -238,15 +207,10 @@ Resources:
KeyType: "RANGE"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
KeySchema:
- AttributeName: "partition_key"
KeyType: "HASH"
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
BillingMode: PAY_PER_REQUEST
TableName: !Ref TableWithComplexBeaconIndexName

TestKeystoreTable:
Expand All @@ -268,17 +232,12 @@ Resources:
KeyType: "RANGE"
Projection:
ProjectionType: ALL
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
KeySchema:
- AttributeName: "branch-key-id"
KeyType: "HASH"
- AttributeName: "type"
KeyType: "RANGE"
ProvisionedThroughput:
ReadCapacityUnits: "5"
WriteCapacityUnits: "5"
BillingMode: PAY_PER_REQUEST
TableName: !Ref KeystoreTableName

# This policy SHOULD be given to:
Expand Down
Loading