Files
floci/src/test/resources/application.yml
T
jwoa95 a27670c4bb feat(rekognition): add face collection lifecycle and search (#8001) (#8004)
Recreate the reviewed Rekognition changes on the existing upstream main base using a verified commit. The complete file tree is identical to PR head 19f259b43e1ec8a3ce5fd2a50eb9c21e4ed604df, preserving the collection, pagination, persistence and model-validation fixes while removing the unsigned merge.

Generate constraints for every modeled operation with constraints=True. Select the served operation in the handler, validate its request once, then dispatch. Preserve UnknownOperationException for unserved actions.

Move constraint tests to the handler boundary and verify newly modeled operations are detected without maintaining an allowlist. Verified 189 Java tests, 55 generator tests, Checkstyle, generated-data, documentation and partition checks. Addresses review 5865133468.
2026-11-11 22:19:38 -04:00

614 lines
16 KiB
YAML

quarkus:
http:
port: 0
test-port: 0
# Integration signatures use localhost as the public test authority. Keep the test listener
# explicit so the production loopback default does not change the signed host.
host: 0.0.0.0
limits:
max-body-size: ${floci.protocols.max-request-size}M
max-header-size: 256K
max-initial-line-length: 262144
floci:
base-url: "http://localhost:4566"
network:
security-group-enforcement:
enabled: true
helper-image: floci/network-helper:local
default-region: us-east-1
default-account-id: "000000000000"
partitions:
strict: false
allow-unknown-regions: false
ai-mock-config-file: ${AI_MOCK_CONFIG:src/test/resources/fixtures/ai-mock-config.json}
storage:
mode: memory
persistent-path: ./target/test-data
prune-volumes-on-delete: true
wal:
compaction-interval-ms: 60000
services:
rekognition:
flush-interval-ms: 60000
ssm:
flush-interval-ms: 60000
dynamodb:
flush-interval-ms: 60000
sns:
flush-interval-ms: 60000
lambda:
flush-interval-ms: 60000
cloudwatchlogs:
# Includes saved Logs Insights query definitions.
flush-interval-ms: 60000
cloudwatchmetrics:
flush-interval-ms: 60000
paymentcryptography:
flush-interval-ms: 60000
secretsmanager:
flush-interval-ms: 60000
acm:
flush-interval-ms: 60000
opensearch:
flush-interval-ms: 60000
sagemaker:
flush-interval-ms: 60000
batch:
flush-interval-ms: 60000
lightsail:
flush-interval-ms: 60000
codepipeline:
flush-interval-ms: 60000
s3vectors:
flush-interval-ms: 60000
s3tables:
flush-interval-ms: 60000
ecs:
flush-interval-ms: 60000
codebuild:
flush-interval-ms: 60000
config:
flush-interval-ms: 60000
transcribe:
flush-interval-ms: 60000
codedeploy:
flush-interval-ms: 60000
resource-groups:
mode: ${FLOCI_STORAGE_SERVICES_RESOURCE_GROUPS_MODE:}
flush-interval-ms: ${FLOCI_STORAGE_SERVICES_RESOURCE_GROUPS_FLUSH_INTERVAL_MS:5000}
tagging:
flush-interval-ms: 60000
elasticbeanstalk:
flush-interval-ms: 60000
cloudfront:
appsync:
flush-interval-ms: 60000
rum:
flush-interval-ms: 60000
resourceexplorer2:
mode: memory
flush-interval-ms: 60000
fis:
flush-interval-ms: 60000
guardduty:
flush-interval-ms: 60000
emrserverless:
flush-interval-ms: 60000
lakeformation:
flush-interval-ms: 60000
auth:
validate-signatures: false
presign-secret: test-secret
security:
extra-cors-allowed-origins: ${EXTRA_CORS_ALLOWED_ORIGINS:}
extra-cors-allowed-headers: ${EXTRA_CORS_ALLOWED_HEADERS:}
extra-cors-expose-headers: ${EXTRA_CORS_EXPOSE_HEADERS:}
disable-cors-headers: false
# The test listener binds all interfaces so Quarkus keeps localhost as its test authority.
# This is test-only; production keeps the loopback default.
allow-unsafe-network-exposure: true
allow-private-jwt-targets: true
init-hooks:
dir: /etc/floci/init
shell-executable: /bin/sh
timeout-seconds: 5
shutdown-grace-period-seconds: 2
tls:
enabled: false
self-signed: true
protocols:
strict-claiming: false
reject-unknown-service-scope: true
docker:
log-max-size: "10m"
log-max-file: "3"
resource-namespace: ""
services:
ssm:
enabled: true
max-parameter-history: 5
sqs:
enabled: true
default-visibility-timeout: 30
max-message-size: 1048576
endpoint-strategy: floci
cloudwatch-metrics-enabled: false # tests publish themselves, so no tick stamps another test's queue behind its back
s3:
enabled: true
enforce-auth: false
default-presign-expiry-seconds: 3600
global-bucket-namespace: false
lifecycle-sweep-enabled: false # tests run the sweep themselves, so no bucket's rules apply behind another test's back
lifecycle-sweep-interval-seconds: 60
dynamodb:
enabled: true
vector-index-allocation-seconds: 0
vector-index-backfill-seconds: 0
latest-restorable-lag-seconds: 0
backend: native
sns:
enabled: true
lambda:
enabled: true
reconcile-containers-on-startup: true
container-drain-timeout-seconds: 15
docker-flags: ""
honour-architectures: false
zip-max-entries: 100000
async-retry-delay-seconds: 1
durable-sweep-enabled: true
durable-sweep-interval-seconds: 1
# aws-config-path:
hot-reload:
enabled: true
reactive-s3-sync:
enabled: true
async: false
apigateway:
enabled: true
vtl-max-loops: 10000
vtl-max-output-chars: 1048576
vtl-timeout-millis: 5000
apigatewayv2:
enabled: true
iam:
enabled: true
enforcement-enabled: false
seed-deployer-principal: false
msk:
enabled: true
mock: true
scram-reconciliation-interval-ms: 5000
default-image: "redpandadata/redpanda:latest"
amazonmq:
enabled: true
mock: true
amqp-host-port-base: 5672
amqp-host-port-max: 5699
console-host-port-base: 15672
console-host-port-max: 15699
kinesis-analytics:
enabled: true
mock: true
elasticache:
enabled: true
proxy-base-port: 6379
proxy-max-port: 6399
default-image: "valkey/valkey:8"
default-memcached-image: "memcached:1.6"
memorydb:
enabled: true
mock: false
proxy-base-port: 6400
proxy-max-port: 6419
default-image: "valkey/valkey:8"
redshift:
enabled: true
automated-snapshots-enabled: false
cloudwatch-metrics-enabled: true
snapshot-sweep-interval-seconds: 60
snapshot-copy-enabled: false
snapshot-copy-sweep-interval-seconds: 60
default-port: 5439
image-version: postgres:15-alpine
poll-interval-ms: 1000
proxy-base-port: 7100
proxy-max-port: 7199
default-credential-duration-seconds: 900
proxy-handshake-timeout-millis: 10000
proxy-backend-connect-timeout-millis: 5000
proxy-max-connections: 2000
spectrum-max-rows: 1000000
rds:
enabled: true
mock: false
proxy-base-port: 7001
proxy-max-port: 7099
default-sql-server-image: "mcr.microsoft.com/mssql/server:2022-latest"
proxy-handshake-timeout-millis: 10000
proxy-backend-connect-timeout-millis: 5000
proxy-max-connections: 100
aurora-auto-pause-enabled: true
aurora-resume-delay-millis: 0
rds-data:
enabled: true
transaction-ttl-seconds: 180
database-resuming-exception-enabled: false
dsql:
enabled: true
mock: true
port: 0
redshift-data:
enabled: true
result-ttl-hours: 24
max-concurrent-statements: 10
queue-capacity: 100
shutdown-timeout-seconds: 10
redshift-serverless:
enabled: true
snapshot-expiration-enabled: false
snapshot-expiration-sweep-interval-seconds: 60
snapshot-copy-enabled: false
snapshot-copy-sweep-interval-seconds: 60
scheduled-actions-enabled: false
scheduled-action-sweep-interval-seconds: 60
neptune:
enabled: true
proxy-base-port: 8182
proxy-max-port: 8282
default-image: "tinkerpop/gremlin-server:3.7.3"
eventbridge:
enabled: true
eventbridgev2:
enabled: true
cloudmap:
enabled: true
emr:
enabled: true
wafv2:
enabled: true
scheduler:
enabled: true
cloudwatchlogs:
enabled: true
max-events-per-query: 10000
cloudwatchmetrics:
enabled: true
paymentcryptography:
enabled: true
secretsmanager:
enabled: true
default-recovery-window-days: 30
kinesis:
enabled: true
list-shards-next-token-ttl-millis: 300000
firehose:
enabled: true
tick-interval-seconds: 1
flush-record-count: 0
staging-bucket: floci-firehose-staging
kms:
enabled: true
cognito:
enabled: true
google-issuer: https://accounts.google.com
enforce-token-validity-limits: true
stepfunctions:
enabled: true
allow-plaintext-http: true
mock-config-file: ${SFN_MOCK_CONFIG:src/test/resources/fixtures/sfn-mock-config.json}
max-wait-seconds: 30
swf:
enabled: true
timeout-sweep-enabled: true
timeout-sweep-interval-seconds: 1
cloudformation:
enabled: true
# Pinned to the shipped default: the retention tests advance the test clock past this
# window by name, so the value they assume is spelled out rather than inherited.
deleted-stack-retention-seconds: 30
# Fail an AWS::Lambda::Function whose S3 code cannot be read, as real CloudFormation
# does. Set true to fall back to the built-in stub handler instead (issue #2648).
allow-stub-lambda-code: false
# Pinned to the shipped default so a test sees what a user sees; the strict-mode test
# overrides it with its own profile.
allow-stub-unsupported-resource-types: true
acm:
enabled: true
validation-wait-seconds: 0
athena:
enabled: true
mock: true
glue:
enabled: true
ses:
enabled: true
opensearch:
enabled: true
mock: true
proxy-base-port: 9400
proxy-max-port: 9499
ec2:
# Opt-in Standard On-Demand vCPU admission. FLOCI_SERVICES_EC2_ENFORCE_VCPU_QUOTAS
enforce-vcpu-quotas: false
# Optional complete catalog override for locally built guest images.
image-catalog-path: ${FLOCI_SERVICES_EC2_IMAGE_CATALOG_PATH:}
managed-prefix-list-catalog-path: ${FLOCI_SERVICES_EC2_MANAGED_PREFIX_LIST_CATALOG_PATH:}
enabled: true
imds-port: 9169
ssh-port-range-start: 2200
ssh-port-range-end: 2299
publish-security-group-ports: true
app-port-range-start: 30000
app-port-range-end: 30999
max-published-ports-per-instance: 20
socat-image: alpine/socat
volume-block-devices: false
volume-helper-image: alpine:3.21
mock: true
mock-public-addresses: none
instance-resource-limits: true
aws-faithful-private-ip: false
# container-ips-routable: true # see src/main/resources/application.yml
# Off explicitly, not merely by implication of mock: true above. Tests must not create or
# reconcile Docker networks on whatever daemon CI happens to have.
vpc-networks:
enabled: false
ecs:
enabled: true
mock: true
dynamic-awsvpc-host-ports: false
host-volume-roots: []
allow-unsafe-host-volumes: false
allow-privileged-containers: false
image-pull-behavior: prefer-cached
appconfig:
enabled: true
appconfigdata:
enabled: true
ecr:
enabled: true
tls-uri: false
ui:
enabled: true
bedrock:
enabled: true
bedrock-runtime:
enabled: true
eks:
enabled: true
mock: true
max-memory-mib: 0
max-vcpus: 0
ecr-registry-mirror: true
default-storage-class: false
imds: false
irsa-signing-key: true
embedded-dns: true
mwaa:
enabled: true
mock: true
pipes:
enabled: true
elb:
enabled: true
mock: true
elbv2:
enabled: true
mock: true
backend-keep-alive: true
backend-keep-alive-timeout-seconds: 60
codebuild:
enabled: true
# docker-network: floci-network
sagemaker:
enabled: true
# docker-network: floci-network
gpu:
# Off by default: an existing deployment keeps launching CPU-only
# containers. How many GPUs an ml.* type has is shipped in
# sagemaker/instance-type-catalog.yaml; this is only about which of
# this machine's devices Floci may hand out.
enabled: false
# cdi | device-ids | count. Podman resolves only cdi, and accepts
# count while attaching no device, so cdi fails loudly instead.
mode: cdi
# Required for cdi and device-ids modes; unset allows no device.
# devices:
# - nvidia.com/gpu=GPU-<uuid>
batch:
enabled: true
runner-mode: immediate
codedeploy:
enabled: true
codepipeline:
enabled: true
source-poll-interval-ms: 100 # a shorter cycle so the "did not trigger" tests wait less
worker-poll-interval-ms: 1
autoscaling:
enabled: true
applicationautoscaling:
enabled: true
scheduled-action-interval-seconds: ${FLOCI_SERVICES_APPLICATIONAUTOSCALING_SCHEDULED_ACTION_INTERVAL_SECONDS:1}
elasticbeanstalk:
enabled: true
transfer:
enabled: true
backup:
enabled: true
job-completion-delay-seconds: 1
fis:
enabled: true
route53:
enabled: true
textract:
enabled: true
comprehend:
enabled: true
rekognition:
enabled: true
translate:
enabled: true
pricing:
enabled: true
ce:
enabled: true
cur:
enabled: true
emit-mode: off
bcm-pricing-calculator:
enabled: true
timestream-influxdb:
enabled: true
mock: true
bcm-data-exports:
enabled: true
emit-mode: off
oam:
enabled: true
cloudtrail:
enabled: true
flush-interval-seconds: 3600
lightsail:
enabled: true
cloudcontrol:
enabled: true
resourceexplorer2:
enabled: true
cloudfront:
enabled: true
allowed-private-origin-hosts: []
appsync:
enabled: true
schema-worker-threads: 4
schema-worker-shutdown-timeout-seconds: 30
vtl-max-loops: 10000
vtl-max-output-chars: 1048576
vtl-timeout-millis: 5000
s3vectors:
enabled: true
s3tables:
enabled: true
iot:
enabled: true
rule-sql-strict: false
mqtt:
enabled: true
auto-start: false
host: 127.0.0.1
port: 1883
tls-port: 8883
iotdata:
enabled: true
cloudhsmv2:
enabled: true
efs:
enabled: true
ec2instanceconnect:
enabled: true
organizations:
enabled: true
rum:
enabled: true
networkfirewall:
enabled: true
servicecatalog:
enabled: true
guardduty:
enabled: true
emrserverless:
enabled: true
job-run-duration-seconds: 0 # 0 = BATCH job runs succeed as soon as they start
runner-mode: immediate
ssoadmin:
enabled: true
ssooidc:
enabled: true
local-principal-id: ${FLOCI_SERVICES_SSOOIDC_LOCAL_PRINCIPAL_ID:}
macie2:
enabled: true
account:
enabled: true
controlcatalog:
enabled: true
accessanalyzer:
enabled: true
identitystore:
enabled: true
scim-bearer-token: ${FLOCI_SERVICES_IDENTITYSTORE_SCIM_BEARER_TOKEN:floci-scim-token}
budgets:
enabled: true
inspector2:
enabled: true
securityhub:
enabled: true
detective:
enabled: true
controltower:
enabled: true
seed-landing-zone: true
route53resolver:
enabled: true
connect:
enabled: true
appintegrations:
enabled: true
dlm:
enabled: true
signer:
enabled: true
xray:
enabled: true
cognitoidentity:
enabled: true
globalaccelerator:
enabled: true
datasync:
enabled: true
aps:
enabled: true
lakeformation:
enabled: true
resource-groups:
enabled: true
tagging:
enabled: true
configservice:
enabled: true
transcribe:
enabled: true
docdb:
enabled: true
mock: false
default-image: "mongo:7.0"
bedrock-agent-core:
enabled: true
bedrock-agent-core-control:
enabled: true
servicequotas:
enabled: true
standard-on-demand-vcpus: 5
verifiedpermissions:
enabled: true
ram:
enabled: true
codegurureviewer:
enabled: true
codeartifact:
enabled: true
quicksight:
enabled: true
embed-base-url: ${floci.base-url}
marketplace:
enabled: true
dms:
enabled: true