Skip to content

Commit

Permalink
fix api deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jmichalak-fluxninja committed Mar 18, 2024
1 parent be4e8d5 commit b246122
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
1 change: 1 addition & 0 deletions backstage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ spec:
- ./src/prometheus/backstage.yaml
- ./src/quoteservice/backstage.yaml
- ./src/recommendationservice/backstage.yaml
- ./src/redis/backstage.yaml
- ./src/shippingservice/backstage.yaml
2 changes: 2 additions & 0 deletions src/cartservice/backstage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ spec:
system: opentelemetry-demo
dependsOn:
- component:default/featureflagservice
- resource:default/redis
providesApis: [pb]
3 changes: 2 additions & 1 deletion src/checkoutservice/backstage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ spec:
- component:default/paymentservice
- component:default/productcatalogservice
- component:default/shippingservice
- resource:default/kafka
- resource:default/kafka
consumesApis: [pb]
3 changes: 1 addition & 2 deletions src/featureflagservice/backstage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ spec:
owner: user:guest
system: opentelemetry-demo
dependsOn:
- resource:default/ffspostgres
providesApis: [pb]
- resource:default/ffspostgres

Check failure on line 16 in src/featureflagservice/backstage.yaml

View workflow job for this annotation

GitHub Actions / yamllint

16:35 [new-line-at-end-of-file] no new line character at the end of file
13 changes: 13 additions & 0 deletions src/redis/backstage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: redis
description: This is used as a system cache.
annotations:
github.com/project-slug: jmichalak9/opentelemetry-demo
spec:
type: database
lifecycle: production
owner: user:guest
system: opentelemetry-demo

0 comments on commit b246122

Please sign in to comment.