Compare commits
10 Commits
305acdf41f
...
503a350e82
Author | SHA1 | Date | |
---|---|---|---|
503a350e82 | |||
5a2a9436a4 | |||
1a1411afd8 | |||
47a4afe011 | |||
8f563e481a | |||
167b5a5d95 | |||
de1b8b472a | |||
18083e9bb3 | |||
242ae0867a | |||
cbd83a85ee |
11
api/main-api.yaml
Normal file
11
api/main-api.yaml
Normal 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
8
apis.yaml
Normal 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
12
components.yaml
Normal 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: []
|
@ -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
12
main.yaml
Normal 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
6
systems.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: backstage.io/v1alpha1
|
||||||
|
kind: System
|
||||||
|
metadata:
|
||||||
|
name: examples
|
||||||
|
spec:
|
||||||
|
owner: guests
|
Loading…
x
Reference in New Issue
Block a user