Unify dispatch operations with matched published transfer fixture
This commit is contained in:
@@ -65,7 +65,7 @@ test('repository freezes the current topology and non-blocking aggregate summary
|
||||
const summary = await buildQualitySummary(repositoryRoot)
|
||||
const baseline = JSON.parse(await readFile(path.join(repositoryRoot, 'scripts', 'java-quality-baseline.json'), 'utf8'))
|
||||
assert.deepEqual(summary.topology, { modules: 20, codeModules: 19, services: 13 })
|
||||
assert.equal(summary.openapi.documents, 72)
|
||||
assert.equal(summary.openapi.documents, 100)
|
||||
for (const name of ['lastleg-exports', 'return-packing', 'fleet-capacity-offers']) {
|
||||
assert.ok(summary.openapi.files.includes(`lastleg-service/src/main/resources/openapi/${name}-v1.yaml`))
|
||||
}
|
||||
@@ -75,6 +75,8 @@ test('repository freezes the current topology and non-blocking aggregate summary
|
||||
assert.ok(summary.modules.every(row => !['gateway-overseas', 'event-bridge-service'].includes(row.module)))
|
||||
assert.ok(summary.openapi.files.includes('file/src/main/resources/openapi/loading-evidence-v1.yaml'))
|
||||
assert.ok(summary.openapi.files.includes('file/src/main/resources/openapi/overseas-relabel-document-v1.yaml'))
|
||||
assert.ok(summary.openapi.files.includes('file/src/main/resources/openapi/dispatch-evidence-v1.yaml'))
|
||||
assert.ok(summary.openapi.files.includes('lastleg-service/src/main/resources/openapi/fleet-preparation-v1.yaml'))
|
||||
assert.ok(summary.openapi.files.includes('finance/src/main/resources/openapi/finance-container-settlement-v1.yaml'))
|
||||
assert.ok(summary.openapi.files.includes('warehouse-overseas-service/src/main/resources/openapi/warehouse-pallet-batch-internal-v1.yaml'))
|
||||
assert.equal(baseline.openapi.documents, summary.openapi.documents)
|
||||
|
||||
Reference in New Issue
Block a user