Skip to content

Commit 9182aa4

Browse files
committed
[XEN-3146] use version variable and class-level getter annotation
1 parent b424f07 commit 9182aa4

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ junitJupiterVersion=5.4.2
55
mockitoVersion=2.27.0
66
solrVersion=6.6.5
77
assVersion=2.0.8.2
8-
amazonVersion=1.12.782
8+
amazonVersion=2.35.7
99
jaxBVersion=4.0.5
1010
restAssuredVersion=5.5.1
1111
awaitablityVersion=4.3.0

integration-tests/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

solr-backup/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

solr-backup/src/main/java/eu/xenit/solr/backup/s3/S3BackupRepositoryConfig.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* config can be overridden via environment variables (use uppercase, with '_' instead of '.'), see
2727
* {@link S3BackupRepositoryConfig#toEnvVar}.
2828
*/
29+
@Getter
2930
public 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

0 commit comments

Comments
 (0)