title, generated_by, generated_at, human_edited, source_entity, source_repo
| title | generated_by | generated_at | human_edited | source_entity | source_repo |
|---|---|---|---|---|---|
| sonar-test-nest4 | documentor-agent | 2026-05-21T08:45:51+00:00 | false | Component/default/sonar-test-nest4 | https://gitea.kyndemo.live/validate/sonar-test-nest4 |
Overview
sonar-test-nest4 is a stateless microservice built using the typescript-nestjs runtime. It was scaffolded from the Create Microservice golden-path template on the Kyndryl Platform. The service provides a REST API for managing items, including endpoints for CRUD operations. It is designed to be lightweight, scalable, and observable, with integrated OpenTelemetry instrumentation and Prometheus metrics.
This service plays a critical role in the demo-apps domain, serving as a testbed for platform capabilities such as CI/CD pipelines, observability, and load testing. It is managed via Humanitec and deployed to Azure Kubernetes Service (AKS) using Score-based configurations.
Repository
| Field | Value |
|---|---|
| Source Repo | sonar-test-nest4 |
| Branch | dev |
| ArgoCD App | — |
| Namespace | dev |
Architecture
sonar-test-nest4 follows a modern microservice architecture with the following components:
- Runtime:
typescript-nestjs - Container Port:
3000 - Endpoints:
/api/itemsfor CRUD operations/healthfor health checks/metricsfor Prometheus metrics
- Deployment:
- Images are built and pushed to Azure Container Registry (ACR).
- Humanitec API triggers deployments to AKS using Score-based configurations.
- CI/CD:
- Gitea Actions workflows (
build-push.ymlanddeploy-humanitec.yml) automate build, test, and deployment processes. - Promotion between environments (
dev → staging → prod) is gated by CI checks and manual approvals.
- Gitea Actions workflows (
Configuration
| Config Key | Value |
|---|---|
runtime |
typescript-nestjs |
health_path |
/health |
container_port |
3000 |
Additional configuration options are managed via .platform/config.yaml and Humanitec score files.
Operations
Deployment Flow
- Push changes to the
devbranch to trigger automatic builds and deployments to the dev environment. - Promote changes to
stagingorprodvia PRs, requiring CI checks and one approval. - Use Backstage's CI/CD tab to monitor and trigger promotions between environments.
Runbook Notes
- Health Check: Verify service health via
/health. - Metrics: Access Prometheus metrics at
/metrics. - Load Testing: K6 is enabled for load testing, with configurations stored in the
k6-test-sonar-test-nest4ConfigMap.
Observability
- Grafana Dashboard: OpenTelemetry Application Observability
- Prometheus Metrics: Exposed at
/metricson port3000.
Dependencies
api:default/sonar-test-nest4-api