Commit Graph

5 Commits

Author SHA1 Message Date
github-actions[bot] 2cb6963f9b Version Packages (next) 2022-11-29 11:14:34 +00:00
github-actions[bot] 83d3167594 Version Packages (next) 2022-11-22 15:40:52 +00:00
Patrick Jungermann cf41eedf43 chore(events): apply post-merge comments
Introduces a new interface `RequestDetails` to abstract `Request`
providing access to request body and headers.

**BREAKING:** Replace `request: Request` with `request: RequestDetails` at `RequestValidator`.

**BREAKING:** Remove required field `router` at `HttpPostIngressEventPublisher.fromConfig`
  and replace it with `bind(router: Router)`.
  Additionally, the path prefix `/http` will be added inside `HttpPostIngressEventPublisher`.

Relates-to: PR #13931
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-19 15:08:14 +01:00
github-actions[bot] 3164131851 Version Packages 2022-11-15 12:31:55 +00:00
Patrick Jungermann 7bbd2403a1 feat(events): add events management capabilities
This change introduces some new plugins which provide the basics
for managing events inside of backstage.
Hereby, it offers extension points to add event publishers and subscribers
as well as to exchange the event broker implementation.

- `@backstage/plugin-events-backend`:
  backend for the events management which connects all parts
  and provides a simple in-memory event broker
- `@backstage/plugin-events-node`:
  interfaces and API for `@backstage/plugin-events-backend`
- `@backstage/plugin-events-test-utils`:
  test utilities like implementations useful for writing tests at modules

All plugins support the new backend-plugin-api.

Relates-to: #11082
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 00:00:49 +01:00