Commit Graph

5116 Commits

Author SHA1 Message Date
Johan Haals 60a6090f24 Split dryRun to separate method, map errors.
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-10 14:32:18 +02:00
Johan Haals 6185b62e38 Wrap location in data to conform with current API
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-10 10:06:55 +02:00
Johan Haals b23de0aeb6 Revert "Make listLocations conform with current API"
This reverts commit 449972081db302c6c2a2938a45f90beb82e117c8.

Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-10 10:06:54 +02:00
Johan Haals e53223f15c Make listLocations conform with current API
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-10 10:06:54 +02:00
Johan Haals b0d711e718 Catalog/next: Add support for dryRun
which is used by the catalog-import plugin.

Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-10 10:06:54 +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 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 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
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
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
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
github-actions[bot] d397eb470f Version Packages 2021-05-06 08:25:18 +00:00
dependabot[bot] e133f76cd1 chore(deps): bump ts-node from 8.10.2 to 9.1.1
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.2 to 9.1.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.2...v9.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 04:12:19 +00:00
Fredrik Adelöw ebc0384a42 Merge pull request #5589 from adamdmharvey/import
catalog-import: Update wording in the UI
2021-05-05 18:31:03 +02:00
Kévin Gomez 90ba3a3205 Test the GroupsExplorerContent and GroupsDiagram components
Signed-off-by: Kévin Gomez <kevin.gomez@voiapp.io>
2021-05-05 16:56:45 +02:00
Fredrik Adelöw 03b59303b6 Merge pull request #5576 from backstage/mob/ctx
next/catalog: Remove CommonDatabase dependency
2021-05-05 16:44:44 +02:00
Adam Harvey 74f4aa43da Update wording in dialog
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2021-05-05 10:43:07 -04:00
Adam Harvey e938fc30cd Fix typo
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2021-05-05 10:42:27 -04:00
Johan Haals 1f1511e768 catalog/next: Wire API with locationStore, fix filtering
Co-authored-by: Ben Lambert <ben@blam.sh>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-05 16:38:14 +02:00
Eric Peterson 67b98cd308 Merge pull request #5574 from SDA-SE/feat/techdocs-toc-scroll
Fix navigation in a page using the table of contents
2021-05-05 16:36:13 +02:00
Kévin Gomez d67645ca05 Rename Organization diagram to Groups
Signed-off-by: Kévin Gomez <kevin.gomez@voiapp.io>
2021-05-05 14:22:33 +02:00
Dominik Henneke 42f2adadc8 Merge pull request #5415 from SDA-SE/feat/rundocker-api
Refactor the runDockerContainer function to a ContainerRunnerApi interface
2021-05-05 12:00:40 +02:00
Oliver Sand 889d89b6ec Fix setting the state with useQueryParamState makes inputs lose their focus
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-05 11:34:33 +02:00
Kévin Gomez f37cf4599c Use formatEntityRefTitle to format node titles
Signed-off-by: Kévin Gomez <kevin.gomez@voiapp.io>
2021-05-04 23:17:45 +02:00
Kévin Gomez defaa15e55 Add "Organization" tab with a diagram
Signed-off-by: Kévin Gomez <kevin.gomez@voiapp.io>
2021-05-04 22:38:17 +02:00
Fredrik Adelöw 37ca09566a Merge pull request #5330 from backstage/kubernetes-common
Kubernetes common
2021-05-04 20:44:08 +02:00
Fredrik Adelöw 2002e59a3f Merge pull request #5494 from goober/feature/expose-bitbucket-parser
[Catalog] Expose BitbucketRepositoryParser
2021-05-04 20:23:34 +02:00
Johan Haals ea6af51269 chore: cleanups
Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-04 16:28:39 +02:00
Johan Haals 3492eccef2 Remove redundant assertion
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-04 16:19:55 +02:00
Johan Haals 86d1d7affa Remove context from LocationStore
Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-04 16:16:21 +02:00
Fredrik Adelöw 2109d8ee3c Merge pull request #5567 from backstage/dependabot/npm_and_yarn/jsonschema-1.4.0
chore(deps): bump jsonschema from 1.2.7 to 1.4.0
2021-05-04 15:35:43 +02:00
Oliver Sand 2e05277e0d Fix navigation in a page using the table of contents
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-04 14:17:29 +02:00
Fredrik Adelöw 266160aa29 Merge pull request #5558 from monzo/useRelatedEntities-batches
Fetch relations in batches in `useRelatedEntities`
2021-05-04 11:34:54 +02:00
dependabot[bot] 75c8cec394 chore(deps): bump jsonschema from 1.2.7 to 1.4.0
Bumps [jsonschema](https://github.com/tdegrunt/jsonschema) from 1.2.7 to 1.4.0.
- [Release notes](https://github.com/tdegrunt/jsonschema/releases)
- [Commits](https://github.com/tdegrunt/jsonschema/compare/v1.2.7...v1.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-04 11:30:00 +02:00
Johan Haals a1e6ed1fcc Refactor LocationStore to transaction from context
Co-authored-by: Ben Lambert <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-04 10:17:46 +02:00
Will Sewell 4dcab64185 Update test mocks to expect call to getEntities
Signed-off-by: Will Sewell <willsewell@monzo.com>
2021-05-04 08:56:30 +01:00
Johan Haals 641d36b148 chore: delete todo comment
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-04 09:39:02 +02:00
Johan Haals cb10731dfa Drop references to deleted code
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-04 09:39:02 +02:00
Johan Haals cd33a8cd26 Reduce if block
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-04 09:39:02 +02:00
Johan Haals e9d61bcbeb Ensure that processing continues despite errors
Co-authored-by: Ben Lambert <ben@blam.sh>

Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-05-04 09:39:01 +02:00