mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
feat(route53resolver): support VPC DNSSEC configuration updates (#8904)
This commit is contained in:
1 parent
7796320d11
commit
9a38bd0bd2
10 files changed
+214
-10
No files matched your search
@@ -136,7 +136,7 @@ Operation counts are exact. For dispatch-table services (Query and JSON 1.1) eac
|
||||
| [CloudFront](cloudfront.md) | `/2020-05-31/distribution/*`, `/2020-05-31/cache-policy/*`, `/2020-05-31/function/*`, `/2020-05-31/key-value-store/*` | REST XML | 97 |
|
||||
| [CloudFront KeyValueStore](cloudfront.md#key-value-stores) | `/key-value-stores/*` | REST JSON | 6 |
|
||||
| [Route53](route53.md) | `/2013-04-01/hostedzone/*`, `/2013-04-01/healthcheck/*`, `/2013-04-01/change/*`, `/2013-04-01/delegationset/*` | REST XML | 31 |
|
||||
| [Route 53 Resolver](route53resolver.md) | `POST /` + `X-Amz-Target: Route53Resolver.*` | JSON 1.1 | 22 |
|
||||
| [Route 53 Resolver](route53resolver.md) | `POST /` + `X-Amz-Target: Route53Resolver.*` | JSON 1.1 | 24 |
|
||||
| [Amazon SageMaker](sagemaker.md) | `POST /` + `X-Amz-Target: SageMaker.*` | JSON 1.1 | 20 |
|
||||
| [SageMaker Runtime](sagemaker.md#endpoint-hosting) | `/endpoints/{EndpointName}/invocations` | REST (binary payload) | 1 |
|
||||
| [Cloud Map](cloudmap.md) | `POST /` + `X-Amz-Target: Route53AutoNaming_v20170314.*` | JSON 1.1 | 22 |
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
| `DisassociateResolverRule` | Removes the association between a resolver rule and a VPC. |
|
||||
| `GetResolverRuleAssociation` | Returns a resolver rule association by id. |
|
||||
| `ListResolverRuleAssociations` | Lists all resolver rule associations. |
|
||||
| `UpdateResolverDnssecConfig` | Creates or updates a VPC's DNSSEC validation configuration and returns its terminal validation status. |
|
||||
| `GetResolverDnssecConfig` | Returns a stable DNSSEC validation configuration for an existing VPC, defaulting to `DISABLED` before its first update. |
|
||||
| `TagResource` | Adds or overwrites tags on a resolver endpoint, resolver rule or custom firewall domain list, by ARN. |
|
||||
| `UntagResource` | Removes tag keys from a resolver endpoint, resolver rule or custom firewall domain list; absent keys are ignored. |
|
||||
| `ListTagsForResource` | Lists a resource's tags, paginated by `MaxResults` (default and maximum 100) and `NextToken`. |
|
||||
@@ -39,9 +41,10 @@ needs it present and stable without any create call. This logic predates the res
|
||||
this service and is untouched.
|
||||
|
||||
Everything else (custom firewall domain lists, resolver endpoints, resolver rules,
|
||||
rule associations) is backed by real per-service storage, added this session. Ids use
|
||||
the project's standard random-suffix convention (`rslvr-fdl-...`, `rslvr-in-...` /
|
||||
`rslvr-out-...`, `rslvr-rr-...`, `rslvr-rrassoc-...`), distinct from the deterministic
|
||||
rule associations and DNSSEC configurations) is backed by real per-service storage,
|
||||
added this session. Ids use the project's standard random-suffix convention
|
||||
(`rslvr-fdl-...`, `rslvr-in-...` / `rslvr-out-...`, `rslvr-rr-...`,
|
||||
`rslvr-rrassoc-...`, `rdsc-...`), distinct from the deterministic
|
||||
managed-list ids. Resolver endpoint ids are direction-aware as in AWS: `rslvr-in-` for
|
||||
`INBOUND` (and `INBOUND_DELEGATION`), `rslvr-out-` for `OUTBOUND`. Any other `Direction`
|
||||
is rejected with `InvalidParameterException`.
|
||||
|
||||
@@ -74,6 +74,11 @@ public class Route53ResolverJsonHandler {
|
||||
service.getResolverRuleAssociation(text(request, "ResolverRuleAssociationId"), region));
|
||||
case "ListResolverRuleAssociations" -> handleListResolverRuleAssociations(region);
|
||||
|
||||
case "UpdateResolverDnssecConfig" -> dnssecConfigResponse(service.updateResolverDnssecConfig(
|
||||
request, region, accountId));
|
||||
case "GetResolverDnssecConfig" -> dnssecConfigResponse(service.getResolverDnssecConfig(
|
||||
text(request, "ResourceId"), region));
|
||||
|
||||
case "TagResource" -> {
|
||||
service.tagResource(text(request, "ResourceArn"), request.get("Tags"), region, accountId);
|
||||
yield Response.ok(objectMapper.createObjectNode()).build();
|
||||
@@ -195,4 +200,8 @@ public class Route53ResolverJsonHandler {
|
||||
}
|
||||
return Response.ok(result).build();
|
||||
}
|
||||
|
||||
private Response dnssecConfigResponse(ObjectNode config) {
|
||||
return Response.ok(objectMapper.createObjectNode().set("ResolverDNSSECConfig", config)).build();
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,7 @@ import io.floci.aws.core.storage.StorageFactory;
|
||||
import io.floci.aws.services.ec2.Ec2Service;
|
||||
import io.floci.aws.services.ec2.model.NetworkInterface;
|
||||
import io.floci.aws.services.ec2.model.Subnet;
|
||||
import io.floci.aws.services.ec2.model.Vpc;
|
||||
import jakarta.enterprise.context.ApplicationScoped;
|
||||
import jakarta.inject.Inject;
|
||||
import org.jboss.logging.Logger;
|
||||
@@ -87,6 +88,7 @@ public class Route53ResolverService {
|
||||
private final StorageBackend<String, ObjectNode> endpointStore;
|
||||
private final StorageBackend<String, ObjectNode> ruleStore;
|
||||
private final StorageBackend<String, ObjectNode> ruleAssociationStore;
|
||||
private final StorageBackend<String, ObjectNode> dnssecConfigStore;
|
||||
/**
|
||||
* The {@code IpAddressRequests} each endpoint was created with, keyed by endpoint id.
|
||||
* Kept beside the endpoint rather than on it: the modeled {@code ResolverEndpoint} shape
|
||||
@@ -117,6 +119,8 @@ public class Route53ResolverService {
|
||||
new TypeReference<Map<String, ObjectNode>>() {});
|
||||
this.ruleAssociationStore = storageFactory.create("route53resolver",
|
||||
"route53resolver-rule-associations.json", new TypeReference<Map<String, ObjectNode>>() {});
|
||||
this.dnssecConfigStore = storageFactory.create("route53resolver",
|
||||
"route53resolver-dnssec-configs.json", new TypeReference<Map<String, ObjectNode>>() {});
|
||||
this.endpointIpRequestStore = storageFactory.create("route53resolver",
|
||||
"route53resolver-endpoint-ip-requests.json",
|
||||
new TypeReference<Map<String, ObjectNode>>() {});
|
||||
@@ -133,10 +137,12 @@ public class Route53ResolverService {
|
||||
StorageBackend<String, ObjectNode> endpointStore,
|
||||
StorageBackend<String, ObjectNode> ruleStore,
|
||||
StorageBackend<String, ObjectNode> ruleAssociationStore,
|
||||
StorageBackend<String, ObjectNode> dnssecConfigStore,
|
||||
StorageBackend<String, ObjectNode> endpointIpRequestStore,
|
||||
StorageBackend<String, ObjectNode> tagStore,
|
||||
ObjectMapper objectMapper) {
|
||||
this(domainListStore, endpointStore, ruleStore, ruleAssociationStore, endpointIpRequestStore, tagStore,
|
||||
this(domainListStore, endpointStore, ruleStore, ruleAssociationStore, dnssecConfigStore,
|
||||
endpointIpRequestStore, tagStore,
|
||||
objectMapper, null);
|
||||
}
|
||||
|
||||
@@ -144,6 +150,7 @@ public class Route53ResolverService {
|
||||
StorageBackend<String, ObjectNode> endpointStore,
|
||||
StorageBackend<String, ObjectNode> ruleStore,
|
||||
StorageBackend<String, ObjectNode> ruleAssociationStore,
|
||||
StorageBackend<String, ObjectNode> dnssecConfigStore,
|
||||
StorageBackend<String, ObjectNode> endpointIpRequestStore,
|
||||
StorageBackend<String, ObjectNode> tagStore,
|
||||
ObjectMapper objectMapper, Ec2Service ec2Service) {
|
||||
@@ -151,6 +158,7 @@ public class Route53ResolverService {
|
||||
this.endpointStore = endpointStore;
|
||||
this.ruleStore = ruleStore;
|
||||
this.ruleAssociationStore = ruleAssociationStore;
|
||||
this.dnssecConfigStore = dnssecConfigStore;
|
||||
this.endpointIpRequestStore = endpointIpRequestStore;
|
||||
this.tagStore = tagStore;
|
||||
this.objectMapper = objectMapper;
|
||||
@@ -591,6 +599,63 @@ public class Route53ResolverService {
|
||||
return recordsIn(ruleAssociationStore, region);
|
||||
}
|
||||
|
||||
// ---------- VPC DNSSEC validation ----------
|
||||
|
||||
public synchronized ObjectNode updateResolverDnssecConfig(JsonNode request, String region, String accountId) {
|
||||
String resourceId = requireText(request, "ResourceId", INVALID_PARAMETER);
|
||||
String validation = requireText(request, "Validation", INVALID_PARAMETER);
|
||||
requireEnum(validation, "Validation", List.of("ENABLE", "DISABLE", "USE_LOCAL_RESOURCE_SETTING"),
|
||||
INVALID_PARAMETER);
|
||||
requireDnssecVpc(resourceId, region);
|
||||
String key = region + "::" + resourceId;
|
||||
ObjectNode config = dnssecConfigStore.get(key).map(ObjectNode::deepCopy)
|
||||
.orElseGet(() -> newDnssecConfig(resourceId, accountId));
|
||||
String validationStatus = switch (validation) {
|
||||
case "ENABLE" -> "ENABLED";
|
||||
case "DISABLE" -> "DISABLED";
|
||||
case "USE_LOCAL_RESOURCE_SETTING" -> "USE_LOCAL_RESOURCE_SETTING";
|
||||
default -> throw new IllegalStateException("Unexpected DNSSEC validation: " + validation);
|
||||
};
|
||||
config.put("ValidationStatus", validationStatus);
|
||||
dnssecConfigStore.put(key, config);
|
||||
return config.deepCopy();
|
||||
}
|
||||
|
||||
public synchronized ObjectNode getResolverDnssecConfig(String resourceId, String region) {
|
||||
if (resourceId == null || resourceId.isBlank()) {
|
||||
throw new AwsException(INVALID_PARAMETER, "ResourceId is required", 400);
|
||||
}
|
||||
Vpc vpc = requireDnssecVpc(resourceId, region);
|
||||
return dnssecConfigStore.get(region + "::" + resourceId)
|
||||
.orElseGet(() -> {
|
||||
if (vpc == null) {
|
||||
throw new AwsException("ResourceNotFoundException",
|
||||
"DNSSEC configuration not found for VPC: " + resourceId, 400);
|
||||
}
|
||||
ObjectNode config = newDnssecConfig(resourceId, vpc.getOwnerId());
|
||||
config.put("ValidationStatus", "DISABLED");
|
||||
dnssecConfigStore.put(region + "::" + resourceId, config);
|
||||
return config;
|
||||
}).deepCopy();
|
||||
}
|
||||
|
||||
private Vpc requireDnssecVpc(String resourceId, String region) {
|
||||
if (ec2Service == null) {
|
||||
return null;
|
||||
}
|
||||
return ec2Service.describeVpcs(region, List.of(resourceId), Map.of()).stream()
|
||||
.findFirst().orElseThrow(() -> new AwsException("AccessDeniedException",
|
||||
"Unable to access VPC: " + resourceId, 400));
|
||||
}
|
||||
|
||||
private ObjectNode newDnssecConfig(String resourceId, String accountId) {
|
||||
ObjectNode config = objectMapper.createObjectNode();
|
||||
config.put("Id", "rdsc-" + UUID.randomUUID().toString().replace("-", "").substring(0, 16));
|
||||
config.put("OwnerId", accountId);
|
||||
config.put("ResourceId", resourceId);
|
||||
return config;
|
||||
}
|
||||
|
||||
/**
|
||||
* The ids of the rules {@code accountId} has associated with {@code vpcId}. The DNS server reads
|
||||
* these off the packet path, where there is no caller, so the account comes from the resource the
|
||||
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
package io.floci.aws.services.route53resolver;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||
import io.floci.aws.core.storage.InMemoryStorage;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertThrows;
|
||||
|
||||
class Route53ResolverDnssecStorageTest {
|
||||
|
||||
@Test
|
||||
void failedUpdatePreservesStoredValidationStatus() {
|
||||
ObjectMapper objectMapper = new ObjectMapper();
|
||||
InMemoryStorage<String, ObjectNode> dnssecConfigs = new InMemoryStorage<>() {
|
||||
@Override
|
||||
public synchronized void put(String key, ObjectNode value) {
|
||||
if ("DISABLED".equals(value.path("ValidationStatus").asText())) {
|
||||
throw new IllegalStateException("simulated storage write failure");
|
||||
}
|
||||
super.put(key, value);
|
||||
}
|
||||
};
|
||||
Route53ResolverService service = new Route53ResolverService(new InMemoryStorage<>(),
|
||||
new InMemoryStorage<>(), new InMemoryStorage<>(), new InMemoryStorage<>(),
|
||||
dnssecConfigs, new InMemoryStorage<>(), new InMemoryStorage<>(), objectMapper);
|
||||
String region = "us-east-1";
|
||||
String accountId = "000000000000";
|
||||
String vpcId = "vpc-dnssec-storage-test";
|
||||
ObjectNode request = objectMapper.createObjectNode().put("ResourceId", vpcId)
|
||||
.put("Validation", "ENABLE");
|
||||
ObjectNode original = service.updateResolverDnssecConfig(request, region, accountId);
|
||||
|
||||
request.put("Validation", "DISABLE");
|
||||
assertThrows(IllegalStateException.class,
|
||||
() -> service.updateResolverDnssecConfig(request, region, accountId));
|
||||
|
||||
ObjectNode stored = dnssecConfigs.get(region + "::" + vpcId).orElseThrow();
|
||||
assertEquals("ENABLED", stored.path("ValidationStatus").asText());
|
||||
assertEquals(original.path("Id").asText(), stored.path("Id").asText());
|
||||
assertEquals("ENABLED", service.getResolverDnssecConfig(vpcId, region)
|
||||
.path("ValidationStatus").asText());
|
||||
}
|
||||
}
|
||||
+2
-1
@@ -49,7 +49,8 @@ class Route53ResolverEndpointInterfacesTest {
|
||||
subnet.setVpcId("vpc-aaa");
|
||||
when(ec2.describeSubnets(eq(REGION), anyList(), any())).thenReturn(List.of(subnet));
|
||||
return new Route53ResolverService(new InMemoryStorage<>(), endpoints, new InMemoryStorage<>(),
|
||||
new InMemoryStorage<>(), ipRequests, new InMemoryStorage<>(), objectMapper, ec2);
|
||||
new InMemoryStorage<>(), new InMemoryStorage<>(), ipRequests,
|
||||
new InMemoryStorage<>(), objectMapper, ec2);
|
||||
}
|
||||
|
||||
private NetworkInterface eni() {
|
||||
|
||||
+77
@@ -103,6 +103,83 @@ class Route53ResolverIntegrationTest {
|
||||
.statusCode(400);
|
||||
}
|
||||
|
||||
@Test
|
||||
void updateResolverDnssecConfig_createsVpcConfiguration() {
|
||||
String vpc = ec2Ok("CreateVpc", "CidrBlock", "10.82.0.0/16")
|
||||
.extract().path("CreateVpcResponse.vpc.vpcId");
|
||||
try {
|
||||
String id = dnssec("GetResolverDnssecConfig", "{\"ResourceId\":\"" + vpc + "\"}")
|
||||
.statusCode(200)
|
||||
.body("ResolverDNSSECConfig.ResourceId", equalTo(vpc))
|
||||
.body("ResolverDNSSECConfig.OwnerId", notNullValue())
|
||||
.body("ResolverDNSSECConfig.ValidationStatus", equalTo("DISABLED"))
|
||||
.extract().path("ResolverDNSSECConfig.Id");
|
||||
assertTrue(id.startsWith("rdsc-"));
|
||||
dnssec("GetResolverDnssecConfig", "{\"ResourceId\":\"" + vpc + "\"}")
|
||||
.statusCode(200).body("ResolverDNSSECConfig.Id", equalTo(id));
|
||||
|
||||
dnssec("UpdateResolverDnssecConfig", "{\"ResourceId\":\"" + vpc
|
||||
+ "\",\"Validation\":\"ENABLE\"}")
|
||||
.statusCode(200)
|
||||
.body("ResolverDNSSECConfig.Id", equalTo(id))
|
||||
.body("ResolverDNSSECConfig.ResourceId", equalTo(vpc))
|
||||
.body("ResolverDNSSECConfig.OwnerId", notNullValue())
|
||||
.body("ResolverDNSSECConfig.ValidationStatus", equalTo("ENABLED"));
|
||||
|
||||
dnssec("GetResolverDnssecConfig", "{\"ResourceId\":\"" + vpc + "\"}")
|
||||
.statusCode(200).body("ResolverDNSSECConfig.Id", equalTo(id));
|
||||
dnssec("UpdateResolverDnssecConfig", "{\"ResourceId\":\"" + vpc
|
||||
+ "\",\"Validation\":\"USE_LOCAL_RESOURCE_SETTING\"}")
|
||||
.statusCode(200)
|
||||
.body("ResolverDNSSECConfig.Id", equalTo(id))
|
||||
.body("ResolverDNSSECConfig.ValidationStatus", equalTo("USE_LOCAL_RESOURCE_SETTING"));
|
||||
dnssec("GetResolverDnssecConfig", "{\"ResourceId\":\"" + vpc + "\"}")
|
||||
.statusCode(200).body("ResolverDNSSECConfig.ValidationStatus",
|
||||
equalTo("USE_LOCAL_RESOURCE_SETTING"));
|
||||
dnssec("UpdateResolverDnssecConfig", "{\"ResourceId\":\"" + vpc
|
||||
+ "\",\"Validation\":\"DISABLE\"}")
|
||||
.statusCode(200)
|
||||
.body("ResolverDNSSECConfig.Id", equalTo(id))
|
||||
.body("ResolverDNSSECConfig.ValidationStatus", equalTo("DISABLED"));
|
||||
dnssec("GetResolverDnssecConfig", "{\"ResourceId\":\"" + vpc + "\"}")
|
||||
.statusCode(200).body("ResolverDNSSECConfig.ValidationStatus", equalTo("DISABLED"));
|
||||
dnssec("GetResolverDnssecConfig", "{\"ResourceId\":\"" + vpc + "\"}",
|
||||
AUTH_HEADER.replace("us-east-1", "us-west-2")).statusCode(400)
|
||||
.body("__type", equalTo("AccessDeniedException"));
|
||||
dnssec("GetResolverDnssecConfig", "{\"ResourceId\":\"" + vpc + "\"}",
|
||||
AUTH_HEADER.replace("AKID", "000000000077")).statusCode(400)
|
||||
.body("__type", equalTo("AccessDeniedException"));
|
||||
} finally {
|
||||
ec2Ok("DeleteVpc", "VpcId", vpc);
|
||||
}
|
||||
dnssec("GetResolverDnssecConfig", "{\"ResourceId\":\"" + vpc + "\"}")
|
||||
.statusCode(400).body("__type", equalTo("AccessDeniedException"));
|
||||
dnssec("UpdateResolverDnssecConfig", "{\"ResourceId\":\"" + vpc
|
||||
+ "\",\"Validation\":\"ENABLE\"}")
|
||||
.statusCode(400).body("__type", equalTo("AccessDeniedException"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void updateResolverDnssecConfig_requiresExistingVpcAndValidValidation() {
|
||||
dnssec("UpdateResolverDnssecConfig", "{\"ResourceId\":\"vpc-missing\",\"Validation\":\"ENABLE\"}")
|
||||
.statusCode(400).body("__type", equalTo("AccessDeniedException"));
|
||||
dnssec("UpdateResolverDnssecConfig", "{\"ResourceId\":\"vpc-missing\",\"Validation\":\"INVALID\"}")
|
||||
.statusCode(400).body("__type", equalTo("InvalidParameterException"));
|
||||
dnssec("GetResolverDnssecConfig", "{\"ResourceId\":\"vpc-missing\"}")
|
||||
.statusCode(400).body("__type", equalTo("AccessDeniedException"));
|
||||
}
|
||||
|
||||
private static ValidatableResponse dnssec(String action, String body) {
|
||||
return dnssec(action, body, AUTH_HEADER);
|
||||
}
|
||||
|
||||
private static ValidatableResponse dnssec(String action, String body, String authorization) {
|
||||
return given().contentType(CONTENT_TYPE)
|
||||
.header("X-Amz-Target", "Route53Resolver." + action)
|
||||
.header("Authorization", authorization).body(body)
|
||||
.when().post("/").then();
|
||||
}
|
||||
|
||||
// ── CreateResolverEndpoint: the request member is IpAddresses ──────────────
|
||||
//
|
||||
// AWS names it IpAddresses; its list shape is named IpAddressRequest, which is
|
||||
|
||||
+4
-2
@@ -41,7 +41,8 @@ class Route53ResolverReplayFallbackTest {
|
||||
void setUp() {
|
||||
endpointIpRequests = new InMemoryStorage<>();
|
||||
service = new Route53ResolverService(new InMemoryStorage<>(), new InMemoryStorage<>(),
|
||||
new InMemoryStorage<>(), new InMemoryStorage<>(), endpointIpRequests, new InMemoryStorage<>(),
|
||||
new InMemoryStorage<>(), new InMemoryStorage<>(), new InMemoryStorage<>(),
|
||||
endpointIpRequests, new InMemoryStorage<>(),
|
||||
objectMapper);
|
||||
}
|
||||
|
||||
@@ -145,7 +146,8 @@ class Route53ResolverReplayFallbackTest {
|
||||
}
|
||||
};
|
||||
Route53ResolverService racing = new Route53ResolverService(new InMemoryStorage<>(), new InMemoryStorage<>(),
|
||||
new InMemoryStorage<>(), new InMemoryStorage<>(), readOnce, new InMemoryStorage<>(), objectMapper);
|
||||
new InMemoryStorage<>(), new InMemoryStorage<>(), new InMemoryStorage<>(),
|
||||
readOnce, new InMemoryStorage<>(), objectMapper);
|
||||
ObjectNode created = racing.createResolverEndpoint(createRequest("tok-race", "10.0.0.5"), REGION, ACCOUNT);
|
||||
String id = created.get("Id").asText();
|
||||
ObjectNode record = objectMapper.createObjectNode();
|
||||
|
||||
+2
-1
@@ -28,7 +28,8 @@ class Route53ResolverRuleDeletionRaceTest {
|
||||
void aDeletionWaitsForAnAssociationBeingStoredAndThenRefusesTheRule() throws Exception {
|
||||
ParkingStore<ObjectNode> associations = new ParkingStore<>();
|
||||
Route53ResolverService service = new Route53ResolverService(new InMemoryStorage<>(), new InMemoryStorage<>(),
|
||||
new InMemoryStorage<>(), associations, new InMemoryStorage<>(), new InMemoryStorage<>(), objectMapper);
|
||||
new InMemoryStorage<>(), associations, new InMemoryStorage<>(), new InMemoryStorage<>(),
|
||||
new InMemoryStorage<>(), objectMapper);
|
||||
String ruleId = service.createResolverRule(objectMapper.createObjectNode().put("RuleType", "SYSTEM")
|
||||
.put("DomainName", "example.com"), REGION, "000000000000").get("Id").asText();
|
||||
associations.parkNextWrite();
|
||||
|
||||
+2
-1
@@ -37,7 +37,8 @@ class Route53ResolverTaggingStorageTest {
|
||||
InMemoryStorage<String, ObjectNode> tagStore) {
|
||||
return new Route53ResolverService(new InMemoryStorage<>(),
|
||||
new AccountAwareStorageBackend<>(endpointDelegate, null, DEFAULT_ACCOUNT),
|
||||
new InMemoryStorage<>(), new InMemoryStorage<>(), new InMemoryStorage<>(), tagStore,
|
||||
new InMemoryStorage<>(), new InMemoryStorage<>(), new InMemoryStorage<>(),
|
||||
new InMemoryStorage<>(), tagStore,
|
||||
objectMapper);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user