feat: implement local P1 contracts and Mock call flow

This commit is contained in:
2026-09-25 16:38:22 +08:00
parent ef84a0663d
commit 0b4b901d85
174 changed files with 18044 additions and 1740 deletions
+3 -1
View File
@@ -3,7 +3,9 @@
# its example dispatcher_id with this installation's unique stable UUID v4.
SIP_GO_AGENT_MODE=real
DISPATCHER_DB=/var/lib/sip-go-agent/dispatcher/dispatcher.db
DISPATCHER_TENANT_KEY=<approved-original-tenant-key>
# Required by the current V3 runtime; inject approved values out of band.
# DISPATCHER_CONFIG_READ_BASE_URL=<injected-config-read-base-url>
# DISPATCHER_SECRET_KEY=<injected-secret>
# RABBITMQ_URL=<injected-broker-url>
DISPATCHER_AGENT_ENDPOINTS_FILE=/etc/sip-go-agent/agent-endpoints.json
MTLS_CA_FILE=/etc/sip-go-agent/pki/ca.pem
@@ -9,7 +9,7 @@ User=rogee
Group=rogee
WorkingDirectory=/opt/sip-go-agent/current
EnvironmentFile=/etc/sip-go-agent/dispatcher.env
ExecStart=/opt/sip-go-agent/current/sip-go-agent dispatcher --config /etc/sip-go-agent/dispatcher.json --consume --tenant-key ${DISPATCHER_TENANT_KEY}
ExecStart=/opt/sip-go-agent/current/sip-go-agent dispatcher --config /etc/sip-go-agent/dispatcher.json
Restart=on-failure
RestartSec=5s
NoNewPrivileges=yes