Skip to content

Commit

Permalink
fix project
Browse files Browse the repository at this point in the history
  • Loading branch information
rieckpil committed Jan 23, 2024
1 parent fe9eb86 commit 5a952b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ event-processing:
spring:
cloud:
aws:

region:
static: eu-central-1
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ static void beforeAll() throws IOException, InterruptedException {
static void overrideConfiguration(DynamicPropertyRegistry registry) {
registry.add("event-processing.order-event-queue", () -> QUEUE_NAME);
registry.add("event-processing.order-event-bucket", () -> BUCKET_NAME);
registry.add("cloud.aws.credentials.access-key", localStack::getAccessKey);
registry.add("cloud.aws.credentials.secret-key", localStack::getSecretKey);
registry.add("spring.cloud.aws.credentials.access-key", localStack::getAccessKey);
registry.add("spring.cloud.aws.credentials.secret-key", localStack::getSecretKey);
System.setProperty("aws.region", "eu-central-1");
}

@TestConfiguration
Expand Down

0 comments on commit 5a952b3

Please sign in to comment.