Commit Graph

10578 Commits

Author SHA1 Message Date
Luna Stadler 8d050f714d Make Kubernetes cluster refresh more explicit
The `refreshClusters` method is now part of the
`KubernetesClustersSupplier` interface definition and also documented.

All existing cluster suppliers now implement it as well and the examples
in the docs and in the CHANGELOG have been adjusted.

Signed-off-by: Luna Stadler <luc@spreadshirt.net>
2022-04-08 16:42:33 +02:00
Luna Stadler 5818bead7d Ensure GkeClusterLocator only fetches the clusters once
This is now necessary because cluster suppliers are called whenever the
list of clusters is required and thus should cache their clusters.

Signed-off-by: Luna Stadler <luc@spreadshirt.net>
2022-04-08 16:42:33 +02:00
Luna Stadler 3d45427666 Make Kubernetes clusters refreshable
To make it possible to refresh Kubernetes clusters responsible all
places that used ClusterDetails[] before now use the
KubernetesClustersSupplier directly and call getClusters() on it.  This
allows people to use implement custom KubernetesClustersSuppliers that
fetch the clusters from somewhere and refresh them using whatever
mechanism they might need.

Signed-off-by: Luna Stadler <luc@spreadshirt.net>
2022-04-08 16:42:33 +02:00
Fredrik Adelöw 9b8fa1972e Merge pull request #10548 from julioz/gocd-analytics
Add DORA metrics insights to GoCD builds page
2022-04-08 15:36:32 +02:00
Andre Wanlin 776a91ea3a Corrected title and URL to setup documentation
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2022-04-08 07:10:25 -05:00
Johan Haals 52768fe181 Merge pull request #10697 from Bonial-International-GmbH/PJ_awsS3_handle-zero-integrations
feat: handle potential future case of no awsS3 integration
2022-04-08 13:42:56 +02:00
Patrick Jungermann 3f801d1279 feat: handle potential future case of no awsS3 integration
Relates-to: PR #10480
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-04-08 12:50:14 +02:00
Vincenzo Scamporlino 63902fcc17 PermissionEvaluator: rename query to authorizeConditional
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:29:00 +02:00
Vincenzo Scamporlino 6ca16bdf2d Apply suggestions from code review
Co-authored-by: Joe Porpeglia <josephp@spotify.com>
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:29:00 +02:00
Vincenzo Scamporlino b4af8664b5 api report and minor fixes
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:29:00 +02:00
Vincenzo Scamporlino 173aadff5b Avoid PermissionEvaluator breaking changes
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:29:00 +02:00
Vincenzo Scamporlino 8b27170d30 search-backend: Use PermissionEvaluator instead of PermissionAuthorizer
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino 8f4792a196 Mark PermissionAuthorizer as deprecated
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino 6dd85d588a catalog-backend: use new PermissionEvaluator instead of PermissionAuthorizer
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino 1917923ab8 Jenkins: use PermissionEvaluator instead of PermissionAuthorizer
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino a119dfbbd5 Apply suggestions from code review
Co-authored-by: Joe Porpeglia <josephp@spotify.com>
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino e7f28d8152 IdentityPermissionApi: strict typing
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
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
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
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