File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed
src/main/java/eu/xenit/solr/backup/s3 Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ junitJupiterVersion=5.4.2
55mockitoVersion =2.27.0
66solrVersion =6.6.5
77assVersion =2.0.8.2
8- amazonVersion =1.12.782
8+ amazonVersion =2.35.7
99jaxBVersion =4.0.5
1010restAssuredVersion =5.5.1
1111awaitablityVersion =4.3.0
Original file line number Diff line number Diff line change @@ -28,15 +28,15 @@ dependencies {
2828 testImplementation " org.junit.jupiter:junit-jupiter-params:${ junitJupiterVersion} "
2929 testImplementation " org.awaitility:awaitility:${ awaitablityVersion} "
3030
31- testImplementation platform(" software.amazon.awssdk:bom:2.35.7 " )
31+ testImplementation platform(" software.amazon.awssdk:bom:${ amazonVersion } " )
3232
3333 testImplementation(' software.amazon.awssdk:aws-core' )
3434 testImplementation(' software.amazon.awssdk:s3' )
3535 testImplementation(" software.amazon.awssdk:sts" )
3636
37- testImplementation " software.amazon.awssdk:apache-client:2.35.7 "
37+ testImplementation " software.amazon.awssdk:apache-client:${ amazonVersion } "
3838
39- testImplementation " software.amazon.awssdk:netty-nio-client:2.35.7 "
39+ testImplementation " software.amazon.awssdk:netty-nio-client:${ amazonVersion } "
4040
4141 testRuntimeOnly " org.glassfish.jaxb:jaxb-runtime:${ jaxBVersion} "
4242}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ dependencies {
2020 }
2121 compileOnly " org.alfresco:alfresco-search:${ assVersion} "
2222
23- implementation platform(" software.amazon.awssdk:bom:2.35.7 " )
23+ implementation platform(" software.amazon.awssdk:bom:${ amazonVersion } " )
2424
2525 implementation(' ch.qos.logback:logback-classic:1.4.14' )
2626 compileOnly ' org.projectlombok:lombok:1.18.32'
@@ -29,8 +29,8 @@ dependencies {
2929 implementation(' software.amazon.awssdk:aws-core' )
3030 implementation(' software.amazon.awssdk:s3' )
3131 implementation(" software.amazon.awssdk:sts" )
32- implementation " software.amazon.awssdk:apache-client:2.35.7 "
33- implementation " software.amazon.awssdk:netty-nio-client:2.35.7 "
32+ implementation " software.amazon.awssdk:apache-client:${ amazonVersion } "
33+ implementation " software.amazon.awssdk:netty-nio-client:${ amazonVersion } "
3434 testImplementation(" org.apache.solr:solr-core:${ solrVersion} " ) {
3535 exclude group : ' org.restlet.jee' // Only available in JCenter, not essential in this project.
3636 }
Original file line number Diff line number Diff line change 2626 * config can be overridden via environment variables (use uppercase, with '_' instead of '.'), see
2727 * {@link S3BackupRepositoryConfig#toEnvVar}.
2828 */
29+ @ Getter
2930public class S3BackupRepositoryConfig {
3031 public static final String S3_BUCKET_NAME = "s3.bucket.name" ;
3132 public static final String S3_REGION = "s3.region" ;
@@ -37,23 +38,22 @@ public class S3BackupRepositoryConfig {
3738 public static final String S3_PROXY_HOST = "s3.proxy.host" ;
3839 public static final String S3_PROXY_PORT = "s3.proxy.port" ;
3940
40- @ Getter
4141 private final String bucketName ;
42- @ Getter
42+
4343 private final String region ;
44- @ Getter
44+
4545 private final String accessKey ;
46- @ Getter
46+
4747 private final String secretKey ;
48- @ Getter
48+
4949 private final String proxyHost ;
50- @ Getter
50+
5151 private final int proxyPort ;
52- @ Getter
52+
5353 private final String endpoint ;
54- @ Getter
54+
5555 private final Boolean pathStyleAccessEnabled ;
56- @ Getter
56+
5757 private final Boolean checksumValidationEnabled ;
5858
5959
You can’t perform that action at this time.
0 commit comments