Skip to content

Commit

Permalink
Add categories to our examples
Browse files Browse the repository at this point in the history
  • Loading branch information
paprikati committed Jun 27, 2024
1 parent aa336c2 commit afc0fc7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
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

0 comments on commit afc0fc7

Please sign in to comment.