This commit is contained in:
2026-08-25 16:41:02 +08:00
parent 2dcfdd5fc8
commit 505d448850
5 changed files with 64 additions and 43 deletions
@@ -130,6 +130,19 @@ test('every reviewed synchronous client has a complete and exclusive executable
}
})
test('IAM customer dimension Feign is reachable only from the background relay', async () => {
const references = []
for (const file of await javaFiles(path.join(root, 'iam', 'src', 'main', 'java'))) {
const source = await readFile(file, 'utf8')
if (source.includes('CustomerDimensionRuleClient')) {
references.push(path.relative(root, file).replaceAll('\\', '/'))
}
}
assert.deepEqual(references.sort(), [
'iam/src/main/java/com/baiyue/iam/client/CustomerDimensionRuleClient.java',
'iam/src/main/java/com/baiyue/iam/service/CustomerDimensionInitializationRelay.java'
])
})
test('all four Lastleg RestClient gateways use explicit bounded transports', async () => {
const clients = new Map([