|
|
|
@@ -237,7 +237,7 @@ be used in its new form.
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
const backend = createBackend();
|
|
|
|
|
/* highlight-add-next-line */
|
|
|
|
|
backend.add(import('@backstage/plugin-app-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-app-backend'));
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
If you need to override the app package name, which otherwise defaults to `"app"`,
|
|
|
|
@@ -252,7 +252,7 @@ A basic installation of the catalog plugin looks as follows.
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
const backend = createBackend();
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
backend.add(
|
|
|
|
|
import('@backstage/plugin-catalog-backend-module-scaffolder-entity-model'),
|
|
|
|
|
);
|
|
|
|
@@ -277,9 +277,9 @@ For `AwsS3DiscoveryProcessor`, first migrate to `AwsS3EntityProvider`.
|
|
|
|
|
To migrate `AwsS3EntityProvider` to the new backend system, add a reference to the `@backstage/plugin-catalog-backend-module-aws` module.
|
|
|
|
|
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-aws/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-aws'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -306,9 +306,9 @@ For `AzureDevOpsDiscoveryProcessor`, first migrate to `AzureDevOpsEntityProvider
|
|
|
|
|
To migrate `AzureDevOpsEntityProvider` to the new backend system, add a reference to the `@backstage/plugin-catalog-backend-module-azure` module.
|
|
|
|
|
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-azure/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-azure'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -340,11 +340,9 @@ For `BitbucketDiscoveryProcessor`, migrate to `BitbucketCloudEntityProvider` or
|
|
|
|
|
To migrate `BitbucketCloudEntityProvider` to the new backend system, add a reference to the `@backstage/plugin-catalog-backend-module-bitbucket-cloud` module.
|
|
|
|
|
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(
|
|
|
|
|
import('@backstage/plugin-catalog-backend-module-bitbucket-cloud/alpha'),
|
|
|
|
|
);
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-bitbucket-cloud'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -367,10 +365,10 @@ catalog:
|
|
|
|
|
To migrate `BitbucketServerEntityProvider` to the new backend system, add a reference to `@backstage/plugin-catalog-backend-module-bitbucket-server`.
|
|
|
|
|
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(
|
|
|
|
|
import('@backstage/plugin-catalog-backend-module-bitbucket-server/alpha'),
|
|
|
|
|
import('@backstage/plugin-catalog-backend-module-bitbucket-server'),
|
|
|
|
|
);
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
@@ -396,7 +394,7 @@ catalog:
|
|
|
|
|
To migrate `GkeEntityProvider` to the new backend system, add a reference to `@backstage/plugin-catalog-backend-module-gcp`.
|
|
|
|
|
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-gcp'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
@@ -409,9 +407,9 @@ Configuration in app-config.yaml remains the same.
|
|
|
|
|
To migrate `GerritEntityProvider` to the new backend system, add a reference to `@backstage/plugin-catalog-backend-module-gerrit`.
|
|
|
|
|
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-gerrit/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-gerrit'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -438,9 +436,9 @@ For `GithubDiscoveryProcessor`, `GithubMultiOrgReaderProcessor` and `GithubOrgRe
|
|
|
|
|
To migrate `GithubEntityProvider` to the new backend system, add a reference to `@backstage/plugin-catalog-backend-module-github`.
|
|
|
|
|
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-github/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-github'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -463,7 +461,7 @@ catalog:
|
|
|
|
|
To migrate `GithubMultiOrgEntityProvider` or `GithubOrgEntityProvider` to the new backend system, add a reference to `@backstage/plugin-catalog-backend-module-github-org`.
|
|
|
|
|
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-github-org'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
@@ -581,9 +579,9 @@ For `MicrosoftGraphOrgReaderProcessor`, first migrate to `MicrosoftGraphOrgEntit
|
|
|
|
|
To migrate `MicrosoftGraphOrgEntityProvider` to the new backend system, add a reference to `@backstage/plugin-catalog-backend-module-msgraph`.
|
|
|
|
|
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-msgraph/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend-module-msgraph'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -670,7 +668,7 @@ const catalogModuleCustomExtensions = createBackendModule({
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
|
|
|
|
|
const backend = createBackend();
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-catalog-backend'));
|
|
|
|
|
backend.add(
|
|
|
|
|
import('@backstage/plugin-catalog-backend-module-scaffolder-entity-model'),
|
|
|
|
|
);
|
|
|
|
@@ -699,7 +697,7 @@ A basic installation of the events plugin looks as follows.
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
const backend = createBackend();
|
|
|
|
|
/* highlight-add-next-line */
|
|
|
|
|
backend.add(import('@backstage/plugin-events-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-events-backend'));
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
If you have other customizations made to `plugins/events.ts`, such as adding
|
|
|
|
@@ -760,7 +758,7 @@ const otherPluginModuleCustomExtensions = createBackendModule({
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
|
|
|
|
|
const backend = createBackend();
|
|
|
|
|
backend.add(import('@backstage/plugin-events-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-events-backend'));
|
|
|
|
|
/* highlight-add-next-line */
|
|
|
|
|
backend.add(eventsModuleCustomExtensions);
|
|
|
|
|
/* highlight-add-next-line */
|
|
|
|
@@ -780,7 +778,7 @@ A basic installation of the scaffolder plugin looks as follows.
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
const backend = createBackend();
|
|
|
|
|
/* highlight-add-next-line */
|
|
|
|
|
backend.add(import('@backstage/plugin-scaffolder-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-scaffolder-backend'));
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
With the new Backend System version of the Scaffolder plugin, any provider specific actions will need to be installed separately.
|
|
|
|
@@ -788,7 +786,7 @@ For example - GitHub actions are now collected under the `@backstage/plugin-scaf
|
|
|
|
|
|
|
|
|
|
```ts title="packages/backend/src/index.ts"
|
|
|
|
|
const backend = createBackend();
|
|
|
|
|
backend.add(import('@backstage/plugin-scaffolder-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-scaffolder-backend'));
|
|
|
|
|
|
|
|
|
|
/* highlight-add-next-line */
|
|
|
|
|
backend.add(import('@backstage/plugin-scaffolder-backend-module-github'));
|
|
|
|
@@ -839,7 +837,7 @@ const scaffolderModuleCustomExtensions = createBackendModule({
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
|
|
|
|
|
const backend = createBackend();
|
|
|
|
|
backend.add(import('@backstage/plugin-scaffolder-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-scaffolder-backend'));
|
|
|
|
|
/* highlight-add-next-line */
|
|
|
|
|
backend.add(scaffolderModuleCustomExtensions);
|
|
|
|
|
```
|
|
|
|
@@ -1143,7 +1141,7 @@ const backend = createBackend();
|
|
|
|
|
// Other plugins...
|
|
|
|
|
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -1167,8 +1165,8 @@ const backend = createBackend();
|
|
|
|
|
// Other plugins...
|
|
|
|
|
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend-module-pg/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend-module-pg'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -1182,10 +1180,8 @@ const backend = createBackend();
|
|
|
|
|
// Other plugins...
|
|
|
|
|
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend/alpha'));
|
|
|
|
|
backend.add(
|
|
|
|
|
import('@backstage/plugin-search-backend-module-elasticsearch/alpha'),
|
|
|
|
|
);
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend-module-elasticsearch'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -1203,8 +1199,8 @@ const backend = createBackend();
|
|
|
|
|
// Other plugins...
|
|
|
|
|
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend-module-catalog/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend-module-catalog'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -1218,8 +1214,8 @@ const backend = createBackend();
|
|
|
|
|
// Other plugins...
|
|
|
|
|
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend-module-techdocs/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend'));
|
|
|
|
|
backend.add(import('@backstage/plugin-search-backend-module-techdocs'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -1233,7 +1229,7 @@ const backend = createBackend();
|
|
|
|
|
// Other plugins...
|
|
|
|
|
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-permission-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-permission-backend'));
|
|
|
|
|
backend.add(
|
|
|
|
|
import('@backstage/plugin-permission-backend-module-allow-all-policy'),
|
|
|
|
|
);
|
|
|
|
@@ -1294,7 +1290,7 @@ const backend = createBackend();
|
|
|
|
|
// Other plugins...
|
|
|
|
|
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-permission-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-permission-backend'));
|
|
|
|
|
backend.add(customPermissionBackendModule);
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
@@ -1309,7 +1305,7 @@ const backend = createBackend();
|
|
|
|
|
// Other plugins...
|
|
|
|
|
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-techdocs-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-techdocs-backend'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@@ -1323,7 +1319,7 @@ const backend = createBackend();
|
|
|
|
|
// Other plugins...
|
|
|
|
|
|
|
|
|
|
/* highlight-add-start */
|
|
|
|
|
backend.add(import('@backstage/plugin-kubernetes-backend/alpha'));
|
|
|
|
|
backend.add(import('@backstage/plugin-kubernetes-backend'));
|
|
|
|
|
/* highlight-add-end */
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|