mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 14:48:07 +01:00
Make s3 endpoints configurable
This commit is contained in:
committed by
ravi-signal
parent
3a5704a5cc
commit
d67847e5b1
@@ -8,8 +8,11 @@ package org.whispersystems.textsecuregcm.configuration;
|
||||
import jakarta.validation.Valid;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.annotation.Nullable;
|
||||
import java.net.URI;
|
||||
|
||||
public record CdnConfiguration(@NotNull @Valid StaticAwsCredentialsFactory credentials,
|
||||
@NotBlank String bucket,
|
||||
@NotBlank String region) {
|
||||
@NotBlank String region,
|
||||
@Nullable URI endpointOverride) {
|
||||
}
|
||||
|
||||
@@ -5,11 +5,12 @@
|
||||
|
||||
package org.whispersystems.textsecuregcm.configuration;
|
||||
|
||||
import jakarta.validation.Valid;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import javax.annotation.Nullable;
|
||||
import java.net.URI;
|
||||
|
||||
public record PagedSingleUseKEMPreKeyStoreConfiguration(
|
||||
@NotBlank String bucket,
|
||||
@NotBlank String region) {
|
||||
@NotBlank String region,
|
||||
@Nullable URI endpointOverride) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user