Commit Graph

13697 Commits

Author SHA1 Message Date
Fredrik Adelöw b978bbb463 require testing-library/prefer-screen-queries in catalog libraries
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-18 11:47:31 +01:00
Fredrik Adelöw cb716004ef add some eslint rules for testing-library use in tests
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-18 11:29:20 +01:00
Fredrik Adelöw 3228a8a951 Merge pull request #14667 from dagda1/transform-errors
give the ability to supply a transformErrors function to the rjsf/core
2022-11-17 16:49:58 +01:00
Fredrik Adelöw ff65755659 Merge pull request #14665 from RoadieHQ/wait-for-intialize
wait for initialize to complete before finalize
2022-11-17 13:07:09 +01:00
Brian Fletcher 1bbe66c27b move wait into try block
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-11-17 11:09:34 +00:00
renovate[bot] 19356df560 Update dependency zen-observable to ^0.9.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-17 09:09:51 +00:00
Johan Haals 167d5baad2 Merge pull request #14008 from kuangp/feat/fieldExplorer
[PRFC] Custom Field Extension Explorer
2022-11-17 09:58:39 +01:00
Patrik Oldsberg 8461c79c3d Merge pull request #14396 from graynk/customize-user-settings-page
Make UserSettings page fully customizable
2022-11-16 18:02:54 +01:00
Paul Cowan dff3af350b remove onChange handler
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-11-16 15:56:34 +00:00
Paul Cowan 8e3a366dc4 rim api-reports
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-11-16 15:56:33 +00:00
Paul Cowan adb1b01e32 give the ability to supply a transformErrors function to the Stepper form
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-11-16 15:56:33 +00:00
Brian Fletcher a962ce0551 wait for initialize to complete before finalize
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-11-16 14:06:12 +00:00
Andrew Thauer 754b5854df fix: incorrect export type of GithubOrgEntityProvider
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2022-11-15 22:08:45 -05:00
Nikita Karpukhin 9a53452904 Deprecate UserSettingsTab instead of removing it, add tests to check for tab content
Signed-off-by: Nikita Karpukhin <nikita.karpukhin@scout24.com>
2022-11-15 16:05:29 +01:00
Fredrik Adelöw 1d3025fcbd Merge pull request #14618 from backstage/freben/catalog-client-tests
update tests to be more robust against catalog-client changes
2022-11-15 14:35:46 +01:00
github-actions[bot] 3164131851 Version Packages 2022-11-15 12:31:55 +00:00
Nikita Karpukhin 29bdda5442 deprecate UserSettingsTab in favour of SettingsLayout.Route
Signed-off-by: Nikita Karpukhin <nikita.karpukhin@scout24.com>
2022-11-15 12:46:46 +01:00
Nikita Karpukhin 931eb6d3bc fix readme
Signed-off-by: Nikita Karpukhin <nikita.karpukhin@scout24.com>
2022-11-15 09:26:00 +01:00
Patrik Oldsberg 7ac593e8d3 Merge pull request #14075 from ilteoood/fix/14026
fix: page hader
2022-11-15 09:19:31 +01:00
Phil Kuang da25293910 refactor(scaffolder): wrap full field schema and prop type def in helper
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-11-14 11:41:42 -05:00
Fredrik Adelöw 9bafcfc209 update tests to be more robust against catalog-client changes
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-14 16:55:48 +01:00
Patrik Oldsberg fc27103f1e Merge pull request #14517 from cthtrifork/patch-1
Add default errorHandler() to vault-backend
2022-11-14 16:32:59 +01:00
Fredrik Adelöw 050d65e245 Merge pull request #14554 from backstage/freben/photos
richer errors in the msgraph import steps
2022-11-14 16:31:47 +01:00
Patrik Oldsberg ef8787cab0 Merge pull request #14370 from afscrome/patch-4
Fix casing of EntityNamePicker validation error message
2022-11-14 16:07:47 +01:00
Anders Näsman e984e9018f Merge pull request #14256 from omerfarukdogan/master
feat(docs): hide document description if not provided
2022-11-14 14:05:18 +01:00
Fredrik Adelöw 56e853ef3b Merge pull request #14591 from kunickiaj/iap-header-config
Permit customizing the header name for the IAP jwt
2022-11-14 13:14:48 +01:00
Eric Peterson 9fe226592d Merge pull request #14573 from backstage/techdocs/entity-ref-analytics
[TechDocs] Analytics entity-awareness
2022-11-14 12:21:24 +01:00
Fredrik Adelöw 69e9f4e887 Merge pull request #13931 from Bonial-International-GmbH/pjungermann/bitbucket-cloud/events
feat: events
2022-11-14 12:08:52 +01:00
Emma Indal 8c4fe3171e update api report
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-11-14 10:52:14 +01:00
Emma Indal 4043f4c6cf accept result rank prop
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-11-14 10:50:59 +01:00
Emma Indal bab2ae85a5 write test for capturing rank prop
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-11-14 10:42:15 +01:00
Ben Lambert 5852bf4491 Merge pull request #14566 from backstage/blam/scaffolder-fix-types-for-next-extensions
scaffolder/next: fix the return type for `createNextScaffolderFieldExtension`
2022-11-13 13:21:57 +01:00
Adam Kunicki 89d705e806 Permit customizing the header name for the IAP jwt
This creates a new configuration parameter `jwtHeader` for the gcp-iap
auth provider. This allows setting a custom header to look in for the
IAP issued JWT.

