Give connectors a store that survives restarts, and a way to clear it

`ConnectorNode.store` keeps short strings per connector package in the
engine's database (`connector_state`, migration f8c3e5a91d27), so the nodes of
one package share them and `fluksio serve` needs nothing new: get, set and
delete, at most 64 kB a value and 256 keys a package. A superuser lists the
keys (never the values) and clears them through `/connectors/{node_type}/state`,
or under Stored state in a connector node's panel. Documented in the connector
contract.
This commit is contained in:
2026-10-06 17:19:48 +02:00
parent 8a1685741b
commit 243d39b591
15 changed files with 710 additions and 4 deletions
+2
View File
@@ -5,6 +5,7 @@ from fluksio.api.routes import (
alerts,
artifacts,
cloud,
connectors,
dashboards,
flavors,
flows,
@@ -31,6 +32,7 @@ api_router.include_router(flavors.router)
api_router.include_router(flows.router)
api_router.include_router(flows.ws_router)
api_router.include_router(secrets.router)
api_router.include_router(connectors.router)
api_router.include_router(alerts.router)
api_router.include_router(dashboards.router)
api_router.include_router(panels.router)