Initial commit: sap-legacy-webhook-emulator
Reconstruye el Webhook Messenger nativo de SAP B1 (FP2605) para clientes que aun no estan en esa version: captura eventos via SBO_SP_PostTransactionNotice, provisiona UserTables OEVC/EVC1/OEVN/EVN1 y despacha CloudEvents al mismo endpoint que el messenger real. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
commit
e1c8ee9015
42 files changed
+4042
No files matched your search
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"_comment": "POST /U_EVC1 — filtro para capturar Items (ObjectType=4) actualizados, para la suscripción TEST_LOCAL. Equivalente a: npx tsx scripts/manage-subscriptions.ts filter:add TEST_LOCAL Items U 4. El 'Code' es un UUID cualquiera (debe ser único, ver docs/DISENO.md decisión 5) — reemplazarlo si se postea manualmente.",
|
||||
"Code": "<uuid-nuevo>",
|
||||
"Name": "<mismo-uuid-que-Code>",
|
||||
"U_WebhookID": "TEST_LOCAL",
|
||||
"U_BizObject": "Items",
|
||||
"U_TransType": "U",
|
||||
"U_ObjectType": "4"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"_comment": "POST /U_OEVC — suscripción de prueba, apunta al listener HTTP local levantado para esta prueba (scripts/_tmp-fake-webhook-receiver.ts). Equivalente a: npx tsx scripts/manage-subscriptions.ts subscription:add TEST_LOCAL http://127.0.0.1:4100/webhooks/sap",
|
||||
"Code": "TEST_LOCAL",
|
||||
"Name": "TEST_LOCAL",
|
||||
"U_WebhookURL": "http://127.0.0.1:4100/webhooks/sap",
|
||||
"U_AuthType": "N",
|
||||
"U_AuthCred": null,
|
||||
"U_State": "A",
|
||||
"U_WorkMode": "S"
|
||||
}
|
||||
Reference in new issue
Block a user