Decomposed entities yaml file

This commit is contained in:
Daniel Weissmall 2023-06-14 22:55:37 +03:00
parent 47a4afe011
commit 1a1411afd8
11 changed files with 15 additions and 46 deletions

View File

@ -8,4 +8,4 @@ spec:
lifecycle: prodiction
owner: team-c
definition:
$text: example.yaml
$text: sample-api.yaml

View File

@ -5,4 +5,4 @@ metadata:
description: A collection of Athena APIs
spec:
targets:
- ../api/api-component.yaml
- ./api/main-api.yaml

View File

@ -1,12 +0,0 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: example-all
description: A collection of all Backstage example entities, except users, groups, and templates
spec:
targets:
- ./all-apis.yaml
- ./all-components.yaml
# - ./all-domains.yaml
# - ./all-resources.yaml
- ./all-systems.yaml

View File

@ -3,7 +3,7 @@ kind: Component
metadata:
name: Athena
annotations:
backstage.io/techdocs-ref: dir:..
backstage.io/techdocs-ref: dir:.
spec:
type: documentation
lifecycle: production

View File

@ -1,31 +0,0 @@
---
# https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: examples
spec:
owner: guests
---
# https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: Athena
annotations:
backstage.io/techdocs-ref: dir:.
spec:
type: documentation
lifecycle: production
owner: guests
system: examples
providesApis: []
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: AthenaAPIs
description: A collection of Athena APIs
spec:
targets:
- ./api/api-component.yaml

12
main.yaml Normal file
View File

@ -0,0 +1,12 @@
# https://backstage.io/docs/features/software-catalog/descriptor-format
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: Infrastructure
description: All components of backstage infrastructure for this project
spec:
targets:
- ./apis.yaml
- ./components.yaml
- ./systems.yaml
- ./organizations.yaml