Skip to content

Commit

Permalink
Added demo catalog-info.yaml to static locations
Browse files Browse the repository at this point in the history
  • Loading branch information
taras committed Oct 20, 2023
1 parent b559eea commit d2a4590
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ backend:
database:
client: better-sqlite3
connection: ':memory:'
reading:
allow:
- host: https://demo.backstage.io
paths:
- /api/graphql/schema

integrations:
github:
Expand Down Expand Up @@ -83,6 +88,10 @@ catalog:
- type: url
target: https://github.com/backstage/backstage/blob/master/catalog-info.yaml

# The demo site
- type: url
target: https://github.com/backstage/demo/blob/master/catalog-info.yaml

costInsights:
engineerCost: 200000
products:
Expand Down
21 changes: 21 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,24 @@ spec:
type: website
owner: backstage/maintainers
lifecycle: experimental
consumesApis:
- demo-graphql
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: demo-graphql
description: GraphQL Backend Plugin
links:
- title: GraphQL Backend Plugin
url: https://github.com/thefrontside/playhouse/tree/main/plugins/graphql-backend#graphql-backend
- title: GraphQL Catalog Schema
url: https://github.com/thefrontside/playhouse/tree/main/plugins/graphql-backend-module-catalog#graphql-backend-catalog-module
- title: Schema Directives Docs
url: https://github.com/thefrontside/HydraphQL
spec:
type: graphql
lifecycle: production
owner: backstage/maintainers
definition:
$text: https://demo.backstage.io/api/graphql/schema

0 comments on commit d2a4590

Please sign in to comment.