Expand description
Admin CRUD for the stores: resource (named redis/valkey connections).
Responses always carry the RAW stored config β ${ENV} placeholders are
never resolved here (they resolve only when a client is built). Deleting
a store still referenced by any plugin config is rejected with
409 {"error":"in_use","referrers":[...]} β a new envelope, since the
reference is not discoverable via graph recompilation (a store used only
by a shared plugin_config compiles fine without the node being wired).
The same guard also covers acme.storage (system.yaml), since an ACME
type: store storage config references a store outside gateway.yaml
entirely and would otherwise go undetected.
FunctionsΒ§
- create_
store π - delete_
store π - get_
store π - list_
stores π - ping_
store π - Connectivity check: resolves the storeβs config (env placeholders included) and PINGs it, bounded by the storeβs own connect_timeout_ms. The response never echoes resolved connection details β only latency and version.
- router
- store_
referrers π - Everything that references store
name: node configstore:keys (flat, for limit-count/workflow), nestedsession.store(session plugins β wired in a later plan, scanned now so the guard never lags the feature), andworkflowβs per-rule action params (config.rules[].actions[][1].storeβ actions are[name, params]pairs; seeplugins/native/workflow.rs). - update_
store π