Commit Graph

12975 Commits

Author SHA1 Message Date
Eric Peterson d6936dcbde Swap out cache-manager for Keyv implementation.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 17:11:04 +02:00
Eric Peterson 884c2bd54f Update docs to reflect changes
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson 7ff6a75575 Add an onError config to enable plugin devs to catch and handle underlying client errors
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson 368a5158cc Return an explicit undefined on no data.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson b71c230beb Refactor CacheManager.fromConfig
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson cc60475127 Clarify default TTL behavior.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson b73dc5f46e Clean up some types
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:34 +02:00
Eric Peterson ac8f7e4666 Dev dependency.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:25:30 +02:00
Eric Peterson 22fd8ce2ac Changeset
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:47 +02:00
Eric Peterson 669ff5ee2e Declare new public API
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:47 +02:00
Eric Peterson b57fa279c5 Clean up and document exported types
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:47 +02:00
Eric Peterson c7fa03cd76 Test coverage for CacheManager and CacheClient
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:47 +02:00
Eric Peterson 6e0be00e1d Wrap cache clients in a Backstage-specific CacheClient to handle key normalization and error handling + allow us the freedom to move away from cache-manager in the future if necessary.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:47 +02:00
Eric Peterson 93ff8275dd WIP store-agnostic cache manager.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-05-09 15:24:40 +02:00
Fredrik Adelöw d2eed74d35 Merge pull request #5622 from backstage/dependabot/npm_and_yarn/ua-parser-js-0.7.28
chore(deps): bump ua-parser-js from 0.7.21 to 0.7.28
2021-05-08 14:42:38 +02:00
dependabot[bot] f6dbdb6021 chore(deps): bump ua-parser-js from 0.7.21 to 0.7.28
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.21 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.21...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 21:08:39 +00:00
Dominik Henneke 6fa86f44f4 Merge pull request #5619 from SDA-SE/feat/scaffolder-jest-when
Move `jest-when` to the dev dependencies
2021-05-07 17:42:29 +02:00
Dominik Henneke fd39d46627 Move jest-when to the dev dependencies
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-05-07 17:19:28 +02:00
Ben Lambert 26e7ab1dab Merge pull request #5614 from backstage/eide/kube-gke-cluster-config
[kubernetes-backend]: Add options to skip TLS verification for gke type clusters
2021-05-07 16:35:13 +02:00
Ben Lambert 4a4bed0178 Merge pull request #5581 from SDA-SE/feat/apidocssearch
Fix setting the state with `useQueryParamState` makes inputs lose their focus
2021-05-07 15:42:09 +02:00
Marcus Eide f9f9d633d2 Add changeset
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-05-07 15:41:25 +02:00
Marcus Eide bc551b5f46 Use config schema inline instead
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-05-07 15:39:39 +02:00
Marcus Eide 7ee8ad08fd Fix tests
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-05-07 15:25:25 +02:00
Marcus Eide 2723253d7e Update documentation
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-05-07 15:24:52 +02:00
Marcus Eide 1abb1d1e7b Add support for skipTLSVerify when using the GkeClusterLocator
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-05-07 15:24:13 +02:00
Oliver Sand 6f57e2df67 Fix typo
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-07 15:09:23 +02:00
Johan Haals 91f74d11e0 Merge pull request #5613 from backstage/jhaals/typecast
catalog/next: Fix postgres type error when deleting entries
2021-05-07 15:07:57 +02:00
Ben Lambert b17d47754a Merge pull request #5598 from backstage/dependabot/npm_and_yarn/react-use-17.2.4
chore(deps): bump react-use from 15.3.8 to 17.2.4
2021-05-07 14:43:57 +02:00
Johan Haals 3e3d5572fe catalog/next: Fix postgres type error when deleting entries
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-07 13:36:59 +02:00
Ben Lambert bc7dcfd466 Merge pull request #5611 from julian-mp/realign-template-schema
Realign Template schema (parameters > input)
2021-05-07 13:35:59 +02:00
blam e3fc89df6e chore: added changeset for cli changes
Signed-off-by: blam <ben@blam.sh>
2021-05-07 13:28:41 +02:00
blam 675a569a99 chore(deps): added changeset for dep bump
Signed-off-by: blam <ben@blam.sh>
2021-05-07 13:27:29 +02:00
blam 9eabe20696 chore: new plugins should use later versions of react-use
Signed-off-by: blam <ben@blam.sh>
2021-05-07 13:27:05 +02:00
Julian Pearce add75e7a5b generate API report
Signed-off-by: Julian Pearce <git@julian.mp>
2021-05-07 11:42:03 +01:00
Oliver Sand 4d9a337a4a Restore debounceTime and mark it as deprecated
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-07 11:54:50 +02:00
dependabot[bot] 0b51bcb008 chore(deps): bump react-use from 15.3.8 to 17.2.4
Bumps [react-use](https://github.com/streamich/react-use) from 15.3.8 to 17.2.4.
- [Release notes](https://github.com/streamich/react-use/releases)
- [Changelog](https://github.com/streamich/react-use/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/react-use/compare/v15.3.8...v17.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 09:20:46 +00:00
Ben Lambert 4acd1d1de1 Merge pull request #5595 from backstage/dependabot/npm_and_yarn/ts-node-9.1.1
chore(deps): bump ts-node from 8.10.2 to 9.1.1
2021-05-07 11:11:15 +02:00
Ben Lambert ccfb22bd55 Merge pull request #5466 from K-Phoen/explore-org
Add "Organization" tab with a diagram
2021-05-07 10:51:37 +02:00
blam 3be844496c chore(deps): add changeset for ts-node bump
Signed-off-by: blam <ben@blam.sh>
2021-05-07 10:09:22 +02:00
Ben Lambert 9fb41b599a Merge pull request #5612 from backstage/dependabot/npm_and_yarn/graphql-codegen/typescript-resolvers-1.19.1
chore(deps-dev): bump @graphql-codegen/typescript-resolvers from 1.18.2 to 1.19.1
2021-05-07 10:02:14 +02:00
dependabot[bot] e38d2c73e1 chore(deps-dev): bump @graphql-codegen/typescript-resolvers
Bumps [@graphql-codegen/typescript-resolvers](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/resolvers) from 1.18.2 to 1.19.1.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/resolvers/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/typescript-resolvers@1.19.1/packages/plugins/typescript/resolvers)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 04:12:08 +00:00
Julian Pearce 10c008a3a6 resolves #5586
Signed-off-by: Julian Pearce <git@julian.mp>
2021-05-07 03:39:56 +01:00
Fredrik Adelöw 67b16c4935 Merge pull request #5606 from backstage/dependabot/npm_and_yarn/property-expr-2.0.4
chore(deps): bump property-expr from 2.0.2 to 2.0.4
2021-05-06 21:51:40 +02:00
dependabot[bot] dd3b98138f chore(deps): bump property-expr from 2.0.2 to 2.0.4
Bumps [property-expr](https://github.com/jquense/expr) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/jquense/expr/releases)
- [Changelog](https://github.com/jquense/expr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jquense/expr/compare/v2.0.2...v2.0.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 18:50:26 +00:00
Fredrik Adelöw c665f69085 Merge pull request #5604 from SDA-SE/feat/scaffolder-no-task
Show error on task page if task does not exist
2021-05-06 19:13:15 +02:00
Oliver Sand d6ee183054 Restore for scaffold()
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-06 18:28:56 +02:00
Oliver Sand 15e248a107 Migrate all scaffolder API calls to ResponseError
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-06 18:22:38 +02:00
Oliver Sand 81ef1d57bf Show error on task page if task does not exist
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-06 17:51:28 +02:00
Johan Haals 0bfcc4323a Merge pull request #5587 from backstage/mob/wire-locationservice
catalog/next: Wire API with locationStore, fix filtering
2021-05-06 13:30:28 +02:00
Ben Lambert 6bbc3f74fe Merge pull request #5533 from backstage/changeset-release/master
Version Packages
2021-05-06 11:28:13 +02:00