Commit Graph

10601 Commits

Author SHA1 Message Date
Fredrik Adelöw 8bda364ece Merge pull request #10428 from spreadshirt/kubernetes-cluster-refresh
Make Kubernetes clusters refreshable
2022-04-11 14:21:15 +02:00
Fredrik Adelöw 2c92727d36 Merge pull request #10584 from LvffY/master
[#10582] Use getEntitySourceLocation instead of custom method to get the entity source URL
2022-04-11 14:13:16 +02:00
Luna Stadler 2fc0e86616 Move refresh handling into KubernetesClustersSupplier implementations
Signed-off-by: Luna Stadler <luc@spreadshirt.net>
2022-04-11 10:53:12 +02:00
Fredrik Adelöw e9b48b20c9 Merge pull request #10702 from angeliski/add-check-id
Add checksId option to EntityTechInsightsScorecardContent component
2022-04-09 15:40:55 +02:00
dependabot[bot] f26cf63878 build(deps-dev): bump @types/jest-when from 2.7.2 to 3.5.0
Bumps [@types/jest-when](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest-when) from 2.7.2 to 3.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest-when)

---
updated-dependencies:
- dependency-name: "@types/jest-when"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 12:31:58 +00:00
Fredrik Adelöw 3b65fc11e4 Merge pull request #10532 from brethubbard/index-group-display-name
Search: Index group display name in DefaultCatalogCollatorFactory
2022-04-09 14:25:55 +02:00
Rogerio Angeliski c2b79c12de Update docs to refer new prop
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2022-04-09 09:22:36 -03:00
Fredrik Adelöw 2888d41a0b Merge pull request #10717 from RoadieHQ/add-grpc-api-definition-widget
add dedicated grpc api widget
2022-04-08 21:11:17 +02:00
Fredrik Adelöw f1895929b8 Merge pull request #10675 from backstage/unregister-location-implicit-delete
Update behavior when unregistering locations from `UnregisterEntityDialog`
2022-04-08 20:59:45 +02:00
LvffY 659ef6aaa9 [#10582] 👌 Pass prettier
Signed-off-by: LvffY <louberger@hotmail.fr>
(cherry picked from commit 90efbd7f197c999f7a067bb813ff5b0232307b2f)
2022-04-08 20:02:41 +02:00
LvffY 75ab45d8b4 [#10582] 👌 Re-add tests and code to throw exceptions when entity type is not url.
See https://github.com/backstage/backstage/pull/10584#discussion_r841505986
See https://github.com/backstage/backstage/pull/10584#discussion_r841502848

Signed-off-by: LvffY <louberger@hotmail.fr>
(cherry picked from commit 8a986150cc1e96b3150516ef36f24bdd89c55bff)
2022-04-08 20:02:38 +02:00
LvffY 3399dfb8c0 [#10582] 👌 Pass prettier
Signed-off-by: LvffY <louberger@hotmail.fr>
(cherry picked from commit a103befad1950863049a5711471500690d6eb2bd)
2022-04-08 20:02:33 +02:00
LvffY 4e96e3fdb1 [#10582] 📝 Fix docs
Signed-off-by: LvffY <louberger@hotmail.fr>
(cherry picked from commit 1fad23ee1ece324b6026b399e8570552a11369cf)
2022-04-08 20:02:31 +02:00
LvffY 1b13978d4d [#10582] 💚 Fix tests for todo-backend
Signed-off-by: LvffY <louberger@hotmail.fr>
(cherry picked from commit eba6328126af2e20a429c96081ae96c4615a7c9d)
2022-04-08 20:02:26 +02:00
LvffY c0d0e2bccb [#10582] 🐛 Use getEntitySourceLocation instead of custom method to get the entity source URL
Signed-off-by: LvffY <louberger@hotmail.fr>
(cherry picked from commit f0e86e8ba349cf7056c64960b7ad39740dad4cf6)
2022-04-08 20:02:24 +02:00
Jason Nguyen 67dbe01671 catalog-backend: simplify getDocumentText
Signed-off-by: Jason Nguyen <jsn.dev@outlook.com>
2022-04-08 09:36:44 -06:00
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
Kiss Miklos eb85cd5fac use explicit type for props
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-04-08 16:09:59 +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
Rogerio Angeliski b44997caee Merge branch 'backstage:master' into add-check-id 2022-04-08 08:14:47 -03: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
Rogerio Angeliski 567b13a84a Add checksId option to EntityTechInsightsScorecardContent component
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2022-04-07 18:14:44 -03: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