This commit is contained in:
2026-09-20 14:26:03 +08:00
parent b9e0c8ea2f
commit b3162c6d69
4 changed files with 84 additions and 2 deletions
+4 -1
View File
@@ -105,7 +105,10 @@ test('Controller prefixes route to their owning service; internal prefixes stay
? [overseas] : ['file', 'print'].includes(module) ? [domestic, overseas] : [domestic]
for (const file of javaFiles(resolve(root, module, 'src/main/java'))) {
for (const path of controllerPaths(readFileSync(file, 'utf8'), file)) {
for (const table of tables) verify(path, service, table, file)
// PDA release metadata lives in the domestic File control plane. Both
// PDA apps use the domestic Gateway for update checks and downloads.
const targetTables = path.startsWith('/api/pda-updates/') ? [domestic] : tables
for (const table of targetTables) verify(path, service, table, file)
count++
}
}