Other cc-* repos inspected but not wired — cc-payment-adapters, cc-audit-ledger, cc-shared-events, cc-shared-schemas are template scaffolds upstream at recon time (README: Template scaffold only. Implement per master plan delivery phases…). When those services ship, add sibling clients here following the same provider-switch pattern.
Closes gap-analysis v3 §10 “DBIS cc-* separate repos” external blocker — the CurrenciCombo side is now ready; activation is a 1-env-var flip per adapter when the upstream services deploy.
Provider switch
Adapter
Env var
Unset behaviour
Set behaviour
CcIdentityClient
CC_IDENTITY_URL
MockCcIdentityClient
HttpCcIdentityClient with X-API-Key (CC_IDENTITY_API_KEY), auto-minted X-Correlation-Id, 10s AbortController timeout
loadControlsMatrix()
CC_CONTROLS_MATRIX_URL
Embedded v0 matrix (hand-typed snapshot)
Remote JSON loader, normalises snake_case → camelCase per upstream YAML
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Headless client adapters for the DBIS Complete Credential bounded-context repos (
DBIS/cc-*) that actually ship runnable code today:cc-identity-core— HTTP service (GET /health,GET /ready,POST /v1/subjectsper upstreamopenapi.yaml/src/server.mjs).cc-compliance-controls—controls/matrix/v0.yaml(loader with embedded v0 snapshot + optional remote JSON override).Other
cc-*repos inspected but not wired —cc-payment-adapters,cc-audit-ledger,cc-shared-events,cc-shared-schemasare template scaffolds upstream at recon time (README:Template scaffold only. Implement per master plan delivery phases…). When those services ship, add sibling clients here following the same provider-switch pattern.Closes gap-analysis v3 §10 “DBIS cc-* separate repos” external blocker — the CurrenciCombo side is now ready; activation is a 1-env-var flip per adapter when the upstream services deploy.
Provider switch
CcIdentityClientCC_IDENTITY_URLMockCcIdentityClientHttpCcIdentityClientwithX-API-Key(CC_IDENTITY_API_KEY), auto-mintedX-Correlation-Id, 10sAbortControllertimeoutloadControlsMatrix()CC_CONTROLS_MATRIX_URLFiles
orchestrator/src/services/completeCredential/types.ts— shared shapes.orchestrator/src/services/completeCredential/identityClient.ts— Http + Mock + factory.orchestrator/src/services/completeCredential/controlsMatrix.ts— embedded v0 + remote loader +findControl()helper.orchestrator/src/services/completeCredential/index.ts— barrel.orchestrator/tests/services/completeCredential.test.ts— 16 tests across 4 describe blocks covering both legs of both adapters.Verification
npx tsc --noEmitclean.npx jestunit suite: 12 suites / 156 tests, all passing (no regressions from PR V landing).