Files
gate-svc-1/catalog-info.yaml
Scaffolder ed04d3f8a1
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Failing after 1m10s
initial commit
Change-Id: I84c73d9fbc3ab907d3b34cf59d343a84723a0d49
2026-08-02 11:12:52 +00:00

140 lines
3.8 KiB
YAML

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