Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add categories to our examples #129

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/backstage/pipelines/api-type.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
name: '$.name',
external_id: '$.external_id',
},
categories: ['service'],
attributes: [
{
id: 'description',
Expand Down
1 change: 1 addition & 0 deletions docs/backstage/pipelines/component-type.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
name: 'Backstage Component Type',
description: 'Type of a component.',
type_name: 'Custom["BackstageComponentType"]',
categories: ['service'],
source: {
name: '$.name',
external_id: '$.external_id',
Expand Down
4 changes: 4 additions & 0 deletions docs/backstage/pipelines/entries.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
name: 'Backstage Domain',
description: 'Groups of systems that share terminology or purpose.',
type_name: 'Custom["BackstageDomain"]',
categories: ['service'],
source: {
filter: '$.apiVersion == "backstage.io/v1alpha1" && $.kind == "Domain"',
name: '$.metadata.name',
Expand Down Expand Up @@ -222,6 +223,7 @@
name: 'Backstage Group',
description: 'Groups synced from Backstage.',
type_name: 'Custom["BackstageGroup"]',
categories: ['team'],
source: {
filter: '$.apiVersion == "backstage.io/v1alpha1" && $.kind == "Group"',
name: '$.metadata.name',
Expand Down Expand Up @@ -256,6 +258,7 @@
name: 'Backstage User',
description: 'Users synced from Backstage.',
type_name: 'Custom["BackstageUser"]',
categories: ['user'],
source: {
filter: '$.apiVersion == "backstage.io/v1alpha1" && $.kind == "User"',
name: '$.metadata.name',
Expand Down Expand Up @@ -288,6 +291,7 @@
name: 'Backstage System',
description: 'Collections of resources.',
type_name: 'Custom["BackstageSystem"]',
categories: ['product-features'],
source: {
filter: '$.apiVersion == "backstage.io/v1alpha1" && $.kind == "System"',
name: '$.metadata.name',
Expand Down
1 change: 1 addition & 0 deletions docs/backstage/pipelines/lifecycle.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
name: 'Backstage Lifecycle',
description: 'Component lifecycle stage.',
type_name: 'Custom["BackstageLifecycle"]',
categories: ['service'],
source: {
name: '$.name',
external_id: '$.external_id',
Expand Down
1 change: 1 addition & 0 deletions docs/outputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ by example. Take this pipeline:
name: 'name',
external_id: 'external_id',
},
categories: ['service'],
attributes: [
{
id: 'description',
Expand Down
3 changes: 3 additions & 0 deletions docs/simple/importer.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ local catalog = import 'catalog.jsonnet';
name: 'Team',
description: 'Teams in Product Development.',
type_name: 'Custom["Team"]',
categories: ['team'],
source: {
name: '$.name',
external_id: '$.external_id',
Expand Down Expand Up @@ -104,6 +105,7 @@ local catalog = import 'catalog.jsonnet';
name: 'Feature',
description: 'Product features that would be recognisable to customers.',
type_name: 'Custom["Feature"]',
categories: ['product-features'],
source: {
name: '$.name',
external_id: '$.external_id',
Expand Down Expand Up @@ -140,6 +142,7 @@ local catalog = import 'catalog.jsonnet';
name: 'Integration',
description: 'Product integrations with third-party services, powering features.',
type_name: 'Custom["Integration"]',
categories: ['product-features'],
source: {
name: '$.name',
external_id: '$.external_id',
Expand Down
Loading