1.0 KiB
1.0 KiB
Restaurant Admin Workflow API
Purpose
This BFF exposes restaurant-admin control-plane workflows over REST while delegating orchestration to operations-service.
Endpoints
GET /api/restaurant/admin/config?contextId=<value>- Returns configuration snapshot, feature flags, service windows, and recent changes.
GET /api/restaurant/admin/changes?contextId=<value>- Returns recent configuration change history.
POST /api/restaurant/admin/service-window- Updates a service window and returns the applied snapshot.
Upstream Dependency
- Base address configuration:
OperationsService:BaseAddress - Default runtime target:
http://operations-service:8080 - Internal upstream routes:
GET /internal/operations/admin/configPOST /internal/operations/admin/service-window
Notes
- The explicit change-history route is projected from the same admin config snapshot returned by
operations-service. - Correlation IDs are preserved through Thalos session checks and operations-service calls.