mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
Fix(dynamoDB): handle null for Java AWS SDK v2 DynamoDB EnhancedClient correctly (#309)
* Fixes DynamoDB support for adding values to a list for the SET ... ADD query/command * Revert "Fixes DynamoDB support for adding values to a list for the SET ... ADD query/command" * fix(dynamoDB): support Java AWS SDK v2 enhanced client null values * fix(dynamoDB): added compatibility integration test for DynamoDB EnhancedClient. Including suggestion for default host+port for test fixture, so `mvn test -q` can work even without setting the env variable set.
This commit is contained in:
1 parent
e83f6d6cbd
commit
8bac81807e
6 files changed
+387
-24
No files matched your search
@@ -39,10 +39,15 @@ import java.util.UUID;
|
||||
*/
|
||||
public final class TestFixtures {
|
||||
|
||||
private static final URI ENDPOINT = URI.create(
|
||||
System.getenv("FLOCI_ENDPOINT") != null
|
||||
? System.getenv("FLOCI_ENDPOINT")
|
||||
: "http://localhost:4566");
|
||||
private static final URI ENDPOINT;
|
||||
|
||||
static {
|
||||
String endpointStr = System.getenv("FLOCI_ENDPOINT");
|
||||
if (endpointStr == null || endpointStr.trim().isEmpty()) {
|
||||
endpointStr = "http://localhost:4566";
|
||||
}
|
||||
ENDPOINT = URI.create(endpointStr);
|
||||
}
|
||||
|
||||
private static final Region REGION = Region.US_EAST_1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user