Commit Graph

17220 Commits

Author SHA1 Message Date
Crevil b0e5325e7b Use warn log level
Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2021-09-28 21:02:04 +02:00
Crevil 593db0864d Expand Techdocs not found error handling
Currently if a document is requested that is found found a generic log line
containing only the error from the provider is logged.

    {"type":"plugin","plugin":"techdocs","message":"The specified key does not exist.","level":"warn","service":"backstage"}

This gives very little indication as to what and where something failed.

This change expands the log lines to include more details about what is being
attempted. It also removes the propagation of the raw error message to the
client as there might be information here that is not meant to be disclosed.

Tests are added for each provider. A bug in the Azure Blob storage provider was
found where the download method would reject its promise but the express handler
would not detect this and therefore not write a response.

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2021-09-28 14:08:28 +02:00
Patrik Oldsberg c3c93e0909 Merge pull request #7349 from backstage/rugvip/diff
cli: improve package.json files diff
2021-09-27 23:10:08 +02:00
Patrik Oldsberg 732a09b9da Merge pull request #7326 from backstage/rugvip/root
cli,config-loader: allow config schema to be defined in root package.json
2021-09-27 22:50:50 +02:00
Patrik Oldsberg 58f91943ab cli: improve package.json files diff
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-27 22:16:17 +02:00
Patrik Oldsberg da407a0b1f Merge pull request #7346 from backstage/rugvip/static
cli: fix plugin serve file watching
2021-09-27 19:57:32 +02:00
Patrik Oldsberg 3a8704f16b cli: fix plugin serve file watching
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-27 18:43:16 +02:00
Eric Peterson 4eb90fa32e Merge pull request #7341 from backstage/emmaindal/update-techdocs-readme
[TechDocs] Add link to how-to guide
2021-09-27 18:04:08 +02:00
Bodil Björklund edda769360 Minor text edits
Piggy-backing on this branch to include minor text edits to README.

Signed-off-by: Bodil Björklund <bodilb@spotify.com>
2021-09-27 17:19:54 +02:00
Emma Indal 03d7911ad9 [TechDocs] Add link to how-to guide
Signed-off-by: Emma Indal emma.indahl@gmail.com
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-27 15:49:25 +02:00
Patrik Oldsberg 8117926014 Merge pull request #7306 from feedmypixel/fix-sed-single-quote-escaping-frontend-with-nginx-example
FIX: Stop sed escaping numbers 2 and 7 in Docker
2021-09-27 15:19:59 +02:00
Patrik Oldsberg 5dfa46ca08 Merge pull request #7328 from awanlin/topic/add-is-docs-available
Add is TechDocs available
2021-09-27 13:53:41 +02:00
Patrik Oldsberg 4b2f6d87c5 Merge pull request #7329 from awanlin/topic/add-is-kubernetes-available
Add check for Kubernetes annotation on entity
2021-09-27 11:21:45 +02:00
Patrik Oldsberg a343837854 Merge pull request #7332 from backstage/dependabot/npm_and_yarn/types/luxon-2.0.4
build(deps-dev): bump @types/luxon from 1.27.0 to 2.0.4
2021-09-27 11:16:32 +02:00
Patrik Oldsberg 419c2c54a3 Merge pull request #7315 from backstage/rugvip/catalog-bork
catalog-backend: refactor deferral of entites + fix dissapearing ref bug
2021-09-27 10:29:33 +02:00
Patrik Oldsberg 2f09cdb97f use preferred luxon duration units
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-27 10:22:31 +02:00
Patrik Oldsberg 1c76a3c574 Merge pull request #7333 from backstage/dependabot/npm_and_yarn/types/terser-webpack-plugin-5.2.0
build(deps-dev): bump @types/terser-webpack-plugin from 5.0.4 to 5.2.0
2021-09-27 10:03:25 +02:00
Patrik Oldsberg 047abce582 Merge pull request #7334 from backstage/dependabot/npm_and_yarn/react-hook-form-7.16.1
build(deps): bump react-hook-form from 7.15.3 to 7.16.1
2021-09-27 10:02:24 +02:00
dependabot[bot] 38371e8693 build(deps): bump react-hook-form from 7.15.3 to 7.16.1
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.15.3 to 7.16.1.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.15.3...v7.16.1)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 04:20:29 +00:00
dependabot[bot] a853b282d8 build(deps-dev): bump @types/terser-webpack-plugin from 5.0.4 to 5.2.0
Bumps [@types/terser-webpack-plugin](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/terser-webpack-plugin) from 5.0.4 to 5.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/terser-webpack-plugin)

