initial commit
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m27s

Change-Id: I3ada42bc15023348100ef2c47ba0830240e41633
This commit is contained in:
Scaffolder
2026-05-11 10:29:13 +00:00
commit 0a0006a895
16 changed files with 1398 additions and 0 deletions

139
catalog-info.yaml Normal file
View File

@@ -0,0 +1,139 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: sonar-test-go3
description: sonar-test-go3
annotations:
humanitec.com/orgId: skillful-wild-chicken-2617
humanitec.com/projectId: sonar-test-go3
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-go3"
gitea.kyndemo.live/repo-slug: "validate/sonar-test-go3"
sonarqube.org/project-key: sonar-test-go3
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
prometheus.io/path: "/metrics"
grafana/grafana-instance: default
grafana/alert-label-selector: "app=sonar-test-go3"
grafana/dashboard-selector: "uid == 'otel-app-observability-v2'"
grafana.com/alert-label-selector: "app=sonar-test-go3"
grafana.com/dashboard-url: "https://grafana.kyndemo.live/d/otel-app-observability-v2/opentelemetry-application-observability?orgId=1&var-app=sonar-test-go3"
chaos-mesh/enabled: "true"
k6/enabled: "true"
k6/test-configmap: "k6-test-sonar-test-go3"
k6/test-namespace: "dev"
k6/target-service: "sonar-test-go3"
k6/target-port: "8080"
tags:
- microservice
- golden-path
- go
- stateless
- opentelemetry
- load-testing
- k6
links:
- url: https://console.humanitec.dev/orgs/skillful-wild-chicken-2617/projects/sonar-test-go3
title: Humanitec Console
icon: dashboard
- url: https://grafana.kyndemo.live/d/otel-app-observability-v2/opentelemetry-application-observability?orgId=1&var-app=sonar-test-go3
title: Grafana Dashboard
icon: dashboard
- url: https://gitea.kyndemo.live/validate/sonar-test-go3
title: Source Repository
icon: github
spec:
type: service
owner: group:default/platform-engineering
lifecycle: experimental
providesApis:
- sonar-test-go3-api
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: sonar-test-go3-api
description: REST API for sonar-test-go3
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-go3
version: "0.1.0"
description: "sonar-test-go3"
servers:
- url: https://sonar-test-go3.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 }"