Skip to content

Commit 4369963

Browse files
authored
Update Backstage documentation for Nais deploy (#384)
* Update Backstage documentation for Nais deploy * Fix component type for klass-mail * Add Keycloak as Klass Forvaltning dependency
1 parent 4ba0fda commit 4369963

File tree

1 file changed

+71
-8
lines changed

1 file changed

+71
-8
lines changed

backstage.yaml

Lines changed: 71 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ metadata:
66
description:
77
Spring Boot application that handles classifications for SSB. Klass provides a REST api that clients can use to read classifications.
88
tags:
9-
- on-prem
109
- metadata
1110
- java
1211
- classification
1312
- codelist
13+
- nais
1414
annotations:
1515
github.com/project-slug: statisticsnorway/klass
1616
spec:
@@ -21,8 +21,10 @@ spec:
2121
providesApis:
2222
- klass-api
2323
dependsOn:
24-
- resource:klass-mariadb
24+
- resource:klass-postgresql
25+
- resource:klass-opensearch
2526
- component:ssbno-varnish
27+
- component:klass-mail
2628
---
2729
apiVersion: backstage.io/v1alpha1
2830
kind: API
@@ -48,12 +50,12 @@ metadata:
4850
description:
4951
A Vaadin frontend for maintaining classifications for Klass.
5052
tags:
51-
- on-prem
5253
- metadata
5354
- java
5455
- vaadin
5556
- classification
5657
- codelist
58+
- nais
5759
annotations:
5860
github.com/project-slug: statisticsnorway/klass
5961
spec:
@@ -62,19 +64,80 @@ spec:
6264
lifecycle: production
6365
system: metadata
6466
dependsOn:
65-
- resource:klass-mariadb
67+
- system:keycloak
68+
- resource:klass-postgresql
69+
- resource:klass-solr
70+
- component:ssbno-varnish
71+
- component:klass-mail
72+
---
73+
apiVersion: backstage.io/v1alpha1
74+
kind: Component
75+
metadata:
76+
title: Klass Mail
77+
name: klass-mail
78+
description:
79+
A simple service which abstracts Email sending. Uses SUP Postman.
80+
tags:
81+
- metadata
82+
- java
83+
- sup-postman
84+
- nais
85+
annotations:
86+
github.com/project-slug: statisticsnorway/klass
87+
spec:
88+
type: service
89+
owner: dapla-metadata-developers
90+
lifecycle: production
91+
system: metadata
92+
dependsOn:
93+
- resource:postman-incoming-topic
6694
---
6795
apiVersion: backstage.io/v1alpha1
6896
kind: Resource
6997
metadata:
70-
name: klass-mariadb
71-
title: Klass MariaDB
72-
description: MariaDB database storing Klass data
98+
name: klass-postgresql
99+
title: Klass PostgreSQL
100+
description: CloudSQL PostgreSQL database deployed from Nais
73101
tags:
74-
- on-prem
102+
- postgres
103+
- cloudsql
104+
- nais
75105
- database
76106
spec:
77107
type: database
78108
system: metadata
79109
owner: dapla-metadata-developers
80110
lifecycle: production
111+
---
112+
apiVersion: backstage.io/v1alpha1
113+
kind: Resource
114+
metadata:
115+
name: klass-solr
116+
title: Klass Solr
117+
description: Solr instance providing a search index. Used by Klass Forvaltning for legacy reasons.
118+
tags:
119+
- solr
120+
- nais
121+
- search
122+
spec:
123+
type: search
124+
system: metadata
125+
owner: dapla-metadata-developers
126+
lifecycle: production
127+
---
128+
apiVersion: backstage.io/v1alpha1
129+
kind: Resource
130+
metadata:
131+
name: klass-opensearch
132+
title: Klass OpenSearch
133+
description: OpenSearch instance providing a search index.
134+
tags:
135+
- opensearch
136+
- aiven
137+
- nais
138+
- search
139+
spec:
140+
type: search
141+
system: metadata
142+
owner: dapla-metadata-developers
143+
lifecycle: production

0 commit comments

Comments
 (0)