Files
alex-1/catalog-info.yaml
Scaffolder 745d30d3c0
All checks were successful
Build and Push to ACR / Build and Push (push) Has been skipped
Build and Publish TechDocs / build-and-publish (push) Successful in 1m9s
initial commit
Change-Id: I1296dc1a3294331f7dcee8e793bc3ed2c63351a3
2026-05-11 19:25:48 +00:00

140 lines
3.5 KiB
YAML

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