forked from anilvmware/tap-script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcatalog-info.yaml
109 lines (101 loc) · 2.43 KB
/
catalog-info.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
apiVersion: backstage.io/v1alpha1
kind: Domain
metadata:
name: demo-domain
description: Demo Domain for Tanzu Application Platform
annotations:
'backstage.io/techdocs-ref': dir:.
spec:
owner: demo-team
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: demo-app-ms-1
description: Demo Application's Microservice-1
tags:
- microservice
annotations:
'backstage.io/kubernetes-label-selector': 'app.kubernetes.io/part-of=demo-app-ms-1'
'backstage.io/techdocs-ref': dir:.
spec:
type: service
providesApis:
- demo-api
lifecycle: alpha
owner: demo-team
system: demo-app
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: demo-app-ms-2
description: Demo Application's Microservice-2
tags:
- microservice
annotations:
'backstage.io/kubernetes-label-selector': 'app.kubernetes.io/part-of=demo-app-ms-2'
'backstage.io/techdocs-ref': dir:.
spec:
type: service
consumesApis:
- demo-api
lifecycle: alpha
owner: demo-team
system: demo-app
---
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: demo-app
description: Demo Application for Tanzu Application Platform
annotations:
'backstage.io/techdocs-ref': dir:.
spec:
owner: demo-team
domain: demo-domain
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: demo-api
description: The demo API for Tanzu Application Platform GUI
links:
- url: https://api.agify.io
title: API Definition
icon: docs
- url: https://petstore.swagger.io/v2/swagger.json
title: petstore
icon: docs
spec:
type: openapi
lifecycle: experimental
owner: demo-team
system: demo-app # Or specify system name of your choice
definition: |
openapi: 3.0.1
info:
title: Demo API
description: defaultDescription
version: '0.1'
servers:
- url: https://api.agify.io
- url: https://petstore.swagger.io/v2/swagger.json
paths:
/:
get:
description: Auto generated using Swagger Inspector
parameters:
- name: name
in: query
schema:
type: string
example: type_any_name
responses:
'200':
description: Auto generated using Swagger Inspector
content:
application/json; charset=utf-8:
schema:
type: string
examples: {}