Initial FELDMAN implementation - Completed flows registry

- Flask API for storing completed flows
- Receives OK flows from ALFRED/JARED
- Receives corrected data from MASON
- Docker deployment on port 5054
This commit is contained in:
ARCHITECT
2025-12-24 10:32:40 +00:00
commit 5e135466ec
7 changed files with 201 additions and 0 deletions

14
init.sql Normal file
View File

@@ -0,0 +1,14 @@
-- FELDMAN tables
CREATE TABLE IF NOT EXISTS completados (
id BIGSERIAL PRIMARY KEY,
h_completado VARCHAR(64) NOT NULL UNIQUE,
h_instancia_origen VARCHAR(64) NOT NULL,
h_ejecucion VARCHAR(64),
flujo_nombre VARCHAR(100),
datos JSONB DEFAULT '{}',
notas TEXT,
created_at TIMESTAMP DEFAULT NOW()
);
CREATE INDEX IF NOT EXISTS idx_completados_origen ON completados(h_instancia_origen);