fetch_ml/internal/api
Jeremie Fraeys d1bef0a450
refactor: Phase 3 - fix config/storage boundaries
Move schema ownership to infrastructure layer:

- Redis keys: config/constants.go -> queue/keys.go (TaskQueueKey, TaskPrefix, etc.)

- Filesystem paths: config/paths.go -> storage/paths.go (JobPaths)

- Create config/shared.go with RedisConfig, SSHConfig

- Update all imports: worker/, api/helpers, api/ws_jobs, api/ws_validate

- Clean up: remove duplicates from queue/task.go, queue/queue.go, config/paths.go

Build status: Compiles successfully
2026-02-17 12:49:53 -05:00
..
helpers refactor: Phase 3 - fix config/storage boundaries 2026-02-17 12:49:53 -05:00
handlers.go refactor: improve API structure and WebSocket protocol 2026-02-16 20:38:12 -05:00
health.go feat(api): refactor websocket handlers; add health and prometheus middleware 2026-01-05 12:31:07 -05:00
metrics_middleware.go feat(api): refactor websocket handlers; add health and prometheus middleware 2026-01-05 12:31:07 -05:00
monitoring_config.go feat(api): refactor websocket handlers; add health and prometheus middleware 2026-01-05 12:31:07 -05:00
protocol.go feat(core): API, worker, queue, and manifest improvements 2026-02-12 12:05:17 -05:00
server.go feat(core): API, worker, queue, and manifest improvements 2026-02-12 12:05:17 -05:00
server_config.go feat(core): API, worker, queue, and manifest improvements 2026-02-12 12:05:17 -05:00
ws_datasets.go refactor: improve API structure and WebSocket protocol 2026-02-16 20:38:12 -05:00
ws_handler.go refactor: improve API structure and WebSocket protocol 2026-02-16 20:38:12 -05:00
ws_jobs.go refactor: Phase 3 - fix config/storage boundaries 2026-02-17 12:49:53 -05:00
ws_jupyter.go refactor: improve API structure and WebSocket protocol 2026-02-16 20:38:12 -05:00
ws_protocol.go refactor: improve API structure and WebSocket protocol 2026-02-16 20:38:12 -05:00
ws_tls_auth.go feat(api): refactor websocket handlers; add health and prometheus middleware 2026-01-05 12:31:07 -05:00
ws_validate.go refactor: Phase 3 - fix config/storage boundaries 2026-02-17 12:49:53 -05:00