---
updated-dependencies:
- dependency-name: "@types/terser-webpack-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 04:17:25 +00:00
dependabot[bot] 2982d3856f build(deps-dev): bump @types/luxon from 1.27.0 to 2.0.4
Bumps [@types/luxon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/luxon) from 1.27.0 to 2.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/luxon)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 04:16:30 +00:00
Andre Wanlin 28d4e6f0fc Updated API Report
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-09-26 11:04:50 -05:00
Andre Wanlin 9424501792 Merge branch 'backstage:master' into topic/add-is-kubernetes-available 2021-09-26 11:02:09 -05:00
Andre Wanlin 4069e3546c Updated API Report
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-09-26 10:59:23 -05:00
Andre Wanlin a1c61fc5bf Merge branch 'backstage:master' into topic/add-is-docs-available 2021-09-26 10:50:46 -05:00
Patrik Oldsberg 78d6aebdad Merge pull request #7321 from ryan-hanchett/fix/update-oauth-refresh-token
Fix oauth refresh logic to set new refresh token
2021-09-26 15:02:32 +02:00
Patrik Oldsberg 40199b61d6 cli: include root package in schema search + update docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-25 17:46:07 +02:00
Patrik Oldsberg ee7a1a4b64 config-loader: allow schemas to be collected by package path as well
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-25 17:46:04 +02:00
Andre Wanlin 8d397ef27a Add check for Kubernetes annotation on entity
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-09-25 10:27:57 -05:00
Andre Wanlin 0a8bec0877 Added changeset
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-09-25 10:13:37 -05:00
Andre Wanlin 0f74a2f479 Add check for TechDocs annotation on entity
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-09-25 10:11:42 -05:00
Patrik Oldsberg 1fd9e6f601 Merge pull request #7325 from backstage/rugvip/subconf
backend-common: enable subscriptions for sub configs
2021-09-25 16:17:38 +02:00
Patrik Oldsberg 8bb3c0a578 backend-common: enable subscriptions for sub configs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-25 13:48:54 +02:00
Fredrik Adelöw 2325563877 Merge pull request #7322 from gtaylor/patch-1
Fix example plugin link in catalog config doc
2021-09-25 10:46:20 +02:00
Greg Taylor dc18948371 Fix example plugin link in catalog config doc
A link to the example artist-lookup-component.yaml file was broken due to a
change in repo directory structure. This commit updates the broken link to
reflect the new location.

Signed-off-by: Greg Taylor <greg@gctaylor.com>
2021-09-24 21:44:30 -07:00
Ryan Hanchett c46396ebb0 docs: add changeset for updates
Signed-off-by: Ryan Hanchett <ryan.hanchett@invitae.com>
2021-09-24 20:34:47 -07:00
Ryan Hanchett a6e5a95c16 fix: pass updated refresh token to oauth2 adapter
Signed-off-by: Ryan Hanchett <ryan.hanchett@invitae.com>
2021-09-24 20:28:28 -07:00
Patrik Oldsberg 8796e812e6 Merge pull request #7307 from backstage/rugvip/range
cli: make create-plugin prefer version ranges that are already in the lockfile
2021-09-24 17:20:28 +02:00
Patrik Oldsberg 7ffc5cc0d6 catalog-backend: review fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-24 17:16:28 +02:00
Patrik Oldsberg 9977341a7b cli: fix version query for mui lab
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-24 16:37:18 +02:00
Patrik Oldsberg 2a7b9df2ec catalog-backend: tweak db tests to work with postgres
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-24 16:36:03 +02:00
Patrik Oldsberg ac7751056a catalog-backend: added regression test for disappearing references
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-24 16:04:38 +02:00
Johan Haals 2255993c83 Merge pull request #7314 from backstage/jhaals/refresh-improvements
Catalog: Update AboutCard to only render refresh for url locations
2021-09-24 15:42:32 +02:00
Patrik Oldsberg 9ea4565b00 catalog-backend: refactor defferal of entites + fix dissapearing ref bug
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-24 15:22:15 +02:00
Camila Belo ab6caf7211 Merge pull request #7312 from backstage/emmaindal/techdocs-custom-api-impl-docs
[TechDocs] API implementation how-to guide
2021-09-24 14:50:00 +02:00
Johan Haals ade1ba0fe2 Merge pull request #7311 from RoadieHQ/add-bugsnag-plugin
Add bugsnag plugin to marketplace
2021-09-24 14:28:12 +02:00
irma12 ee833955b1 Fix prettier
Signed-off-by: irma12 <irma@roadie.io>
2021-09-24 14:24:12 +02:00
Emma Indal 51fb9eb42a fix formatting
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-24 13:55:37 +02:00
bodilb 659c395eae Update docs/features/techdocs/how-to-guides.md
Signed-off-by: Bodil Björklund <bodilb@spotify.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-24 13:49:09 +02:00
bodilb 24ecb5414a Update docs/features/techdocs/how-to-guides.md
Signed-off-by: Bodil Björklund <bodilb@spotify.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-09-24 13:49:09 +02:00