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

Change-Id: I4630f10e87c2a1233268fb6df6e8513936d893bf
This commit is contained in:
Scaffolder
2026-05-06 13:06:20 +00:00
commit cd38fba131
16 changed files with 1396 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-go
description: SonarQube test — Go runtime
annotations:
humanitec.com/orgId: skillful-wild-chicken-2617
humanitec.com/projectId: sonar-test-go
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-go"
gitea.kyndemo.live/repo-slug: "validate/sonar-test-go"
sonarqube.org/project-key: sonar-test-go
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
prometheus.io/path: "/metrics"
grafana/grafana-instance: default
grafana/alert-label-selector: "app=sonar-test-go"
grafana/dashboard-selector: "uid == 'otel-app-observability-v2'"
grafana.com/alert-label-selector: "app=sonar-test-go"
grafana.com/dashboard-url: "https://grafana.kyndemo.live/d/otel-app-observability-v2/opentelemetry-application-observability?orgId=1&var-app=sonar-test-go"
chaos-mesh/enabled: "true"
k6/enabled: "true"
k6/test-configmap: "k6-test-sonar-test-go"
k6/test-namespace: "dev"
k6/target-service: "sonar-test-go"
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-go
title: Humanitec Console
icon: dashboard
- url: https://grafana.kyndemo.live/d/otel-app-observability-v2/opentelemetry-application-observability?orgId=1&var-app=sonar-test-go
title: Grafana Dashboard
icon: dashboard
- url: https://gitea.kyndemo.live/validate/sonar-test-go
title: Source Repository
icon: github
spec:
type: service
owner: group:default/platform-engineering
lifecycle: experimental
providesApis:
- sonar-test-go-api
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: sonar-test-go-api
description: REST API for sonar-test-go
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-go
version: "0.1.0"
description: "SonarQube test — Go runtime"
servers:
- url: https://sonar-test-go.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 }"