Commit Graph

10613 Commits

Author SHA1 Message Date
Vincenzo Scamporlino dc8037213c Use PermissionEvaluator
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Mike Lewis 3c8cfaaa80 search-backend: use new policyDecision method in AuthorizedSearchEngine and test suites
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-04-08 12:28:59 +02:00
Mike Lewis b831d53972 jenkins-backend: update PermissionAuthorizer mock in jenkinsApi test suite
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-04-08 12:28:59 +02:00
Mike Lewis 23646e51a5 catalog-backend: use new PermissionAuthorizer#policyDecision method
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino ef2dd617e3 Fix comments
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino 2903c1fd5d Move PolicyQuery to permission-node
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino b1bbb9c760 Fix IdentityPermissionApi typings
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino 8960a2bfed Split PermissionClient#authorize
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Joe Porpeglia 2b07063d77 Add PermissionEvaluator interface
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-04-08 12:28:59 +02:00
Eric Peterson 4af1d8b71d Merge pull request #9770 from kuangp/feat/searchCoordination
feat(search): handle search indexing coordination among nodes
2022-04-08 10:15:55 +02:00
Patrik Oldsberg 4288c83625 Merge pull request #10689 from backstage/rugvip/local-verify
scripts: add script to verify local dependency ranges
2022-04-07 17:41:58 +02:00
Fredrik Adelöw 206e1dc0dd Merge pull request #10668 from nodify-at/master
feature: provide access token in JenkinsInstanceConfig.
2022-04-07 17:02:07 +02:00
Fredrik Adelöw 9f78f91a4c Merge pull request #10480 from Bonial-International-GmbH/PJ_awsS3-provider
feat: add `AwsS3EntityProvider` as replacement for `AwsS3DiscoveryProcessor`
2022-04-07 14:27:01 +02:00
Fredrik Adelöw 14ea9fcf5f Merge pull request #10613 from pedroparraortega/allow-group-select
Allow group select
2022-04-07 14:04:02 +02:00
Fredrik Adelöw 9948aef03d api report
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-04-07 13:45:16 +02:00
Kiss Miklos 8edc66257a add dedicated grpc api widget
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-04-07 12:47:34 +02:00
Patrik Oldsberg 9b58775849 home: fix outdated dependency on @backstage/config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-07 12:08:10 +02:00
Patrick Jungermann 5969c4b65c feat: add AwsS3EntityProvider as replacement for AwsS3DiscoveryProcessor
Add a new provider `AwsS3EntityProvider` as a replacement for the now deprecated
`AwsS3DiscoveryProcessor`.

The new provider will scan configured S3 buckets (with optional) prefix and
add `Location` entities for all discovered catalog files.

These `Location` entities will then be processed as usual.

At each execution, the provider will apply a full mutation, replacing all previous
entities with the new entities/state.