Signed-off-by: Adam Kunicki <kunickiaj@gmail.com>
2022-11-11 21:02:55 -08:00
Patrick Jungermann 25f6d7bddb feat(events/gerrit): add GerritEventRouter
Add an event router for Gerrit
which handles events from the topic `gerrit`
and re-publishes events under their more specific topic
based on the `$.type` payload field
like e.g., `gerrit.change-merged`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 01:38:34 +01:00
Patrick Jungermann 12cd94b7e9 feat(events/azure): add AzureDevOpsEventRouter
Add an event router for Azure DevOps
which handles events from the topic `azureDevOps`
and re-publishes events under their more specific topic
based on the `$.eventType` payload field
like e.g., `azureDevOps.git.push`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 01:14:29 +01:00
Patrick Jungermann 63f7983398 feat(events/gitlab): add GitLabEventRouter
Add an event router for GitLab
which handles events from the topic `gitlab`
and re-publishes events under their more specific topic
based on the `$.event_name` payload field
like e.g., `gitlab.push`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 01:14:29 +01:00
Patrick Jungermann b3a4edb885 feat(events/github): add GithubEventRouter
Add an event router for GitHub
which handles events from the topic `github`
and re-publishes events under their more specific topic
based on the `x-github-event` metadata
like e.g., `github.push`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 01:14:29 +01:00
Patrick Jungermann d089fbe7dc feat(events,catalog/bitbucketCloud): handle repo:push events
Relates-to: #10866
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 01:14:29 +01:00
Patrick Jungermann b8f913096c fix(catalog/bitbucketCloud): fix test file name
The file was forgotten to be adjusted as part of PR #13859.

Relates-to: PR #13859
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 00:26:42 +01:00
Patrick Jungermann 6bc121bf0d feat(events/bitbucketCloud): add BitbucketCloudEventRouter
Add an event router for Bitbucket Cloud
which handles events from the topic `bitbucketCloud`
and re-publishes events under their more specific topic
based on the `x-event-key` metadata
like e.g., `bitbucketCloud.repo:push`.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 00:21:23 +01:00
Patrick Jungermann d3ecb2382d feat(events/sqs): add a new AWS SQS event publisher
This change introduces a new plugin `@backstage/plugin-events-backend-module-aws-sqs`.

This plugin provides an event publisher which receives events from
(an) AWS SQS queue(s) and publishes them to the event broker.

The plugin supports the new backend-plugin-api and connects with the other plugins.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-11-12 00:15:50 +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
Alex Crome 4d23a5c7b2 Fix casing of EntityNamePicker validation error message
The error message for `EntityNamePicker` has two sentences.  The first word of the second sentence is capitalised, but the first sentence was not.  This fixes the capitalisation of the first sentence.

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-11-11 20:42:45 +00:00
Phil Kuang 3e4a2ee779 docs(scaffolder): add info about custom field explorer
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-11-11 14:37:10 -05:00
Phil Kuang aa4438e341 refactor(scaffolder): abstract away zod schema types
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-11-11 14:37:10 -05:00
Phil Kuang ddd1c3308d feat(scaffolder): implement custom field explorer
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-11-11 14:37:10 -05:00
Fredrik Adelöw 905a7613bf Merge pull request #14404 from mercedesbenzio/feature/sonarqube-improvements
sonarqube improvements
2022-11-11 15:37:35 +01:00
blam 0a0365e877 chore: fixing the return type in the api-report
Signed-off-by: blam <ben@blam.sh>
2022-11-11 12:08:14 +01:00
Eric Peterson bd2aab4726 Capture 'click' event on link clicks within TechDocs dom
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-11-11 12:00:37 +01:00