Skip to content
This repository was archived by the owner on Jul 26, 2024. It is now read-only.
This repository was archived by the owner on Jul 26, 2024. It is now read-only.

Add ADM setting validation #312

Description

@jrconlin

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:

  • "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
┆epic: Simplify Contile Settings Management

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions