Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency org.sonarsource.scanner.maven:sonar-maven-plugin to v3.11.0.3922 #645

Merged
merged 3 commits into from
Mar 13, 2024
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
2 changes: 1 addition & 1 deletion aws-kinesis-project/consumer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<spotless.version>2.43.0</spotless.version>
<dependency-check-maven.version>9.0.9</dependency-check-maven.version>
<properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
<sonar-maven-plugin.version>3.10.0.2594</sonar-maven-plugin.version>
<sonar-maven-plugin.version>3.11.0.3922</sonar-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
<jacoco.minimum.coverage>0.80</jacoco.minimum.coverage>
<jacoco.utReportFolder>${project.build.directory}/jacoco/test</jacoco.utReportFolder>
Expand Down
18 changes: 11 additions & 7 deletions aws-kinesis-project/producer/.localstack/init-aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ awslocal kinesis create-stream --stream-name my-test-stream --shard-count 1

awslocal dynamodb create-table \
--table-name spring-stream-lock-registry \
--attribute-definitions AttributeName=lockKey,AttributeType=S AttributeName=sortKey,AttributeType=S \
--key-schema AttributeName=lockKey,KeyType=HASH AttributeName=sortKey,KeyType=RANGE \
--attribute-definitions AttributeName=lockKey,AttributeType=S \
--key-schema AttributeName=lockKey,KeyType=HASH \
--provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5 \
--tags Key=Owner,Value=localstack
--tags Key=Owner,Value=localstack \
--billing-mode PROVISIONED

awslocal dynamodb create-table \
--table-name spring-stream-metadata \
--attribute-definitions AttributeName=KEY,AttributeType=S \
--key-schema AttributeName=KEY,KeyType=HASH \
--attribute-definitions AttributeName=metadataKey,AttributeType=S \
--key-schema AttributeName=metadataKey,KeyType=HASH \
--provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5 \
--tags Key=Owner,Value=localstack
--tags Key=Owner,Value=localstack \
--billing-mode PROVISIONED

awslocal dynamodb list-tables
awslocal kinesis list-streams
awslocal kinesis list-streams

echo "LocalStack initialized successfully"
3 changes: 1 addition & 2 deletions aws-kinesis-project/producer/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ services:
ports:
- "4566:4566"
environment:
- SERVICES=kinesis, dynamodb
- SERVICES=kinesis, dynamodb, iam
- DEFAULT_REGION=us-east-1
volumes:
- "../.localstack/init-aws.sh:/etc/localstack/init/ready.d/init-aws.sh" # ready hook
- localstack:/tmp/localstack

volumes:
localstack:
2 changes: 1 addition & 1 deletion aws-kinesis-project/producer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
<configuration>
<java>
<googleJavaFormat>
<version>1.18.1</version>
<version>1.19.2</version>
<style>AOSP</style>
</googleJavaFormat>
</java>
Expand Down