We have an increasingly complex settings engine for ADM. It is absolutely possible for mistakes to be made while specifying ADM settings (e.g. ```json { "host": "example.com", "paths": [ {"value": "/", "matching": "prefix" }, {"value": "/path", "matching": "exact"} ] } ``` We should reject settings that have these sort of conflicts: * "empty" prefix paths * overlapping prefix and exact paths (should we allow both prefix and exact paths?) * missing terminal `/` for `prefix` matches * etc. Will also need to determine failure policy (e.g. how errors are reported out and what actions to take when encountering errors.) ┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/CONSVC-1346) ┆epic: Simplify Contile Settings Management
We have an increasingly complex settings engine for ADM. It is absolutely possible for mistakes to be made while specifying ADM settings (e.g.
{ "host": "example.com", "paths": [ {"value": "/", "matching": "prefix" }, {"value": "/path", "matching": "exact"} ] }We should reject settings that have these sort of conflicts:
/forprefixmatchesWill also need to determine failure policy (e.g. how errors are reported out and what actions to take when encountering errors.)
┆Issue is synchronized with this Jira Task
┆epic: Simplify Contile Settings Management