fix(backstage): update entity references

Because:

* Backstage wants entity references to include kind.

This commit:

* Add's missing kind to entity references.
This commit is contained in:
Ben Bangert 2024-01-24 17:50:08 -08:00
Родитель b21ae8b5c5
Коммит 8e07687c06
Не найден ключ, соответствующий данной подписи
8 изменённых файлов: 13 добавлений и 57 удалений

Просмотреть файл

@ -8,7 +8,7 @@ metadata:
- typescript
- node
- react
- CRA
- cra
annotations:
sentry.io/project-slug: mozilla/fxa-admin-panel
circleci.com/project-slug: github/mozilla/fxa
@ -26,5 +26,5 @@ spec:
lifecycle: production
owner: fxa-team
system: mozilla-accounts
consumesApi:
- api:fxa-admin
dependsOn:
- component:fxa-admin-server

Просмотреть файл

@ -24,16 +24,3 @@ spec:
- resource:fxa-oauth-database
- resource:fxa-stripe-database
- resource:fxa-auth-cache
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: fxa-admin
description: Mozilla Accounts Admin API
spec:
type: graphql
lifecycle: production
owner: fxa-team
system: mozilla-accounts
definition:
$text: ./src/schema.graphql

Просмотреть файл

@ -17,26 +17,11 @@ spec:
lifecycle: production
owner: fxa-team
system: mozilla-accounts
providesApis:
- api:fxa-auth
dependsOn:
- fxa-browserid-verifier
- fxa-customs-server
- component:fxa-browserid-verifier
- component:fxa-customs-server
- resource:fxa-auth-database
- resource:fxa-oauth-database
- resource:fxa-pushbox-database
- resource:fxa-stripe-database
- resource:fxa-auth-cache
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: fxa-auth
description: Some description of the api-name interface
spec:
type: openapi
lifecycle: production
owner: group:group-name
system: system-name
definition:
$text: https://api.accounts.firefox.com/swagger.json

Просмотреть файл

@ -25,5 +25,5 @@ spec:
lifecycle: production
owner: fxa-team
system: mozilla-accounts
consumesApis:
- api:fxa-auth
dependsOn:
- component:fxa-auth-server

Просмотреть файл

@ -17,18 +17,3 @@ spec:
lifecycle: production
owner: fxa-team
system: mozilla-accounts
providesApis:
- api:fxa-graphql
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: fxa-graphql
description: Mozilla Accounts GraphQL API
spec:
type: graphql
lifecycle: production
owner: fxa-team
system: mozilla-accounts
definition:
$text: ./src/schema.gql

Просмотреть файл

@ -18,10 +18,10 @@ metadata:
- url: https://payments-stage.fxa.nonprod.cloudops.mozgcp.net/
title: Stage Subscription Platform
type: website
consumesApis:
- api:fxa-auth
spec:
type: website
lifecycle: production
owner: fxa-team
system: mozilla-accounts
dependsOn:
- component:fxa-auth-server

Просмотреть файл

@ -17,6 +17,6 @@ spec:
owner: fxa-team
system: mozilla-accounts
dependsOn:
- fxa-auth-server
- component:fxa-auth-server
- resource:fxa-profile-database
- resource:fxa-profile-cache

Просмотреть файл

@ -23,8 +23,7 @@ spec:
lifecycle: production
owner: fxa-team
system: mozilla-accounts
consumesApis:
- api:fxa-graphql
- api:fxa-auth
dependsOn:
- fxa-profile-server
- component:fxa-auth-server
- component:fxa-profile-server
- component:fxa-graphl-api