Relates-to: #10183
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-04-07 08:44:01 +02:00
dependabot[bot] 82e2ae6ff6 build(deps): bump cronstrue from 1.125.0 to 2.2.0
Bumps [cronstrue](https://github.com/bradymholt/cronstrue) from 1.125.0 to 2.2.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases)
- [Commits](https://github.com/bradymholt/cronstrue/compare/v1.125.0...v2.2.0)

---
updated-dependencies:
- dependency-name: cronstrue
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 04:17:46 +00:00
Joe Porpeglia 863e7bcb7b Remove explicit entity deletion from UnregisterEntityDialog
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-04-06 16:41:38 -04:00
Phil Kuang 0a63e99a26 feat(search): handle search indexing coordination among nodes
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-04-06 14:03:04 -04:00
Hasan Oezdemir cc8f0076d8 feature: rename token to backstageToken and update the documentation
Signed-off-by: Hasan Oezdemir <21654050+nodify-at@users.noreply.github.com>
2022-04-06 16:18:43 +02:00
Ismail El Badawy 794f7542b6 Updated openid-client from 4.1.2 to 5.1.3
Signed-off-by: Ismail El Badawy <ismailelbadawyw@gmail.com>
2022-04-06 15:48:19 +02:00
Ben Lambert 38d6a4745c Merge pull request #10558 from backstage/blam/node16types
chore: @node/types -> 16.x
2022-04-06 15:47:21 +02:00
Ben Lambert 5135987eb6 Merge pull request #10666 from helaoutar/bugfix/fix_user_settings_toggleButtonGroup_overlapping_text
Fixed User-settings page ToggleButtonGroup overlapping text
2022-04-06 14:33:42 +02:00
Ben Lambert af364b9b72 Merge pull request #10588 from backstage/dependabot/npm_and_yarn/prettier-2.6.2
build(deps-dev): bump prettier from 2.5.1 to 2.6.2
2022-04-06 14:21:10 +02:00
Hasan Oezdemir b013de3f50 feature: provide access token to JenkinsInstanceConfig. It can be passed to other backend calls if authentication enabled. DefaultJenkinsInfoProvider sends always this token to catalog api if access token exists.
Signed-off-by: Hasan Oezdemir <21654050+nodify-at@users.noreply.github.com>
2022-04-06 13:25:05 +02:00
Hamza El Aoutar af508a895e Fixed User-settings page ToggleButtonGroup overlapping text
Signed-off-by: Hamza El Aoutar <elaoutarhamza@gmail.com>
2022-04-06 10:35:50 +00:00
Marley Powell 5154bb861b fix: Fixed small issue with cost-insights README diff code block
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
2022-04-06 10:47:28 +01:00
blam 3766028309 chore: fixing prettier warnings
Signed-off-by: blam <ben@blam.sh>
2022-04-06 10:55:10 +02:00
Patrik Oldsberg cb9a5677d5 catalog-graph: move SVG mocks to test setup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-06 10:30:11 +02:00
Eric Peterson fec58ff178 Merge pull request #10377 from kuangp/fix/techdocs-readme
fix(README): do not copy docs/README.md as docs/index.md
2022-04-05 18:03:35 +02:00
Eric Peterson bcf1a2496c Nest config under mkdocs key.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-05 17:33:18 +02:00
Fredrik Adelöw d74c496bb0 Merge pull request #10646 from backstage/freben/more-secret
declare the oauth2proxy clientSecret a secret
2022-04-05 16:11:47 +02:00
Fredrik Adelöw de231e5b06 declare the oauth2proxy clientSecret a secret
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-04-05 15:47:35 +02:00
Patrik Oldsberg 98be0433cc stack-overflow: update scripts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-05 15:44:55 +02:00
Ben Lambert ad55e2f005 Merge pull request #10041 from yousifalraheem/feat/extra-user-settings
Enable adding extra setting tabs
2022-04-05 15:14:01 +02:00
Johan Haals f00d861fbb Merge pull request #10518 from backstage/dependabot/npm_and_yarn/testing-library/user-event-14.0.0
build(deps): bump @testing-library/user-event from 13.5.0 to 14.0.0
2022-04-05 13:16:40 +02:00
Johan Haals c9201ca186 chore: remove rendudant expect
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:27:32 +02:00
Patrik Oldsberg 7eb705eabe Merge pull request #10576 from backstage/rugvip/scaffolder-navigation
scaffolder: add links to subroutes + rename /preview -> /edit
2022-04-05 10:22:20 +02:00
Patrik Oldsberg b60e93994b catalog-graph: work around test race and missing mocks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:55 +02:00
Johan Haals e319dcfd3e evert "chore: run setup once"
This reverts commit d70ea6a0646549fed81e5566ae380cc13c3a51af.

Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:55 +02:00
Johan Haals 9c4ed43f04 chore: run setup once
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Johan Haals d90a2db871 chore: replace pointer with click
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Eric Peterson 6303fe61e3 Fix SearchBar fake timer tests for latest user-event.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Johan Haals f177208035 chore: waitFor type event
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Johan Haals 4fd45b202b chore: await userEvent in tests
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Johan Haals fbee9f49e5 chore: await tests
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Johan Haals b1190bf676 await userEvent
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:54 +02:00
Johan Haals 659111711e fix tests
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-04-05 10:19:53 +02:00