mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-26 01:28:05 +01:00
Migrate from embedded DynamoDBLocal to Testcontainers
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Copyright 2025 Signal Messenger, LLC
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
package org.whispersystems.textsecuregcm.util;
|
||||
|
||||
public class TestcontainersImages {
|
||||
|
||||
private static final String DYNAMO_DB = "${dynamodb.image}";
|
||||
private static final String LOCAL_STACK = "${localstack.image}";
|
||||
private static final String REDIS = "${redis.image}";
|
||||
private static final String REDIS_CLUSTER = "${redis-cluster.image}";
|
||||
|
||||
public static String getDynamoDb() {
|
||||
return DYNAMO_DB;
|
||||
}
|
||||
|
||||
public static String getLocalStack() {
|
||||
return LOCAL_STACK;
|
||||
}
|
||||
|
||||
public static String getRedis() {
|
||||
return REDIS;
|
||||
}
|
||||
|
||||
public static String getRedisCluster() {
|
||||
return REDIS_CLUSTER;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user