Commit Graph

17593 Commits

Author SHA1 Message Date
Colton Padden 109a66a7c7 make bucketRootPath the last argument to publish constructors
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-10-21 09:42:52 -04:00
Colton Padden d207f6ee9e Support optional bucketRootPath in GCS and S3 techdocs publishers
- Updated app-config.yaml with additional configuration parameters:
    - techdocs.publisher.awsS3.bucketRootPath
    - techdocs.publisher.googleGcs.bucketRootPath
- Updated `fromConfig` and constructors to support additional `bucketRootPath`
  parameters.
- Updated publish method to support `bucketRootPath` in constructing destination
  file path
- Updated `fetchTechDocsMetadata` to use `bucketRootPath`
- Updated `docsRouter` to use `docsRouter` when retrieving files
    - When using both legacy casing, and a bucket root path, additional logic
      was added to prevent the root path's case from being modified as
      previously legacy casing would be applied to the first three entities of
      the URI
- Updated `hasDocsBeenGenerated` to use `bucketRootPath`
- Added additional unit tests for new configurations to updated, and new methods

Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-10-11 10:49:40 -04:00
Fredrik Adelöw 54552e215d Merge pull request #7482 from backstage/dependabot/npm_and_yarn/url-parse-1.5.3
build(deps): bump url-parse from 1.5.1 to 1.5.3
2021-10-06 20:23:33 +02:00
dependabot[bot] e3bd383a1f build(deps): bump url-parse from 1.5.1 to 1.5.3
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 16:47:20 +00:00
Fredrik Adelöw 23ef95688c Merge pull request #7481 from backstage/freben/catalog-legacy-1
first steps of deprecating the old catalog engine
2021-10-06 18:39:57 +02:00
Fredrik Adelöw 426d5031a6 first steps of deprecating the old catalog engine
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-06 17:25:36 +02:00
Ben Lambert 908144899f Merge pull request #7474 from GLundh/error-msg-fix
Correct error message typo
2021-10-06 16:58:31 +02:00
Patrik Oldsberg 3a0aad83e2 Merge pull request #7475 from backstage/rugvip/nologthro
catalog-backend: avoid duplicate logging of catalog processing errors
2021-10-06 16:44:50 +02:00
Johan Haals 69b8b6efd4 Merge pull request #7477 from backstage/jhaals/trimend
catalog-backend/chore: replace regexp with trimEnd
2021-10-06 16:37:05 +02:00
Johan Haals 7b78dd17e6 catalog-backend/chore: replace regexp with trimEnd
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 16:15:20 +02:00
Gustaf Lundh 8f969d5a56 Correct error message typo
Signed-off-by: Gustaf Lundh <gustaflh@axis.com>
2021-10-06 15:32:32 +02:00
Patrik Oldsberg f66c38148a catalog-backend: avoid duplicate logging of catalog processing errors
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-06 15:27:16 +02:00
Johan Haals 09d8329052 Merge pull request #7472 from RoadieHQ/prometheus-plugin
Add Prometheus plugin to plugin marketplace
2021-10-06 14:15:11 +02:00
Ben Lambert f6a92b3aea Merge pull request #7459 from jvstein/rancher_urls_with_path
Support rancher with path prefix
2021-10-06 14:01:42 +02:00
Ben Lambert e9c591dde5 Merge pull request #7445 from backstage/orkohunter/add-backend-suffix-to-graphql
chore: Add `-backend` suffix to plugins/graphql
2021-10-06 14:01:29 +02:00
Jussi Hallila a40cd250d5 Add Prometheus plugin to plugin marketplace
Resolves #714

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-10-06 13:58:35 +02:00
blam 7dc92d6c77 chore: updating doc links
Signed-off-by: blam <ben@blam.sh>
2021-10-06 13:36:42 +02:00
blam b43149d594 bug: bump the cache so the build passes
Signed-off-by: blam <ben@blam.sh>
2021-10-06 13:18:10 +02:00
Johan Haals 7d5b397d47 Merge pull request #7390 from backstage/blam/feat/all-the-errroz
Display errors from Ancestor entities
2021-10-06 13:15:08 +02:00
Ben Lambert 1890f97229 Update proud-coins-laugh.md
Signed-off-by: Ben Lambert <blam@spotify.com>
2021-10-06 13:06:06 +02:00
Ben Lambert 427209cde8 Merge pull request #7457 from PhakornKiong/docs/plugin-msgraph
Update document for msgraph client
2021-10-06 13:02:06 +02:00
Ben Lambert 85ca17eb9f Merge pull request #7460 from backstage/vinzscam/signin-page-move-away-login-from-render
fix(SignInPage): avoid executing side effects in render
2021-10-06 12:51:14 +02:00
Vincenzo Scamporlino 162e1eee65 fix(SignInPage): avoid executing methods in render
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2021-10-06 12:01:11 +02:00
Ben Lambert 95869261ed Added changeset
Signed-off-by: Ben Lambert <blam@spotify.com>
2021-10-06 10:55:30 +02:00
Ben Lambert dd843575b8 Merge pull request #7418 from vierno/fix/user-catalog-link
org: include users groups on OwnershipCard link qs
2021-10-06 10:52:10 +02:00
Johan Haals d8fe76911c Add hasCatalogProcessingErrors to changeset
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 10:42:53 +02:00
Johan Haals 6b4fe1fafe encode kind, namespace and name
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 10:42:17 +02:00
Johan Haals 8696895291 Merge pull request #7465 from backstage/jhaals/fix-deprecation
Catalog: Replace deprecated material ui components
2021-10-06 10:12:05 +02:00
Johan Haals 1c5c5b23fb Catalog: Replace deprecated material ui components
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:41:43 +02:00
Johan Haals 0e2893dcf6 update api report
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:29:45 +02:00
Johan Haals dccaa059ae Refactor catalog client to accept entityRef
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:36 +02:00
Johan Haals 348e6c2d25 Remove unrelated change
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:36 +02:00
Johan Haals 2338a116e8 chore: Add entityRouteRef to mountedRoutes in test
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:36 +02:00
Johan Haals 4e3755151c Keep existing EntitySwitch behaviour, add tests
Keep the existing behavior for non async statements

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:36 +02:00
Johan Haals bb0f6b8a0f add changeset
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:35 +02:00
Johan Haals a1594fb8ca api reports
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:35 +02:00
Johan Haals 604987599e chore: Adds missing method to mocked catalog APIs
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:35 +02:00
Johan Haals 7413797ecf Add EntityProcessingErrorsPanel tests
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:35 +02:00
Johan Haals 5ec945f141 chore: format package.json
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:34 +02:00
Johan Haals 26c08d8dd7 Display entity which error originated from
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:34 +02:00
Patrik Oldsberg 90b5f43c5a catalog: cleanup + rename entityName -> entityRef, apiRegistry -> apis
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-06 09:12:34 +02:00
Johan Haals 2ea14f0bcf Display errors from ancestors
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:34 +02:00
Johan Haals 672d6ed01a Add async support to entitySwitch if statements
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Ben Lambert <ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:34 +02:00
Johan Haals a0c6ae89b1 Add getEntityAncestors to CatalogClientWrapper
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Ben Lambert <ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:33 +02:00
Johan Haals 3cf068a4b1 catalog-client: Fix getEntityAncestors request path
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:33 +02:00
Johan Haals e6225ac290 Export CatalogAncestor types
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Ben Lambert <ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:33 +02:00
blam fa6bc2aa97 chore: add some comments on what's left to do
Signed-off-by: blam <ben@blam.sh>
2021-10-06 09:12:33 +02:00
blam 8cb5d89e37 chore: starting to add EntityAncestorsProcessingErrorsPanel
Signed-off-by: blam <ben@blam.sh>
2021-10-06 09:12:32 +02:00
Jeff Stein c148c8854b feat(kubernetes): support rancher with path prefix
Signed-off-by: Jeff Stein <jeff@jeffvstein.org>
2021-10-05 12:39:35 -07:00
PhakornKiong f305af3d8b update document for msgraph client
Signed-off-by: PhakornKiong <phakorn214@gmail.com>
2021-10-06 02:05:17 +08:00