Skip to content

Commit

Permalink
feat : fix spotless formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Mar 29, 2024
1 parent 54eb1d3 commit 19da3f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public class TestKinesisProducerApplication {
@Bean
LocalStackContainer localStackContainer(DynamicPropertyRegistry dynamicPropertyRegistry) {
LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0"));
new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.3.0"));
dynamicPropertyRegistry.add("spring.cloud.aws.endpoint", localStackContainer::getEndpoint);
dynamicPropertyRegistry.add(
"spring.cloud.aws.region.static", localStackContainer::getRegion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public class ContainersConfig {

@Bean
LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) {
LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0"));
LocalStackContainer localStackContainer = new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.3.0"));
registry.add("spring.cloud.aws.credentials.access-key", localStackContainer::getAccessKey);
registry.add("spring.cloud.aws.credentials.secret-key", localStackContainer::getSecretKey);
registry.add("spring.cloud.aws.region.static", localStackContainer::getRegion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ public PostgreSQLContainer<?> postgreSQLContainer() {
@Bean
LocalStackContainer localstackContainer(DynamicPropertyRegistry registry) {
LocalStackContainer localStackContainer =
new LocalStackContainer(DockerImageName.parse("localstack/localstack").withTag("3.3.0"))
new LocalStackContainer(
DockerImageName.parse("localstack/localstack").withTag("3.3.0"))
.withReuse(true);
registry.add("spring.cloud.aws.credentials.access-key", localStackContainer::getAccessKey);
registry.add("spring.cloud.aws.credentials.secret-key", localStackContainer::getSecretKey);
Expand Down

0 comments on commit 19da3f2

Please sign in to comment.