[INFRA-GOV-01] Deployment of an Isolated SOAP Government Services Simulator (Sandbox)

Infrastructure and Environment

Published

October 14, 2026

NoteTask Brief
  • Repository / Component: gov_identity_soap_mock.
  • Stack: Go (1.27+), Docker Compose, PostgreSQL 15.
  • Task Type: DevOps / Infra.
  • Status: Ready for Implementation

Task Description

To test corporate employee suspension logic and validate registration thresholds without interacting with actual governmental entities, it is necessary to deploy a local, isolated simulator called the Fake Governmental Identity SOAP Platform. This service emulates the behavior of a highly loaded legacy system utilizing the SOAP/XML protocol over HTTP on port :8000.

Step-by-Step Instructions

  1. Creating the Environment Configuration: Prepare a docker-compose.yml file defining two distinct services: the Go simulator application and the PostgreSQL 15 database management system.
  2. Ensuring Data Persistence: Configure Docker Volumes for the PostgreSQL container to maintain mock database records seamlessly across container restarts.
  3. Orchestrating the Launch sequence: Ensure that the Go backend application starts strictly after the PostgreSQL instance is completely ready to accept network connections (utilize wait-for-it scripts or the depends_on directive paired with a service_healthy condition).
  4. Verifying Operational Status: Build and execute the stack using the docker compose up --build command. Verify the accessibility of the local entrypoint at http://localhost:8000/.