InvalidArgument"));
}
-
- public static final class GuardDisabledProfile implements QuarkusTestProfile {
- @Override
- public MapEach override is inert for the other classes. Each is read by a single service: RDS, the @@ -66,11 +72,15 @@ import java.util.Set; * EMR release catalogue, Firehose delivery, ElastiCache and the DynamoDB backend. No other class * here calls the service an override changes, none calls DynamoDB, and no class here posts an * emulator reset apart from {@code DynamoDbBackendResetIntegrationTest}, whose reset is the refused - * one. + * one. The two refusals the guard setting turns off only answer a request signed for an unlisted + * scope or a known REST JSON service's request on a route that is not its own, and only + * {@code UnknownServiceScopeGuardDisabledIntegrationTest} sends either. * - *
A class joins only if no other class here calls the service its setting changes, and if it - * neither resets the emulator nor calls DynamoDB, directly or through a CloudFormation stack. A - * class that needs RDS mocked and nothing else can join on those terms. + *
A class joins if every setting here is either one it relies on or one that never reaches its + * requests, and if any setting it adds never reaches the requests of a class already here. It must + * also neither reset the emulator nor call DynamoDB, directly or through a CloudFormation stack, nor + * expect either refusal above, so a class that needs RDS mocked and nothing else can join on those + * terms. */ public class RdsMockProfile implements QuarkusTestProfile { @@ -96,7 +106,8 @@ public class RdsMockProfile implements QuarkusTestProfile { Map.entry("floci.services.firehose.flush-record-count", "2"), Map.entry("floci.services.elasticache.default-image", ELASTICACHE_SHELL_LESS_IMAGE), Map.entry("floci.services.elasticache.shell-less-backend", "true"), - Map.entry("floci.services.elasticache.shell-less-backend-dbfilename", "dump.kdb")); + Map.entry("floci.services.elasticache.shell-less-backend-dbfilename", "dump.kdb"), + Map.entry("floci.protocols.reject-unknown-service-scope", "false")); } @Override