initial commit
All checks were successful
Build and Push to ACR / Build and Push (push) Successful in 45s
All checks were successful
Build and Push to ACR / Build and Push (push) Successful in 45s
Change-Id: Iccb9a69a29ce96d618762c5c852c8ec43d9b78df
This commit is contained in:
113
catalog-info.yaml
Normal file
113
catalog-info.yaml
Normal file
@@ -0,0 +1,113 @@
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: test-micro-alex-stable-1
|
||||
description: test-micro-alex-stable-1
|
||||
annotations:
|
||||
humanitec.dev/orgId: skillful-wild-chicken-2617
|
||||
humanitec.dev/projectId: test-micro-alex-stable-1
|
||||
backstage.io/techdocs-ref: dir:.
|
||||
backstage.io/kubernetes-namespace: dev
|
||||
backstage.io/kubernetes-namespaces: "dev,staging,prod"
|
||||
backstage.io/kubernetes-label-selector: "app=test-micro-alex-stable-1"
|
||||
gitea.kyndemo.live/repo-slug: "demo-platform/test-micro-alex-stable-1"
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: "3000"
|
||||
prometheus.io/path: "/metrics"
|
||||
grafana/grafana-instance: default
|
||||
grafana/alert-label-selector: "app=test-micro-alex-stable-1"
|
||||
grafana/dashboard-selector: "uid == 'app-test-micro-alex-stable-1'"
|
||||
tags:
|
||||
- microservice
|
||||
- golden-path
|
||||
- nodejs-express
|
||||
- stateless
|
||||
links:
|
||||
- url: https://console.humanitec.dev/orgs/skillful-wild-chicken-2617/projects/test-micro-alex-stable-1
|
||||
title: Humanitec Console
|
||||
icon: dashboard
|
||||
- url: https://gitea.kyndemo.live/demo-platform/test-micro-alex-stable-1
|
||||
title: Source Repository
|
||||
icon: github
|
||||
spec:
|
||||
type: service
|
||||
owner: group:default/platform-engineering
|
||||
system: system:default/platform-engineering
|
||||
lifecycle: experimental
|
||||
providesApis:
|
||||
- test-micro-alex-stable-1-api
|
||||
---
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: API
|
||||
metadata:
|
||||
name: test-micro-alex-stable-1-api
|
||||
description: REST API for test-micro-alex-stable-1
|
||||
annotations:
|
||||
backstage.io/techdocs-ref: dir:.
|
||||
spec:
|
||||
type: openapi
|
||||
lifecycle: experimental
|
||||
owner: group:default/platform-engineering
|
||||
system: system:default/platform-engineering
|
||||
definition: |
|
||||
openapi: "3.0.0"
|
||||
info:
|
||||
title: test-micro-alex-stable-1
|
||||
version: "0.1.0"
|
||||
description: "test-micro-alex-stable-1"
|
||||
servers:
|
||||
- url: https://test-micro-alex-stable-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: Delete 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 }"
|
||||
Reference in New Issue
Block a user