diff --git a/backstage.yaml b/backstage.yaml index 7016883a30..d9c296b8c9 100644 --- a/backstage.yaml +++ b/backstage.yaml @@ -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 diff --git a/src/cartservice/backstage.yaml b/src/cartservice/backstage.yaml index e1810cf502..c4a29d7577 100644 --- a/src/cartservice/backstage.yaml +++ b/src/cartservice/backstage.yaml @@ -14,3 +14,5 @@ spec: system: opentelemetry-demo dependsOn: - component:default/featureflagservice + - resource:default/redis + providesApis: [pb] \ No newline at end of file diff --git a/src/checkoutservice/backstage.yaml b/src/checkoutservice/backstage.yaml index 67dfbcf9b2..20f8e49163 100644 --- a/src/checkoutservice/backstage.yaml +++ b/src/checkoutservice/backstage.yaml @@ -19,4 +19,5 @@ spec: - component:default/paymentservice - component:default/productcatalogservice - component:default/shippingservice - - resource:default/kafka \ No newline at end of file + - resource:default/kafka + consumesApis: [pb] \ No newline at end of file diff --git a/src/featureflagservice/backstage.yaml b/src/featureflagservice/backstage.yaml index 6d6148134c..9ef9f1a315 100644 --- a/src/featureflagservice/backstage.yaml +++ b/src/featureflagservice/backstage.yaml @@ -13,5 +13,4 @@ spec: owner: user:guest system: opentelemetry-demo dependsOn: - - resource:default/ffspostgres - providesApis: [pb] \ No newline at end of file + - resource:default/ffspostgres \ No newline at end of file diff --git a/src/redis/backstage.yaml b/src/redis/backstage.yaml new file mode 100644 index 0000000000..e788f634a2 --- /dev/null +++ b/src/redis/backstage.yaml @@ -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