Commit Graph

13918 Commits

Author SHA1 Message Date
Johan Haals cb77f366fc Merge pull request #14758 from angeliski/add-github-event-handler
Implements EventSubscriber in GithubEntityProvider
2022-11-25 15:54:52 +01:00
Fredrik Adelöw ebbe64f527 Merge pull request #14833 from backstage/renovate/jest-monorepo
Update jest monorepo
2022-11-25 15:00:20 +01:00
Fredrik Adelöw 210a61c4de Merge pull request #14759 from backstage/renovate/kafkajs-2.x-lockfile
Update dependency kafkajs to v2.2.3
2022-11-25 14:37:51 +01:00
Fredrik Adelöw 086578851c Merge pull request #14689 from Bonial-International-GmbH/pjungermann/events/signature-verifier-github
feat(events/github): add signature verification
2022-11-25 14:31:32 +01:00
Johan Haals f3081fa7a1 Merge pull request #14771 from jrwpatterson/add-links-toggle
add toggle to turn off links on user and group
2022-11-25 14:18:56 +01:00
Fredrik Adelöw d26741bea0 Merge pull request #14837 from backstage/freben/wish-i-had-more-time
bump test timeouts in events-backend due to flakiness
2022-11-25 14:06:40 +01:00
Fredrik Adelöw 19038b548e fix private constructor problem
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-25 14:05:22 +01:00
Fredrik Adelöw 0b54dbaf7d fix the SaslConfig type to compile with the updated library
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-25 14:01:48 +01:00
Johan Haals 514ed7186d Merge pull request #14688 from Bonial-International-GmbH/pjungermann/events/signature-verifier-gitlab
feat(events/gitlab): add webhook token verification
2022-11-25 13:57:42 +01:00
Rogerio Angeliski f9288ec4fa chore(events,catalog/github): update refresh key to match blob and tree
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2022-11-25 11:53:43 +00:00
Rogerio Angeliski 38709640f5 chore(events,catalog/github): remove old dependecy from limiter
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2022-11-25 01:01:36 +00:00
Rogerio Angeliski f96bd38dc0 chore(events,catalog/github): update docs from review comment
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2022-11-25 00:56:05 +00:00
Patrick Jungermann 0f46ec304c feat(events/github): add signature verification
Add `createGithubSignatureValidator(config)` which can be used
to create a validator used at an ingress for topic `github`.

On top, there is a new `githubWebhookEventsModule` for the new backend plugin API
which auto-registers the `HttpPostIngress` for topic `github` incl. the validator.

Relates-to: PR #13931
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-24 21:57:12 +01:00
Patrick Jungermann 31fe8f256a feat(events/gitlab): add webhook token verification
Add `createGitlabTokenValidator(config)` which can be used
to create a validator used at an ingress for topic `gitlab`.

On top, there is a new `gitlabWebhookEventsModule` for the new backend plugin API
which auto-registers the `HttpPostIngress` for topic `gitlab` incl. the validator.

Relates-to: PR #13931
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-24 21:49:57 +01:00
Fredrik Adelöw e6ab8abc6b bump test timeouts in events-backend due to flakiness
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-24 16:58:55 +01:00
Fredrik Adelöw 6ecb455ded Merge pull request #14356 from dekoding/dekoding/incremental-entity-provider
Adding the incremental entity provider backend
2022-11-24 16:56:58 +01:00
Fredrik Adelöw 2b8d1d37f0 fix racy test
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-24 16:22:17 +01:00
Fredrik Adelöw 69e82eea71 remove redundant api report file
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-24 15:39:34 +01:00
Fredrik Adelöw d7209f1a97 add dev app, more testing
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-24 15:15:55 +01:00
Rogerio Angeliski e90b092d2a chore(events,catalog/github): update with review comments
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2022-11-23 17:43:29 +00:00
Fredrik Adelöw ed48b42925 add module tests
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-23 18:14:50 +01:00
Rogerio Angeliski a0fd4af94a feat(events,catalog/github): handle github:push events
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2022-11-23 13:36:09 -03:00
Morgan 7a2e13b862 bump @azure/identiy to support node 18
Signed-off-by: Morgan <mbentell@spotify.com>
2022-11-23 15:39:56 +01:00
Johan Haals 41a747004c update api report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-11-23 15:39:51 +01:00
Johan Haals ef26a5a6c2 org: Do not render links by default
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-11-23 15:33:13 +01:00
Fredrik Adelöw 3f5d620ce7 rename to be a catalog backend module, implement backend system module
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-23 15:08:48 +01:00
Damon Kaswell 7deebb9065 Fix removal logic
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell de022e51c9 Group router paths in a less risky way
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell e426002501 Update yarn.lock
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell 87cabfed8c Use stringifyerror
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Fredrik Adelöw 35455be414 shave down the api report, some final fixes
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell 6404ad16aa Prettier formatting
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell 1a3ae5af1f Refine routes
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell d6dde4664f Fixes for migrations and routes
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell b6d0c26902 Use foreign key constraints
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell 25da47e68d Updated API report
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell 5b850ac022 Some type cleanup
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell 58b627cbec Fix migrations
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell 6608e08317 Consolidate migrations and use default schema
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell 8a235456e9 Fix defect in DB manager identified internally
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:08:47 +01:00
Damon Kaswell d0e85ef9af Code hygiene and cleanup
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:06:25 +01:00
Damon Kaswell 21f0ae79d6 Handle error edge cases
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:05:55 +01:00
Damon Kaswell 6f42b641ab Update api-report.md for real
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:05:55 +01:00
Damon Kaswell c689afc5e9 Fix for api report
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:05:55 +01:00
Damon Kaswell 5b94fdbaf5 Fix more divergent code
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:05:55 +01:00
Damon Kaswell cfe3612e08 Fix divergent branch issue
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:05:55 +01:00
Damon Kaswell 90c1da9277 Fix migrations directory
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:05:55 +01:00
Damon Kaswell 36629e916c Moved luxon types to dependencies
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:05:55 +01:00
Damon Kaswell aec2382f80 Correct type dependencies
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:05:28 +01:00
Damon Kaswell 4582105db8 Re-added api-report.md (corrected)
Signed-off-by: Damon Kaswell <damon.kaswell1@hp.com>
2022-11-23 15:05:28 +01:00