# Ненормативный пример. Иллюстрирует STD-MAN-001, STD-MAN-002,
# STD-MAN-003, STD-MAN-004, INF-MAN-001, INF-MAN-002 и INF-MAN-006.
# Не копировать без выбора фактических компонентов и возможностей проекта.
schema_version: 3
standards:
  tag: v1.0.0
  commit_sha: 0123456789abcdef0123456789abcdef01234567
project: platform/orders
owner:
  name: Orders team
  contact: "#orders-team"
  escalation: on-call/orders
components:
  - id: orders-api
    kind: backend
  - id: customer-web
    kind: frontend
capabilities:
  - id: orders-http
    type: http-api
    providers:
      - orders-api
    consumers:
      - customer-web
  - id: customer-login
    type: user-authentication
    providers:
      - orders-api
    consumers:
      - customer-web
targets:
  - name: local
    environment: local
    platform: local-workstation
    runtime: compose
    availability: single-instance
    delivery: local
    configuration:
      project: platform/orders
      path: examples/compose
    capabilities:
      - postgresql
  - name: production
    environment: production
    platform: kubernetes-eu-1
    runtime: kubernetes
    namespace: orders-production
    availability: high-availability
    failure_tolerance:
      - worker-node
    delivery: gitlab-ci-agent
    configuration:
      project: platform/orders
      path: deploy/kubernetes/overlays/production
    capabilities:
      - postgresql
