@@ -0,0 +1,9 @@
|
||||
---
|
||||
'@backstage/plugin-events-backend-module-bitbucket-cloud': patch
|
||||
'@backstage/plugin-events-backend-module-gerrit': patch
|
||||
'@backstage/plugin-events-backend-module-github': patch
|
||||
'@backstage/plugin-events-backend-module-gitlab': patch
|
||||
'@backstage/plugin-events-backend-module-azure': patch
|
||||
---
|
||||
|
||||
fix Installation documentation
|
||||
@@ -31,12 +31,12 @@ Install this module:
|
||||
yarn add --cwd packages/backend @backstage/plugin-events-backend-module-azure
|
||||
```
|
||||
|
||||
Add the event router to the `EventsBackend`:
|
||||
Add the event router to the `EventsBackend` instance in `packages/backend/src/plugins/events.ts`:
|
||||
|
||||
```diff
|
||||
+const azureEventRouter = new AzureDevOpsEventRouter();
|
||||
|
||||
EventsBackend
|
||||
new EventsBackend(env.logger)
|
||||
+ .addPublishers(azureEventRouter)
|
||||
+ .addSubscribers(azureEventRouter);
|
||||
// [...]
|
||||
|
||||
@@ -31,12 +31,12 @@ Install this module:
|
||||
yarn add --cwd packages/backend @backstage/plugin-events-backend-module-bitbucket-cloud
|
||||
```
|
||||
|
||||
Add the event router to the `EventsBackend`:
|
||||
Add the event router to the `EventsBackend` instance in `packages/backend/src/plugins/events.ts`:
|
||||
|
||||
```diff
|
||||
+const bitbucketCloudEventRouter = new BitbucketCloudEventRouter();
|
||||
|
||||
EventsBackend
|
||||
new EventsBackend(env.logger)
|
||||
+ .addPublishers(bitbucketCloudEventRouter)
|
||||
+ .addSubscribers(bitbucketCloudEventRouter);
|
||||
// [...]
|
||||
|
||||
@@ -30,12 +30,12 @@ Install this module:
|
||||
yarn add --cwd packages/backend @backstage/plugin-events-backend-module-gerrit
|
||||
```
|
||||
|
||||
Add the event router to the `EventsBackend`:
|
||||
Add the event router to the `EventsBackend` instance in `packages/backend/src/plugins/events.ts`:
|
||||
|
||||
```diff
|
||||
+const gerritEventRouter = new GerritEventRouter();
|
||||
|
||||
EventsBackend
|
||||
new EventsBackend(env.logger)
|
||||
+ .addPublishers(gerritEventRouter)
|
||||
+ .addSubscribers(gerritEventRouter);
|
||||
// [...]
|
||||
|
||||
@@ -31,12 +31,12 @@ Install this module:
|
||||
yarn add --cwd packages/backend @backstage/plugin-events-backend-module-github
|
||||
```
|
||||
|
||||
Add the event router to the `EventsBackend`:
|
||||
Add the event router to the `EventsBackend` instance in `packages/backend/src/plugins/events.ts`:
|
||||
|
||||
```diff
|
||||
+const githubEventRouter = new GithubEventRouter();
|
||||
|
||||
EventsBackend
|
||||
new EventsBackend(env.logger)
|
||||
+ .addPublishers(githubEventRouter)
|
||||
+ .addSubscribers(githubEventRouter);
|
||||
// [...]
|
||||
|
||||
@@ -30,12 +30,12 @@ Install this module:
|
||||
yarn add --cwd packages/backend @backstage/plugin-events-backend-module-gitlab
|
||||
```
|
||||
|
||||
Add the event router to the `EventsBackend`:
|
||||
Add the event router to the `EventsBackend` instance in `packages/backend/src/plugins/events.ts`:
|
||||
|
||||
```diff
|
||||
+const gitlabEventRouter = new GitlabEventRouter();
|
||||
|
||||
EventsBackend
|
||||
new EventsBackend(env.logger)
|
||||
+ .addPublishers(gitlabEventRouter)
|
||||
+ .addSubscribers(gitlabEventRouter);
|
||||
// [...]
|
||||
|
||||
Reference in New Issue
Block a user