Skip to main content

12.2 Deployment & Testing

This section summarizes how the deployed platform is arranged and how the release should be verified after deployment.

12.2.1 Deployment Flow

100%
50%300%
Deployment and testing flow diagram

The deployment begins at the public HTTPS entry point. Users access the React web application through IIS, Nginx, or a load balancer. The web application then sends API traffic to the Ocelot API Gateway, which routes requests to the required .NET microservice.

Each service owns its own database and runtime responsibility. The User Service manages organizations, users, facilities, regions, roles, and access. The Ticketing Service manages the service desk ticket lifecycle, assignments, reports, SLA logic, messages, and attachments. Supporting services such as Mail, Device, CRM, Call Center, and Meta run beside the core services when enabled.

Kafka is used for asynchronous communication between services and background workers. PostgreSQL stores each service database. Attachments are stored outside the relational tables as file/object paths, and email delivery is handled through the configured SMTP or mail gateway.

12.2.2 Deployment Validation

After deployment, verify the release in this order:

StepWhat to Verify
Application startupWeb app, API gateway, and all required services start without runtime errors.
Network routingPublic HTTPS routes to the web app and API gateway routes to the correct services.
Database connectivityEach service can connect to its configured PostgreSQL database and run migrated schema queries.
Kafka connectivityKafka broker is reachable and event-producing services can publish/consume expected events.
File accessTicket and message attachment upload/download paths work.
Mail deliverySMTP or mail gateway sends notification emails from the deployed environment.
User accessAdministrator, National, Regional, and Facility users can sign in and reach their expected menus.
Ticket workflowTicket creation, assignment, message reply, resolution, closure, and reporting flows work end to end.

12.2.3 Testing Scope

Testing should cover smoke testing, role-based access, workflow testing, integration testing, and operational checks.

AreaMinimum Test
Smoke testOpen the web app, sign in, load dashboard, and confirm no critical browser/API errors.
Role accessConfirm each role sees only the expected modules, menus, facilities, reports, and actions.
Ticket workflowCreate a ticket, assign it, add a message, attach a file, resolve it, and confirm it appears in reports.
ReportsConfirm dashboard/report counts match the selected organization and date filters.
IntegrationsConfirm Kafka, mail, attachment storage, and API gateway routes work in the deployed environment.
OperationsCheck service logs, gateway logs, database logs, backup schedule, and restart behavior.

12.2.4 Release Readiness

A deployment is ready for handover when the environment is reachable, core workflows pass, reports load correctly, logs are clean, secrets are stored outside public documentation, and rollback/backup steps are known by the operations team.