mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 12:08:05 +01:00
Introduce a DynamoDB-backed remote config store
This commit is contained in:
committed by
Jon Chambers
parent
4eb7dde1c8
commit
23bc11f3b6
@@ -50,17 +50,20 @@ public class DynamoDbTables {
|
||||
private final TableWithExpiration redeemedReceipts;
|
||||
private final Table subscriptions;
|
||||
private final Table profiles;
|
||||
private final Table remoteConfig;
|
||||
|
||||
@JsonCreator
|
||||
public DynamoDbTables(
|
||||
@JsonProperty("issuedReceipts") final IssuedReceiptsTableConfiguration issuedReceipts,
|
||||
@JsonProperty("redeemedReceipts") final TableWithExpiration redeemedReceipts,
|
||||
@JsonProperty("subscriptions") final Table subscriptions,
|
||||
@JsonProperty("profiles") final Table profiles) {
|
||||
@JsonProperty("profiles") final Table profiles,
|
||||
@JsonProperty("remoteConfig") final Table remoteConfig) {
|
||||
this.issuedReceipts = issuedReceipts;
|
||||
this.redeemedReceipts = redeemedReceipts;
|
||||
this.subscriptions = subscriptions;
|
||||
this.profiles = profiles;
|
||||
this.remoteConfig = remoteConfig;
|
||||
}
|
||||
|
||||
@Valid
|
||||
@@ -86,4 +89,10 @@ public class DynamoDbTables {
|
||||
public Table getProfiles() {
|
||||
return profiles;
|
||||
}
|
||||
|
||||
@Valid
|
||||
@NotNull
|
||||
public Table getRemoteConfig() {
|
||||
return remoteConfig;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user