4.6 KiB
@backstage/plugin-events-backend
0.2.1-next.0
Patch Changes
217149ae98: The default event broker will now catch and log errors thrown by theonEventmethod of subscribers. The returned promise frompublishmethod will also not resolve until all subscribers have handled the event.- Updated dependencies
- @backstage/backend-plugin-api@0.2.1-next.0
- @backstage/backend-common@0.18.0-next.0
- @backstage/config@1.0.6-next.0
- @backstage/plugin-events-node@0.2.1-next.0
0.2.0
Minor Changes
-
cf41eedf43: BREAKING: Remove required fieldrouteratHttpPostIngressEventPublisher.fromConfigand replace it withbind(router: Router). Additionally, the path prefix/httpwill be added insideHttpPostIngressEventPublisher.// at packages/backend/src/plugins/events.ts const eventsRouter = Router(); - const httpRouter = Router(); - eventsRouter.use('/http', httpRouter); const http = HttpPostIngressEventPublisher.fromConfig({ config: env.config, logger: env.logger, - router: httpRouter, }); + http.bind(eventsRouter);
Patch Changes
-
884d749b14: Refactored to usecoreServicesfrom@backstage/backend-plugin-api. -
cf41eedf43: Introduce a new interfaceRequestDetailsto abstractRequestproviding access to request body and headers.BREAKING: Replace
request: Requestwithrequest: RequestDetailsatRequestValidator. -
Updated dependencies
- @backstage/backend-common@0.17.0
- @backstage/backend-plugin-api@0.2.0
- @backstage/plugin-events-node@0.2.0
- @backstage/config@1.0.5
0.2.0-next.3
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.17.0-next.3
- @backstage/backend-plugin-api@0.2.0-next.3
- @backstage/config@1.0.5-next.1
- @backstage/plugin-events-node@0.2.0-next.3
0.2.0-next.2
Patch Changes
884d749b14: Refactored to usecoreServicesfrom@backstage/backend-plugin-api.- Updated dependencies
- @backstage/backend-common@0.17.0-next.2
- @backstage/backend-plugin-api@0.2.0-next.2
- @backstage/config@1.0.5-next.1
- @backstage/plugin-events-node@0.2.0-next.2
0.2.0-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.17.0-next.1
- @backstage/backend-plugin-api@0.1.5-next.1
- @backstage/config@1.0.5-next.1
- @backstage/plugin-events-node@0.2.0-next.1
0.2.0-next.0
Minor Changes
-
cf41eedf43: BREAKING: Remove required fieldrouteratHttpPostIngressEventPublisher.fromConfigand replace it withbind(router: Router). Additionally, the path prefix/httpwill be added insideHttpPostIngressEventPublisher.// at packages/backend/src/plugins/events.ts const eventsRouter = Router(); - const httpRouter = Router(); - eventsRouter.use('/http', httpRouter); const http = HttpPostIngressEventPublisher.fromConfig({ config: env.config, logger: env.logger, - router: httpRouter, }); + http.bind(eventsRouter);
Patch Changes
-
cf41eedf43: Introduce a new interfaceRequestDetailsto abstractRequestproviding access to request body and headers.BREAKING: Replace
request: Requestwithrequest: RequestDetailsatRequestValidator. -
Updated dependencies
- @backstage/plugin-events-node@0.2.0-next.0
- @backstage/backend-common@0.16.1-next.0
- @backstage/backend-plugin-api@0.1.5-next.0
- @backstage/config@1.0.5-next.0
0.1.0
Minor Changes
-
dc9da28abd: Support events received via HTTP endpoints at plugin-events-backend.The plugin provides an event publisher
HttpPostIngressEventPublisherwhich will allow you to receive events via HTTP endpointsPOST /api/events/http/{topic}and will publish these to the used event broker.Using a provided custom validator, you can participate in the decision which events are accepted, e.g. by verifying the source of the request.
Please find more information at https://github.com/backstage/backstage/tree/master/plugins/events-backend/README.md.
-
7bbd2403a1: Adds a new backend plugin plugin-events-backend for managing events.plugin-events-node exposes interfaces which can be used by modules.
plugin-events-backend-test-utils provides utilities which can be used while writing tests e.g. for modules.
Please find more information at https://github.com/backstage/backstage/tree/master/plugins/events-backend/README.md.
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.16.0
- @backstage/plugin-events-node@0.1.0
- @backstage/backend-plugin-api@0.1.4
- @backstage/config@1.0.4