Skip to content

Commit

Permalink
Merge branch 'fix/s3client-region' into fix/aws-sdk-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
elmiomar committed Jan 24, 2025
2 parents 7731249 + f7eec7b commit 4fc2c79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public class NISTDistribServiceConfig {
/**
* the AWS region the service should operate in; this is ignored if mode=local.
*/
@Value("${cloud.aws.region:@null}")
@Value("${cloud.aws.region:us-east-1}")
String region;

/**
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ server:
max-threads: 200
min-spare-threads: 10

cloud:
aws:
region: us-east-1

logging:
file: distservice.log
path: /var/log/dist-service
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ spring:
enabled: false

server:
port: 8083
port: 0 # Avoid conflict with actual service running port 8083

distrib:
bagstore:
Expand Down

0 comments on commit 4fc2c79

Please sign in to comment.