Files
sonar-test-nest3/catalog-info.yaml
Scaffolder 4ad66fd688
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m9s
initial commit
Change-Id: Ieef4347967c992d99068a9713b252fd625499445
2026-05-11 13:00:06 +00:00

140 lines
3.7 KiB
YAML

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: sonar-test-nest3
description: sonar-test-nest3
annotations:
humanitec.com/orgId: skillful-wild-chicken-2617
humanitec.com/projectId: domain-demo-apps
cjot.io/target-domain: "demo-apps"
backstage.io/techdocs-ref: dir:.
backstage.io/kubernetes-namespace: dev
backstage.io/kubernetes-namespaces: "dev"
backstage.io/kubernetes-label-selector: "app=sonar-test-nest3"
gitea.kyndemo.live/repo-slug: "validate/sonar-test-nest3"
sonarqube.org/project-key: sonar-test-nest3
prometheus.io/scrape: "true"
prometheus.io/port: "3000"
prometheus.io/path: "/metrics"
grafana/grafana-instance: default
grafana/alert-label-selector: "app=sonar-test-nest3"
grafana/dashboard-selector: "uid == 'otel-app-observability-v2'"
grafana.com/alert-label-selector: "app=sonar-test-nest3"
grafana.com/dashboard-url: "https://grafana.kyndemo.live/d/otel-app-observability-v2/opentelemetry-application-observability?orgId=1&var-app=sonar-test-nest3"
chaos-mesh/enabled: "true"
k6/enabled: "true"
k6/test-configmap: "k6-test-sonar-test-nest3"
k6/test-namespace: "dev"
k6/target-service: "sonar-test-nest3"
k6/target-port: "3000"
tags:
- microservice
- golden-path
- typescript-nestjs
- stateless
- opentelemetry
- load-testing
- k6
links:
- url: https://console.humanitec.dev/orgs/skillful-wild-chicken-2617/projects/domain-demo-apps
title: Humanitec Console
icon: dashboard
- url: https://grafana.kyndemo.live/d/otel-app-observability-v2/opentelemetry-application-observability?orgId=1&var-app=sonar-test-nest3
title: Grafana Dashboard
icon: dashboard
- url: https://gitea.kyndemo.live/validate/sonar-test-nest3
title: Source Repository
icon: github
spec:
type: service
owner: group:default/platform-engineering
lifecycle: experimental
providesApis:
- sonar-test-nest3-api
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: sonar-test-nest3-api
description: REST API for sonar-test-nest3
annotations:
backstage.io/techdocs-ref: dir:.
spec:
type: openapi
lifecycle: experimental
owner: group:default/platform-engineering
definition: |
openapi: "3.0.0"
info:
title: sonar-test-nest3
version: "0.1.0"
description: "sonar-test-nest3"
servers:
- url: https://sonar-test-nest3.kyndemo.live
paths:
/api/items:
get:
summary: List all items
responses:
"200":
description: OK
post:
summary: Create item
responses:
"201":
description: Created
/api/items/{id}:
get:
summary: Get by ID
parameters:
- name: id
in: path
required: true
schema:
type: integer
responses:
"200":
description: OK
"404":
description: Not found
put:
summary: Update item
parameters:
- name: id
in: path
required: true
schema:
type: integer
responses:
"200":
description: OK
delete:
summary: Update item
parameters:
- name: id
in: path
required: true
schema:
type: integer
responses:
"200":
description: Deleted
/health:
get:
summary: Health check
responses:
"200":
description: "{ status: UP }"