mirror of
https://github.com/Such-Software/adaptive-multi-protocol-gateway.git
synced 2026-10-17 23:51:32 +02:00
Capture transport addresses in state
This commit is contained in:
@@ -68,6 +68,38 @@ class TransportInteractionCapability:
|
||||
|
||||
|
||||
CONFIG_FIELDS = (
|
||||
ConfigField(
|
||||
"gateway",
|
||||
"state_dir",
|
||||
"path",
|
||||
False,
|
||||
"./.ampg/state",
|
||||
"AMPG-owned daemon state and captured address registry root.",
|
||||
),
|
||||
ConfigField(
|
||||
"gateway",
|
||||
"cache_dir",
|
||||
"path",
|
||||
False,
|
||||
"./.ampg/cache",
|
||||
"AMPG cache root for generated intermediate data.",
|
||||
),
|
||||
ConfigField(
|
||||
"gateway",
|
||||
"run_dir",
|
||||
"path",
|
||||
False,
|
||||
"./.ampg/run",
|
||||
"Runtime socket and process metadata root for managed daemons.",
|
||||
),
|
||||
ConfigField(
|
||||
"gateway",
|
||||
"user",
|
||||
"string",
|
||||
False,
|
||||
"",
|
||||
"Preferred service user for generated managed-daemon artifacts.",
|
||||
),
|
||||
ConfigField("site", "id", "string", True, "", "Stable site identifier used in output paths."),
|
||||
ConfigField("site", "domain", "string", True, "", "Canonical public domain for the site."),
|
||||
ConfigField("site.source", "kind", "enum", True, "static-html", "Source adapter kind."),
|
||||
@@ -179,6 +211,30 @@ CONFIG_FIELDS = (
|
||||
"protocol default",
|
||||
"Whether AMPG adopts, manages, or only renders config.",
|
||||
),
|
||||
ConfigField(
|
||||
"site.protocols.<name>",
|
||||
"fixture_url",
|
||||
"url",
|
||||
False,
|
||||
"",
|
||||
"Published URL used in fixture manifests and health plans.",
|
||||
),
|
||||
ConfigField(
|
||||
"site.protocols.<name>",
|
||||
"browser_url",
|
||||
"url",
|
||||
False,
|
||||
"",
|
||||
"Browser-facing URL alias used when fixture_url is not set.",
|
||||
),
|
||||
ConfigField(
|
||||
"site.protocols.<name>",
|
||||
"address_file",
|
||||
"path",
|
||||
False,
|
||||
"",
|
||||
"Daemon-written public address file consumed by addresses capture.",
|
||||
),
|
||||
ConfigField(
|
||||
"site.protocols.<name>",
|
||||
"max_asset_bytes",
|
||||
|
||||
Reference in New Issue
Block a user