Commit Graph

18 Commits

Author SHA1 Message Date
Andre Wanlin ee519c57d9 Removed deprecated events related code
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-03-14 14:06:18 -05:00
Rogerio Angeliski b95aa77ce2 feat(events-backend,events-node): add a parser option to events by content type
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2025-02-24 10:11:21 -03:00
Patrik Oldsberg bc71718834 update docs to remove /alpha
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-10-11 16:50:08 +02:00
Patrick Jungermann 1ab76e523d docs(events): describe the new events setup, update README.md files
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2024-02-26 12:28:43 +01:00
Fredrik Adelöw 9aac2b0d36 move cwd as the first argument to yarn
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-02-04 20:13:00 +01:00
Fer 765af3b397 Add missing imports on example code
Signed-off-by: Fer <fwfurtado@gmail.com>
2024-01-11 09:16:44 +01:00
Patrick Jungermann d5ddc4e467 docs(events): add docs for new backend system
Add documentation on how to install the plugins
with the new backend system.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2024-01-09 01:34:37 +01:00
Patrik Oldsberg cc4228ec11 switch all backend module IDs to use kebab-case
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-11-28 11:53:57 +01:00
Sayak Mukhopadhyay c6cf541e67 docs: update events backend installation instructions to add @backstage/plugin-events-node
Signed-off-by: Sayak Mukhopadhyay <mukhopadhyaysayak@gmail.com>
2023-07-15 01:54:15 +05:30
Brian Fletcher 13960233e1 Merge branch 'master' of github.com:backstage/backstage into RoadieHQ-add-export-for-in-memory-broker-2 2023-03-10 13:55:44 +00:00
Brian Fletcher 2fbaf64611 fix typo
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-03-10 13:33:47 +00:00
Brian Fletcher ba8fa5e4e1 fixing up the readme
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-03-10 13:28:05 +00:00
Brian Fletcher a444c53a03 address code review comments
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-03-08 15:58:40 +00:00
Johan Haals a5de745ac1 Rename event modules to comply with naming pattern
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-03-08 11:52:30 +01:00
Brian Fletcher c251ef8007 update readme to indicate changes
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-03-08 10:30:20 +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
Patrick Jungermann dc9da28abd feat(events/http): add HTTP endpoint-based event publisher
This plugin adds an event publisher which receives events via (an) HTTP endpoint(s)
and can be used as destination at webhook subscriptions.

Relates-to: #11082
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 00:02:48 +01: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