Skip to content

Commit 38f7be0

Browse files
authored
Merge pull request #30 from BuoyantIO/flynn/dev/catalog
Add a Backstage catalog (for version 1.5.0)
2 parents cb31c58 + f4a2887 commit 38f7be0

File tree

1 file changed

+239
-0
lines changed

1 file changed

+239
-0
lines changed

backstage-catalog.yaml

+239
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,239 @@
1+
# This file contains some sample data to model the services which are deployed with the emojivoto demo
2+
# from linkerd into the Backstage Software Catalog.
3+
apiVersion: backstage.io/v1alpha1
4+
kind: System
5+
metadata:
6+
name: faces
7+
namespace: faces
8+
description: The Faces Demo
9+
links:
10+
- url: https://github.com/BuoyantIO/faces-demo
11+
title: Faces Demo on GitHub
12+
annotations:
13+
backstage.io/source-location: url:https://github.com/BuoyantIO/faces-demo
14+
github.com/project-slug: BuoyantIO/faces-demo
15+
spec:
16+
owner: user:default/guest
17+
---
18+
apiVersion: backstage.io/v1alpha1
19+
kind: Component
20+
metadata:
21+
name: faces-gui
22+
description: The Faces GUI
23+
namespace: faces
24+
annotations:
25+
backstage.io/kubernetes-label-selector: service=faces-gui
26+
backstage.io/kubernetes-namespace: faces
27+
github.com/project-slug: BuoyantIO/faces-demo
28+
links:
29+
- url: http://localhost/faces/
30+
title: Faces GUI
31+
spec:
32+
type: website
33+
lifecycle: production
34+
owner: user:default/guest
35+
system: faces
36+
---
37+
apiVersion: backstage.io/v1alpha1
38+
kind: Component
39+
metadata:
40+
name: face
41+
description: Face workload
42+
namespace: faces
43+
annotations:
44+
backstage.io/kubernetes-label-selector: service=face
45+
backstage.io/kubernetes-namespace: faces
46+
backstage.io/source-location: url:https://github.com/BuoyantIO/faces-demo
47+
github.com/project-slug: BuoyantIO/faces-demo
48+
links:
49+
- url: http://localhost/faces/
50+
title: Faces GUI
51+
spec:
52+
type: service
53+
lifecycle: production
54+
owner: user:default/guest
55+
system: faces
56+
providesApis: [face-api]
57+
consumesApis: [smiley-api, color-api]
58+
---
59+
apiVersion: backstage.io/v1alpha1
60+
kind: Component
61+
metadata:
62+
name: smiley
63+
description: The smiley workload
64+
namespace: faces
65+
annotations:
66+
backstage.io/kubernetes-label-selector: service=smiley
67+
backstage.io/kubernetes-namespace: faces
68+
github.com/project-slug: BuoyantIO/faces-demo
69+
links: []
70+
spec:
71+
type: service
72+
lifecycle: production
73+
owner: user:default/guest
74+
system: faces
75+
providesApis: [smiley-api]
76+
---
77+
apiVersion: backstage.io/v1alpha1
78+
kind: Component
79+
metadata:
80+
name: color
81+
description: The color workload
82+
namespace: faces
83+
annotations:
84+
backstage.io/kubernetes-label-selector: service=color
85+
backstage.io/kubernetes-namespace: faces
86+
github.com/project-slug: BuoyantIO/faces-demo
87+
links: []
88+
spec:
89+
type: service
90+
lifecycle: production
91+
owner: user:default/guest
92+
system: faces
93+
providesApis: [color-api]
94+
---
95+
apiVersion: backstage.io/v1alpha1
96+
kind: API
97+
metadata:
98+
name: face-api
99+
namespace: faces
100+
description: Retrieve a Face cell
101+
spec:
102+
type: openapi
103+
lifecycle: production
104+
owner: user:default/guest
105+
system: faces
106+
definition: |
107+
openapi: "3.0.0"
108+
info:
109+
version: 1.5.0
110+
title: Face API
111+
license:
112+
name: Apache2
113+
servers:
114+
- url: http://face.faces/
115+
paths:
116+
/cell:
117+
get:
118+
summary: Retrieve a Face cell
119+
parameters:
120+
- in: query
121+
name: row
122+
required: true
123+
schema:
124+
type: integer
125+
description: The row number of the desired cell, starting from 0
126+
- in: query
127+
name: col
128+
required: true
129+
schema:
130+
type: integer
131+
description: The column number of the desired cell, starting from 0
132+
---
133+
apiVersion: backstage.io/v1alpha1
134+
kind: API
135+
metadata:
136+
name: smiley-api
137+
namespace: faces
138+
description: Retrieve a smiley for a Face cell
139+
spec:
140+
type: openapi
141+
lifecycle: production
142+
owner: user:default/guest
143+
system: faces
144+
definition: |
145+
openapi: "3.0.0"
146+
info:
147+
version: 1.5.0
148+
title: Smiley API
149+
license:
150+
name: Apache2
151+
servers:
152+
- url: http://smiley.faces/
153+
paths:
154+
/center:
155+
get:
156+
summary: Retrieve a smiley for a central Face cell
157+
parameters:
158+
- in: query
159+
name: row
160+
required: true
161+
schema:
162+
type: integer
163+
description: The row number of the desired cell, starting from 0
164+
- in: query
165+
name: col
166+
required: true
167+
schema:
168+
type: integer
169+
description: The column number of the desired cell, starting from 0
170+
/edge:
171+
get:
172+
summary: Retrieve a smiley for an edge Face cell
173+
parameters:
174+
- in: query
175+
name: row
176+
required: true
177+
schema:
178+
type: integer
179+
description: The row number of the desired cell, starting from 0
180+
- in: query
181+
name: col
182+
required: true
183+
schema:
184+
type: integer
185+
description: The column number of the desired cell, starting from 0
186+
---
187+
apiVersion: backstage.io/v1alpha1
188+
kind: API
189+
metadata:
190+
name: color-api
191+
namespace: faces
192+
description: Retrieve a color for a Face cell
193+
spec:
194+
type: openapi
195+
lifecycle: production
196+
owner: user:default/guest
197+
system: faces
198+
definition: |
199+
openapi: "3.0.0"
200+
info:
201+
version: 1.5.0
202+
title: Color API
203+
license:
204+
name: Apache2
205+
servers:
206+
- url: http://color.faces/
207+
paths:
208+
/center:
209+
get:
210+
summary: Retrieve a color for a central Face cell
211+
parameters:
212+
- in: query
213+
name: row
214+
required: true
215+
schema:
216+
type: integer
217+
description: The row number of the desired cell, starting from 0
218+
- in: query
219+
name: col
220+
required: true
221+
schema:
222+
type: integer
223+
description: The column number of the desired cell, starting from 0
224+
/edge:
225+
get:
226+
summary: Retrieve a color for an edge Face cell
227+
parameters:
228+
- in: query
229+
name: row
230+
required: true
231+
schema:
232+
type: integer
233+
description: The row number of the desired cell, starting from 0
234+
- in: query
235+
name: col
236+
required: true
237+
schema:
238+
type: integer
239+
description: The column number of the desired cell, starting from 0

0 commit comments

Comments
 (0)