统一财务事件投递端口

This commit is contained in:
2026-09-02 18:28:39 +08:00
parent 30090e741f
commit 9adbdfbcc1
5 changed files with 5 additions and 5 deletions
@@ -35,7 +35,7 @@ test('Compose wires both producers to the stable service aliases used by test en
/FIRSTLEG_EVENT_BRIDGE_URL:\s*\$\{CN_EVENT_BRIDGE_TARGET_URL:-http:\/\/event-bridge-cn:9312\}/)
assert.match(cnCompose, /aliases:\s*\[event-bridge-cn\]/)
assert.match(cnCompose,
/FINANCE_FEE_EVENT_CONSUMER_URL:\s*\$\{FINANCE_FEE_EVENT_CONSUMER_URL:-http:\/\/finance:9208\/internal\/finance\/v1\/business-fee-source-events\}/)
/FINANCE_FEE_EVENT_CONSUMER_URL:\s*\$\{FINANCE_FEE_EVENT_CONSUMER_URL:-http:\/\/finance:9203\/internal\/finance\/v1\/business-fee-source-events\}/)
assert.match(overseasCompose, /aliases:\s*\[event-bridge-overseas\]/)
for (const source of [cnCompose, overseasCompose]) {
assert.doesNotMatch(source, /(?:LASTLEG|FIRSTLEG|CN)_EVENT_BRIDGE_URL:[^\n]*(?:\d{1,3}\.){3}\d{1,3}/)