Initial commit: sap-intercompany-worker

Motor de escenarios de replicacion entre bases SAP Business One
(Service Layer). Poll periodico sobre webhook_events, escenarios
configurables via Prisma (filter + transform por escenario).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
GeorgeandClaude Sonnet 5 committed 2026-09-16 07:45:57 -05:00
commit ca57403663
36 files changed
+5539

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
DATABASE_URL="postgresql://intercompany:intercompany@localhost:5432/sap_intercompany?schema=public"
# Cada cuántos segundos el worker revisa eventos pendientes
POLL_INTERVAL_SECONDS=30
# Las bases SAP (incluida la casa matriz) y los escenarios de replicación ya
# NO se configuran acá: viven en Postgres. Ver scripts/manage-config.ts
# (database:add, scenario:add, etc.) y docs/ESCENARIOS.md para la guía.