forked from backstage/backstage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove the backstage.io/definition-at-location annotation
The annotation was superseded by the placeholder processor.
- Loading branch information
Showing
6 changed files
with
45 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
'@backstage/plugin-catalog-backend': minor | ||
--- | ||
|
||
Remove the backstage.io/definition-at-location annotation. | ||
The annotation was superseded by the placeholder processor. | ||
|
||
```yaml | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: API | ||
metadata: | ||
name: spotify | ||
description: The Spotify web API | ||
tags: | ||
- spotify | ||
- rest | ||
annotations: | ||
# Don't use this annotation, but the placeholder $text instead (see below). | ||
backstage.io/definition-at-location: 'url:https://raw.githubusercontent.com/APIs-guru/openapi-directory/master/APIs/spotify.com/v1/swagger.yaml' | ||
spec: | ||
type: openapi | ||
lifecycle: production | ||
owner: spotify@example.com | ||
definition: | ||
$text: https://raw.githubusercontent.com/APIs-guru/openapi-directory/master/APIs/spotify.com/v1/swagger.yaml | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 0 additions & 93 deletions
93
plugins/catalog-backend/src/ingestion/processors/ApiDefinitionAtLocationProcessor.test.ts
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
plugins/catalog-backend/src/ingestion/processors/ApiDefinitionAtLocationProcessor.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters