Skip to content

Verify installation

Run these tests from an approved administration host after deployment or upgrade.

Terminal window
docker compose ps
curl --fail --silent --show-error http://localhost:9000/api/health-check
curl --fail --silent --show-error http://localhost:8080/fhir/metadata

Expected: long-running services are Up, the Hospital API returns {}, and HAPI returns a FHIR CapabilityStatement.

The Admin API is not published on host port 8001. Query it from the Kong container:

Terminal window
docker compose exec kong curl --fail --silent http://localhost:8001/services
docker compose exec kong curl --fail --silent http://localhost:8001/routes
docker compose exec kong curl --fail --silent http://localhost:8001/plugins

Confirm services/routes named fhir-api, fhir-api-route, fhir-api-key-auth, and fhir-api-key-auth-route. Confirm Basic Auth and CORS on fhir-api, and Key Auth on fhir-api-key-auth.

The hospital must create the Kong consumer and FHIR_API_KEY; the setup scripts do not create either one. Verify the same key used by the Hospital API against the key-auth FHIR route. Replace all placeholders:

Terminal window
curl --fail --cacert /path/to/ca.pem \
-H 'apikey: <FHIR_API_KEY>' \
'https://<NODE_HOST>/fhir-api-key-auth/metadata'

Do not use --insecure in acceptance tests. Record the certificate subject, image versions, response status, and test time.

After validation, use the operations runbook for routine administration.