22 lines
682 B
TypeScript
22 lines
682 B
TypeScript
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
|
// Synthetic admission for injected adapter-port tests only. The fake HTTP service
|
|
// still exercises response mapping; this observer proves no installed/live state.
|
|
import type { ServiceReadiness } from "@conusai-kit/core"
|
|
export const simulatedBusinessAdmission: ServiceReadiness = {
|
|
profile: "postgres",
|
|
observe: async () => ({
|
|
desiredGeneration: 1,
|
|
observedGeneration: 1,
|
|
observedAt: Date.now(),
|
|
installed: true,
|
|
enabled: true,
|
|
entitled: true,
|
|
authorized: true,
|
|
configured: true,
|
|
compatible: true,
|
|
dependenciesReady: true,
|
|
partitionBound: true,
|
|
ready: true,
|
|
}),
|
|
}
|