Files
floci/src/test/java
Hector Ventura a732e26bc5 chore(config): declare every toggleable service in both application.yml files (#2422)
Six services (tagging, pipes, configservice, docdb, bedrock-agent-core and
bedrock-agent-core-control) had no key in application.yml, and lightsail and
cloudhsmv2 had a bare key with no child, so those two bound to nothing. All
eight resolved only through the interface @WithDefault, which AGENTS.md does
not treat as the source of truth: the YAML defines effective runtime behaviour
and is what a user reads and edits.

Add the missing keys to src/main/resources/application.yml and to the test
config, and add ServiceConfigYamlCoverageTest so the next service cannot drift
out. It derives each key with SmallRye's StringUtil.skewer, checking the real
binding name rather than a reimplemented guess, and exempts configs with no
enabled() toggle such as DuckConfig.

The test config keys are for explicitness, not necessity: SmallRye merges both
files as config sources per property, with the test file winning per key, so a
service absent from the test config would inherit the main value rather than
break. Declaring both keeps the two files readable side by side and stops a
test-only override from being indistinguishable from an omission. An earlier
draft of this message claimed the test file was required because Quarkus
replaces rather than merges; that was wrong, and is corrected here.

Every value written equals the prior @WithDefault, so runtime behaviour is
unchanged. Typed chore rather than fix for that reason.
2026-08-20 09:42:01 -04:00
..