Migrate pumpingstation-complete-example flow to the generator #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type: slice / docs
Depends on: #40
Estimate: M (1–2 days)
Slice — layers touched
example flow → docker provisioning cleanup → docs.
Context
Proof that the generator works for the canonical example. Anchors PRD §8.2 (≤15 ui-* nodes) and §8.3 (time-to-first-dashboard ≤1 min).
Scope
pumpingstation-complete-exampleflow down to control-only widgets (mode, demand, calibration, signal injection) — target ≤15 ui-* nodes.docker/grafana/provisioning/dashboards/pumping-station.json(now dynamic).Out of scope
Acceptance criteria
ui-*types inflow.json).docker/grafana/provisioning/dashboards/pumping-station.jsondeleted.Slice #42 partially shipped — example round-trip done; active flow migration deferred
Branches:
dashboardAPI·EVOLVWhat landed
nodes/dashboardAPI/examples/basic.flow.json: replaced the placeholder inject→dashboardapi→debug with a real round-trip: inject (simulating measurement child.register) → dashboardapi (composes dashboard JSON) → http request (POSTs to Grafana) → debug (shows response). Configured for the Docker compose stack (host: grafana,port: 3000,bucket: telemetry).What's deferred and why
The PRD §8.2 success metric is "active flow ≤15 ui-* nodes (down from 73)." The active flow lives in the container's named-volume project (
/data/projects/pumpingstation-complete-example/) and migrating it means visually walking 73 ui-chart/ui-gauge/ui-text/ui-button/ui-slider/fan-out function nodes:That's a 30-60 minute visual session, not a script — risks breaking the working flow if done blindly. Recommended next step: schedule a focused review session where I drive the deletions interactively and you confirm each cluster of nodes before they go.
Also pending in that same session:
docker/grafana/provisioning/dashboards/pumping-station.json(becomes dynamic).Acceptance criteria (status)
pumping-station.jsonremoved — pending the same session.examples/basic.flow.jsonupdated.Leaving issue open since the headline success metric isn't met yet. The smaller example round-trip is in.