-
Notifications
You must be signed in to change notification settings - Fork 1
/
catalogs.yaml
91 lines (91 loc) · 2.04 KB
/
catalogs.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
---
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: rh-one-system
tags:
- rh-one
spec:
owner: rhdh
---
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: rh-one_database
description: "Event Data"
annotations:
backstage.io/managed-by-location: "url:https://github.com/my-org/my-repo/blob/master/database.yaml"
spec:
type: database
owner: rhdh
system: rh-one-system
---
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: events_s3
description: "Events S3 Bucket"
annotations:
backstage.io/managed-by-location: "url:https://github.com/my-org/my-repo/blob/master/s3-bucket.yaml"
spec:
type: storage
owner: rhdh
system: rh-one-system
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: events_api
description: "Get Events API"
annotations:
backstage.io/managed-by-location: "url:https://github.com/my-org/my-repo/blob/master/my-grpc-api.yaml"
spec:
type: grpc
lifecycle: production
owner: rhdh
system: rh-one-system
definition: |
syntax = "proto3";
package myorg.mygrpcapi;
message MyRequest {
string query = 1;
}
message MyResponse {
string result = 1;
}
service MyGrpcApi {
rpc MyMethod (MyRequest) returns (MyResponse);
}
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: rh-one-backend
description: "Event Backend Service"
annotations:
backstage.io/managed-by-location: "url:https://github.com/my-org/my-repo/blob/master/my-backend.yaml"
spec:
type: service
lifecycle: production
owner: rhdh
system: rh-one-system
dependsOn:
- resource:rh-one_database
- resource:events_s3
providesApis:
- events_api
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: rh-one-frontend
description: "Events Frontend Service"
annotations:
backstage.io/managed-by-location: "url:https://github.com/my-org/my-repo/blob/master/my-frontend.yaml"
spec:
type: service
lifecycle: production
owner: rhdh
system: rh-one-system
consumesApis:
- events_api