Implement ACTIVITY-WP-0024 operator automation console
Add /ops REST inventory, status, runs, and fail-closed operator-token mutations (trigger, enable/disable, pause/unpause) with audit trail. Ship thin HTML UI at /ops/ui, runbook/k8s access docs, and contract tests.
This commit is contained in:
parent
81d350de71
commit
71027f0a67
11 changed files with 1494 additions and 20 deletions
|
|
@ -110,3 +110,21 @@ kubectl -n activity-core exec deploy/actcore-api -- \
|
|||
kubectl -n activity-core get pods
|
||||
kubectl -n activity-core get svc
|
||||
```
|
||||
|
||||
## Operator automation console (ACTIVITY-WP-0024)
|
||||
|
||||
API Service is ClusterIP-only. From a shell with cluster access:
|
||||
|
||||
```bash
|
||||
kubectl -n activity-core port-forward svc/actcore-api 8010:8010
|
||||
# UI: http://127.0.0.1:8010/ops/ui
|
||||
# JSON: http://127.0.0.1:8010/ops/automations/status?since=sunday
|
||||
```
|
||||
|
||||
Mutations require `ACTIVITY_CORE_OPERATOR_TOKEN` in `actcore-runtime-secret`
|
||||
(injected via `envFrom` on `actcore-api`). Merge the key into the existing
|
||||
secret (do not replace DB URL keys). Header: `X-Operator-Token`. See
|
||||
`docs/runbook.md` § Operator automation console.
|
||||
|
||||
Cron/schedule expression changes remain git-owned (definition files + sync);
|
||||
the console supports Run now, enable/disable, and Temporal pause/unpause only.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue