Compare commits

..

12 Commits

Author SHA1 Message Date
e5ef7bbc27 Merge pull request 'docs: link entities to platform-docs READMEs' (#5) from documentor-annotations-9e0e917a into main
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m2s
Reviewed-on: #5
2026-05-21 07:26:15 +00:00
194e432143 docs: set docs.kyndemo.live/readme for component/default/sonar-test-nest4 [documentor-agent]
All checks were successful
Integration Test / Unit Tests + Container Smoke (workflow_dispatch) All checks passed
Integration Test / Platform Conformance (pull_request) Successful in 4s
Integration Test / Unit Tests + Container Smoke (pull_request) Successful in 1m18s
SonarQube Analysis / Build, Test & Analyse (pull_request) Successful in 1m31s
2026-05-18 10:04:06 +00:00
0fd74664ea Update catalog-info.yaml
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 54s
2026-05-18 10:01:58 +00:00
bd67d424f0 Update docs/architecture.md
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 55s
2026-05-18 09:43:34 +00:00
e661b86f3a Update README.md 2026-05-18 09:18:41 +00:00
af14760e8f Merge pull request 'docs: link component/default/sonar-test-nest4 to platform-docs README' (#4) from documentor-agent-component-default-sonar-test-nest4-doc-c2a4ce0c8ba8-annotation into main
Reviewed-on: #4
2026-05-14 12:43:41 +00:00
1097d54a43 Merge pull request 'docs: link component/default/sonar-test-nest4 to platform-docs README' (#3) from documentor-agent-component-default-sonar-test-nest4-doc-c36e042daba8-annotation into main
Reviewed-on: #3
2026-05-14 12:42:15 +00:00
ff491bcef7 Merge pull request 'docs: link component/default/sonar-test-nest4 to platform-docs README' (#2) from documentor-agent-component-default-sonar-test-nest4-doc-11b79abf7f12-annotation into main
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m0s
Reviewed-on: #2
2026-05-14 12:39:51 +00:00
9f9e41792c docs: set docs.kyndemo.live/readme for component/default/sonar-test-nest4 [documentor-agent]
Some checks failed
Integration Test / Unit Tests + Container Smoke (workflow_dispatch) All checks passed
Integration Test / Platform Conformance (pull_request) Successful in 5s
SonarQube Analysis / Build, Test & Analyse (pull_request) Failing after 1m25s
Integration Test / Unit Tests + Container Smoke (pull_request) Successful in 1m25s
2026-05-14 12:04:46 +00:00
05308edc60 docs: set docs.kyndemo.live/readme for component/default/sonar-test-nest4 [documentor-agent]
Some checks failed
Integration Test / Unit Tests + Container Smoke (workflow_dispatch) All checks passed
Integration Test / Platform Conformance (pull_request) Successful in 4s
Integration Test / Unit Tests + Container Smoke (pull_request) Successful in 1m22s
SonarQube Analysis / Build, Test & Analyse (pull_request) Failing after 1m35s
2026-05-14 12:04:38 +00:00
caaecfe856 docs: set docs.kyndemo.live/readme for component/default/sonar-test-nest4 [documentor-agent]
Some checks failed
Integration Test / Unit Tests + Container Smoke (workflow_dispatch) All checks passed
Integration Test / Platform Conformance (pull_request) Successful in 4s
SonarQube Analysis / Build, Test & Analyse (pull_request) Failing after 1m23s
Integration Test / Unit Tests + Container Smoke (pull_request) Successful in 1m19s
2026-05-14 12:03:43 +00:00
8d8fb6e13c Merge pull request 'sonarQ test on PR' (#1) from dev into main
Reviewed-on: #1
2026-05-12 10:38:21 +00:00
3 changed files with 61 additions and 108 deletions

View File

@@ -21,3 +21,5 @@ is migrated to a different runtime.
| `runtime` | `typescript-nestjs` | | `runtime` | `typescript-nestjs` |
| `health_path` | `/health` | | `health_path` | `/health` |
| `container_port` | `3000` | | `container_port` | `3000` |

View File

@@ -6,62 +6,56 @@ metadata:
annotations: annotations:
humanitec.com/orgId: skillful-wild-chicken-2617 humanitec.com/orgId: skillful-wild-chicken-2617
humanitec.com/projectId: domain-demo-apps humanitec.com/projectId: domain-demo-apps
cjot.io/target-domain: "demo-apps" cjot.io/target-domain: demo-apps
backstage.io/techdocs-ref: dir:. backstage.io/techdocs-ref: dir:.
backstage.io/kubernetes-namespace: dev backstage.io/kubernetes-namespace: dev
backstage.io/kubernetes-namespaces: "dev" backstage.io/kubernetes-namespaces: dev
backstage.io/kubernetes-label-selector: "app=sonar-test-nest4" backstage.io/kubernetes-label-selector: app=sonar-test-nest4
gitea.kyndemo.live/repo-slug: "validate/sonar-test-nest4" gitea.kyndemo.live/repo-slug: validate/sonar-test-nest4
sonarqube.org/project-key: sonar-test-nest4 sonarqube.org/project-key: sonar-test-nest4
prometheus.io/scrape: "true" prometheus.io/scrape: 'true'
prometheus.io/port: "3000" prometheus.io/port: '3000'
prometheus.io/path: "/metrics" prometheus.io/path: /metrics
grafana/grafana-instance: default grafana/grafana-instance: default
grafana/alert-label-selector: "app=sonar-test-nest4" grafana/alert-label-selector: app=sonar-test-nest4
grafana/dashboard-selector: uid == 'otel-app-observability-v2'
grafana/dashboard-selector: "uid == 'otel-app-observability-v2'" grafana.com/alert-label-selector: app=sonar-test-nest4
grafana.com/alert-label-selector: "app=sonar-test-nest4" grafana.com/dashboard-url:
grafana.com/dashboard-url: "https://grafana.kyndemo.live/d/otel-app-observability-v2/opentelemetry-application-observability?orgId=1&var-app=sonar-test-nest4" https://grafana.kyndemo.live/d/otel-app-observability-v2/opentelemetry-application-observability?orgId=1&var-app=sonar-test-nest4
chaos-mesh/enabled: "true" chaos-mesh/enabled: 'true'
k6/enabled: 'true'
k6/test-configmap: k6-test-sonar-test-nest4
k6/enabled: "true" k6/test-namespace: dev
k6/test-configmap: "k6-test-sonar-test-nest4" k6/target-service: sonar-test-nest4
k6/test-namespace: "dev" k6/target-port: '3000'
k6/target-service: "sonar-test-nest4" docs.kyndemo.live/readme:
k6/target-port: "3000" catalog/component/default/sonar-test-nest4/README.md
tags: tags:
- microservice - microservice
- golden-path - golden-path
- typescript-nestjs - typescript-nestjs
- stateless - stateless
- opentelemetry
- opentelemetry - load-testing
- k6
- load-testing
- k6
links: links:
- url: https://console.humanitec.dev/orgs/skillful-wild-chicken-2617/projects/domain-demo-apps - url:
title: Humanitec Console https://console.humanitec.dev/orgs/skillful-wild-chicken-2617/projects/domain-demo-apps
icon: dashboard title: Humanitec Console
icon: dashboard
- url: https://grafana.kyndemo.live/d/otel-app-observability-v2/opentelemetry-application-observability?orgId=1&var-app=sonar-test-nest4 - url:
title: Grafana Dashboard https://grafana.kyndemo.live/d/otel-app-observability-v2/opentelemetry-application-observability?orgId=1&var-app=sonar-test-nest4
icon: dashboard title: Grafana Dashboard
icon: dashboard
- url: https://gitea.kyndemo.live/validate/sonar-test-nest4 - url: https://gitea.kyndemo.live/validate/sonar-test-nest4
title: Source Repository title: Source Repository
icon: github icon: github
spec: spec:
type: service type: service
owner: group:default/platform-engineering owner: group:default/platform-engineering
lifecycle: experimental lifecycle: experimental
providesApis: providesApis:
- sonar-test-nest4-api - sonar-test-nest4-api
--- ---
apiVersion: backstage.io/v1alpha1 apiVersion: backstage.io/v1alpha1
kind: API kind: API
@@ -74,66 +68,20 @@ spec:
type: openapi type: openapi
lifecycle: experimental lifecycle: experimental
owner: group:default/platform-engineering owner: group:default/platform-engineering
definition: "openapi: \"3.0.0\"\ninfo:\n title: sonar-test-nest4\n version: \"\
definition: | 0.1.0\"\n description: \"sonar-test-nest4\"\nservers:\n - url: https://sonar-test-nest4.kyndemo.live\n\
openapi: "3.0.0" paths:\n /api/items:\n get:\n summary: List all items\n responses:\n\
info: \ \"200\":\n description: OK\n post:\n summary: Create
title: sonar-test-nest4 item\n responses:\n \"201\":\n description: Created\n /api/items/{id}:\n\
version: "0.1.0" \ get:\n summary: Get by ID\n parameters:\n - name: id\n \
description: "sonar-test-nest4" \ in: path\n required: true\n schema:\n type:
servers: integer\n responses:\n \"200\":\n description: OK\n \
- url: https://sonar-test-nest4.kyndemo.live \ \"404\":\n description: Not found\n put:\n summary: Update
paths: item\n parameters:\n - name: id\n in: path\n required:
/api/items: true\n schema:\n type: integer\n responses:\n \
get: \ \"200\":\n description: OK\n delete:\n summary: Update item\n\
summary: List all items \ parameters:\n - name: id\n in: path\n required:
responses: true\n schema:\n type: integer\n responses:\n \
"200": \ \"200\":\n description: Deleted\n /health:\n get:\n summary:
description: OK Health check\n responses:\n \"200\":\n description: \"{ status:
post: UP }\"\n"
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 }"

View File

@@ -18,6 +18,9 @@ Push to dev/staging/prod
→ deploy-humanitec.yml (hctl score deploy) → deploy-humanitec.yml (hctl score deploy)
``` ```
## Deployment alternative method
## Branch model ## Branch model
| Branch | Purpose | | Branch | Purpose |