Bridge legacy Flask APIs through Engine fallback

This commit is contained in:
2025-10-22 19:59:09 -06:00
parent 7a9feebde5
commit da4cb501e0
4 changed files with 212 additions and 7 deletions

View File

@@ -26,7 +26,11 @@ def register_http_interfaces(app: Flask, services: EngineServiceContainer) -> No
The implementation is intentionally minimal for the initial scaffolding.
"""
for registrar in _REGISTRARS:
registrars = list(_REGISTRARS)
if app.config.get("ENGINE_LEGACY_BRIDGE_ACTIVE"):
registrars = [r for r in registrars if r is not job_management.register]
for registrar in registrars:
registrar(app, services)