ICPI Env Cutover Rehearsal
Goal
Rehearse the first real env-only gateway cutover from old colocated ICPI hosting to new svc-icpi, while keeping:
Resolving locale, route permissions, and workspace projection.
Current scope: Guest
Category: 10_normative | Version: v1.0.0
Owner: DOCUMENT_CUSTODIAN | Review cycle: 90 days
Approval authority: GOVERNANCE_ADMIN
Documentation portal is read-only. Editing and mutation endpoints are disabled.
Kvary platform is originally created in Georgian. Where a Georgian version exists, Georgian is authoritative for platform UI, documentation, and legal interpretation.
Translations into other languages are provided for convenience. Some records may originate in other languages and carry their own source or legal locale for a specific flow, but where a Georgian version is available, the Georgian version prevails for platform-level wording and interpretation.
Metadata incomplete: Document ID, Version, Status, Owner Role, Last Review Date, Next Review Date, Change Log
Rehearse the first real env-only gateway cutover from old colocated ICPI hosting to new svc-icpi, while keeping:
svc-auth: http://localhost:4100http://localhost:4020http://localhost:4021http://localhost:4001PORT=4020DATABASE_URL=postgres://kvary:kvary@127.0.0.1:5432/kvaryJWT_SECRET=dev-secret-change-meAUTH_SERVICE_URL=http://127.0.0.1:4100PORT=4021DATABASE_URL=postgres://kvary:kvary@127.0.0.1:5432/kvaryJWT_SECRET=dev-secret-change-meAUTH_SERVICE_URL=http://127.0.0.1:4100PORT=4001AUTH_SERVICE_URL=http://127.0.0.1:4100RISK_SERVICE_URL=http://127.0.0.1:4200RISK_INTERNAL_SVC_KEY=dev-internalJWT_SECRET=dev-secret-change-meTENDERS_SERVICE_URL=http://127.0.0.1:4020BUTKHUZI_SERVICE_URL=http://127.0.0.1:4020ICPI_SERVICE_URL unsetThis exercises the current fallback seam:
ICPI_SERVICE_URL ?? TENDERS_SERVICE_URLICPI_SERVICE_URL=http://127.0.0.1:4021svc-tenders ICPI host on :4020svc-icpi on :4021ICPI_SERVICE_URL.GET /api/v1/icpi/* and protected POST /api/v1/icpi/upsert against old-host parity.ICPI_SERVICE_URL=http://127.0.0.1:4021.svc-icpi responses.ICPI_SERVICE_URL override.TENDERS_SERVICE_URL=http://127.0.0.1:4020.svc-icpi.POST /api/v1/icpi/upsert missing-token denial matched old host exactlyPOST /api/v1/icpi/upsert unresolved-principal denial matched old host exactlysvc-icpi exactlyPOST /api/v1/icpi/upsert missing-token denial matched new svc-icpi exactlyPOST /api/v1/icpi/upsert unresolved-principal denial matched new svc-icpi exactlysvc-auth showed a separate robustness issue when /auth/me received a valid-signature token whose sub was not UUID-shaped.Rollback remains simple and low-risk:
ICPI_SERVICE_URLNo ICPI code move-back is required for rollback at this stage.