diff --git a/apps/flowlord/handler.go b/apps/flowlord/handler.go index 2b50ff1..c0663f9 100644 --- a/apps/flowlord/handler.go +++ b/apps/flowlord/handler.go @@ -120,6 +120,7 @@ func (tm *taskMaster) StartHandler(serveErr chan<- error) error { router.Get("/refresh", tm.refreshHandler) router.Post("/backload", tm.Backloader) router.Post("/rerun", tm.rerunHandler) + router.Post("/import", tm.importHandler) router.Get("/workflow/*", tm.workflowFiles) router.Get("/workflow", tm.workflowFiles) router.Get("/notify", func(w http.ResponseWriter, r *http.Request) { diff --git a/apps/flowlord/handler/about.tmpl b/apps/flowlord/handler/about.tmpl index 641a499..82bdfcd 100644 --- a/apps/flowlord/handler/about.tmpl +++ b/apps/flowlord/handler/about.tmpl @@ -124,10 +124,51 @@ + +
+

Task Import

+

Backfill the SQLite cache from a JSONL source: upload a file from your machine (Browse) or enter an object path on s3://, gs://, mc://, or mcs:// (globs allowed). Local server paths are not accepted. Each line must be a JSON task object (same format as bus/logger output). Tasks are inserted or updated in the cache only; nothing is re-queued to the message bus.

+
+
+ +
+
+ + + +
+ +
+

Browse uploads from your computer. Remote paths use flowlord's file credentials (s3://, gs://, mc://, mcs://; no . / .. path segments).

+
+
+ +
+ + +
+
- + +