Compare commits

...

10 Commits

Author SHA1 Message Date
503a350e82 Fixes 2023-06-14 23:02:39 +03:00
5a2a9436a4 Removed organizations from main 2023-06-14 22:58:46 +03:00
1a1411afd8 Decomposed entities yaml file 2023-06-14 22:55:37 +03:00
47a4afe011 Test 4 2023-06-14 18:59:45 +03:00
8f563e481a Test 3 2023-06-14 18:56:17 +03:00
167b5a5d95 Test 2 2023-06-14 18:54:15 +03:00
de1b8b472a Test 2023-06-14 18:48:00 +03:00
18083e9bb3 . 2023-06-14 13:44:35 +03:00
242ae0867a Commented unused 2023-06-14 13:43:18 +03:00
cbd83a85ee Added backstage folder 2023-06-14 13:42:12 +03:00
7 changed files with 49 additions and 31 deletions

11
api/main-api.yaml Normal file
View File

@ -0,0 +1,11 @@
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: TestAPI
description: Hello World example for gRPC
spec:
type: openapi
lifecycle: prodiction
owner: team-c
definition:
$text: sample-api.yaml

8
apis.yaml Normal file
View File

@ -0,0 +1,8 @@
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: AthenaAPIs
description: A collection of Athena APIs
spec:
targets:
- ./api/main-api.yaml

12
components.yaml Normal file
View File

@ -0,0 +1,12 @@
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: []

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/example.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: dipal-docs
description: All components of backstage infrastructure for this project
spec:
targets:
- ./apis.yaml
- ./components.yaml
- ./systems.yaml
# - ./organizations.yaml

6
systems.yaml Normal file
View File

@ -0,0 +1,6 @@
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: examples
spec:
owner: guests