Commit Graph

25276 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 38ea1f136c List existing cluster locator methods in one place
I found the nested headings difficult to read, so this now lists all
available methods in one place.

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
Johan Haals e82483f20b Merge pull request #10721 from anicke/gerrit-doc-fix
Added url schemas to Gerrit location doc examples
2022-04-08 15:48:36 +02:00
Johan Haals 993d220af1 Merge pull request #10710 from backstage/dependabot/npm_and_yarn/puppeteer-13.5.2
build(deps-dev): bump puppeteer from 13.3.2 to 13.5.2
2022-04-08 15:46:57 +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
Niklas Aronsson 3f8aae6ffa Added url schemas to Gerrit location doc examples
Also added the Gerrit location docs to the microsite.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-04-08 15:07:22 +02:00
Johan Haals ee0bf1ace7 Merge pull request #10718 from awanlin/topic/correct-aws-catalog-backend-readme
Corrected AWS Catalog Backend README
2022-04-08 14:53:33 +02:00
Johan Haals 679d9f1820 Merge pull request #10704 from backstage/dependabot/npm_and_yarn/types/dockerode-3.3.8
build(deps): bump @types/dockerode from 3.3.7 to 3.3.8
2022-04-08 14:13:37 +02:00
Andre Wanlin cc5962d04b Improved changeset
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2022-04-08 07:13:00 -05: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 11ee526b88 Merge pull request #10707 from backstage/dependabot/npm_and_yarn/material-ui/icons-4.11.3
build(deps): bump @material-ui/icons from 4.11.2 to 4.11.3
2022-04-08 14:06:55 +02:00
Johan Haals 540ad34947 Merge pull request #10706 from backstage/dependabot/npm_and_yarn/google-auth-library-7.14.1
build(deps): bump google-auth-library from 7.14.0 to 7.14.1
2022-04-08 14:02:06 +02:00
Johan Haals 0d7e6656b4 Merge pull request #10682 from backstage/dependabot/npm_and_yarn/rollup-plugin-esbuild-4.9.1
build(deps): bump rollup-plugin-esbuild from 4.7.2 to 4.9.1
2022-04-08 13:56:12 +02:00
Johan Haals c5f523064f Merge pull request #10694 from anicke/gerrit-location-docs
Gerrit: Added location docs
2022-04-08 13:49:27 +02:00
dependabot[bot] 81463f7f7b build(deps-dev): bump puppeteer from 13.3.2 to 13.5.2
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.3.2 to 13.5.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v13.3.2...v13.5.2)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 11:47:09 +00: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
Johan Haals 3aaaa4cc4f Merge pull request #10709 from backstage/dependabot/npm_and_yarn/types/prop-types-15.7.5
build(deps): bump @types/prop-types from 15.7.4 to 15.7.5
2022-04-08 13:41:23 +02:00
dependabot[bot] 137b9e4047 build(deps): bump @material-ui/icons from 4.11.2 to 4.11.3
Bumps [@material-ui/icons](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui-icons) from 4.11.2 to 4.11.3.
- [Release notes](https://github.com/mui-org/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/v4.11.3/CHANGELOG.md)
- [Commits](https://github.com/mui-org/material-ui/commits/v4.11.3/packages/material-ui-icons)

---
updated-dependencies:
- dependency-name: "@material-ui/icons"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 11:28:11 +00:00
Vincenzo Scamporlino 2e907b3364 Merge pull request #10397 from backstage/permission-evaluator-split-permission-client
Split PermissionClient#authorize
2022-04-08 13:26:08 +02:00
dependabot[bot] b0494fb56b build(deps): bump @types/dockerode from 3.3.7 to 3.3.8
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

---
updated-dependencies:
- dependency-name: "@types/dockerode"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 11:25:15 +00:00
dependabot[bot] 9319b62763 build(deps): bump google-auth-library from 7.14.0 to 7.14.1
Bumps [google-auth-library](https://github.com/googleapis/google-auth-library-nodejs) from 7.14.0 to 7.14.1.
- [Release notes](https://github.com/googleapis/google-auth-library-nodejs/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-nodejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-nodejs/compare/v7.14.0...v7.14.1)

---
updated-dependencies:
- dependency-name: google-auth-library
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 11:25:00 +00: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
dependabot[bot] 9ef5759838 build(deps): bump @types/prop-types from 15.7.4 to 15.7.5
Bumps [@types/prop-types](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prop-types) from 15.7.4 to 15.7.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/prop-types)

---
updated-dependencies:
- dependency-name: "@types/prop-types"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 10:31:13 +00: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 3f41ada39d Update create-app changeset
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 afb7535c2e Use PermissionEvaluator instead of ServerPermissionClient
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 1882dbda2b Add create-app changeset
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino 06d32493e6 Fix integration tests
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2022-04-08 12:28:59 +02:00
Vincenzo Scamporlino 322b69e46a Add changesets
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
Patrik Oldsberg 5454a0d34f Merge pull request #10711 from backstage/jhaals/types-react-resolution
Add package resolution for @types/react
2022-04-08 12:27:49 +02:00