Camila Belo
e0dc1e8ccd
tests(techdocs): fix broken tests
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-04-09 13:46:47 +02:00
Camila Belo
236089c6cd
feat(techdocs): delete addons plugin
...
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-04-09 13:46:47 +02:00
Camila Belo
24581a2fd3
feat(techdocs): compose app addons
...
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-04-09 13:46:44 +02:00
Camila Belo
fbc5c68d91
feat(techdocs): merge reader components
...
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-04-09 13:46:10 +02:00
Camila Belo
948d6425de
feat(techdocs): create addons package
...
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-04-09 13:46:10 +02:00
Eric Peterson
ace749b785
Allow addons (except header location) to be used in Entity Reader
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-04-09 13:46:10 +02:00
Anders Näsman
413024e182
add test-utils
...
Co-authored-by: Camila Belo <camilaibs@gmail.com >
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Signed-off-by: Anders Näsman <andersn@spotify.com >
2022-04-09 13:46:10 +02:00
Emma Indal
3efd08388a
add changeset
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-04-09 13:46:10 +02:00
Emma Indal
5c86f3e2b7
downgrade test utils package
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-04-09 13:46:10 +02:00
Emma Indal
4f9de91af5
update tests based on implementation changes
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-04-09 13:46:10 +02:00
Eric Peterson
10a7736ced
Testbed to help iterate on addons + correct dependency graph
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-04-09 13:46:08 +02:00
Emma Indal
0b67af3485
Write tests for hooks
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
Co-authored-by: Camila Belo <camilaibs@gmail.com >
2022-04-09 13:44:50 +02:00
Emma Indal
42cc7e5991
Split hooks into separate file
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
Co-authored-by: Camila Belo <camilaibs@gmail.com >
2022-04-09 13:44:50 +02:00
Emma Indal
f0a3055d17
add tests for useEntityMetadata, useTechDocsMetadata, useTechDocsReaderPage
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-04-09 13:44:50 +02:00
Eric Peterson
e328e3d31b
Make utility hook responses async, allowing addons to handle errors independently.
...
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Co-authored-by: Anders Näsman <andersn@spotify.com >
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-04-09 13:44:50 +02:00
Eric Peterson
d8db6db3d7
Review feedback.
...
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Co-authored-by: Anders Näsman <andersn@spotify.com >
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-04-09 13:44:50 +02:00
Eric Peterson
ff1cc8bced
Expose an alternative, add-on-aware read component and hooks.
...
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Co-authored-by: Camila Belo <camilaibs@gmail.com >
Co-authored-by: Otto Sichert <git@ottosichert.de >
Co-authored-by: Anders Näsman <andersn@spotify.com >
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-04-09 13:44:47 +02:00
Eric Peterson
30d2ca2669
Allow addons to be created and registered.
...
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Co-authored-by: Camila Belo <camilaibs@gmail.com >
Co-authored-by: Otto Sichert <git@ottosichert.de >
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-04-09 13:43:46 +02:00
Eric Peterson
19c0db60aa
Initial package to encapsulate the TechDocs addon framework.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-04-09 13:43:46 +02:00
Eric Peterson
89a2aba980
Merge pull request #10725 from backstage/search/task-scheduler-cleanups
2022-04-09 11:14:39 +02:00
Patrik Oldsberg
f9ece810dc
auth-backend: remove duplicate comment
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-04-09 10:53:29 +02:00
Patrik Oldsberg
5a07982847
auth-backend: remove dead code
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-04-09 10:53:16 +02:00
Patrik Oldsberg
d417eab702
Merge pull request #10700 from backstage/rugvip/ignore-errors
...
config-loader,backend-common: do not fail backend startup on config schema errors
2022-04-08 23:24:42 +02:00
daftgopher
bb0e30bb94
Update adopters file
...
Signed-off-by: daftgopher <daftgopher@users.noreply.github.com >
2022-04-08 15:22:38 -04:00
Fredrik Adelöw
2888d41a0b
Merge pull request #10717 from RoadieHQ/add-grpc-api-definition-widget
...
add dedicated grpc api widget
2022-04-08 21:11:17 +02:00
Fredrik Adelöw
f1895929b8
Merge pull request #10675 from backstage/unregister-location-implicit-delete
...
Update behavior when unregistering locations from `UnregisterEntityDialog`
2022-04-08 20:59:45 +02:00
LvffY
659ef6aaa9
[ #10582 ] 👌 Pass prettier
...
Signed-off-by: LvffY <louberger@hotmail.fr >
(cherry picked from commit 90efbd7f197c999f7a067bb813ff5b0232307b2f)
2022-04-08 20:02:41 +02:00
LvffY
75ab45d8b4
[ #10582 ] 👌 Re-add tests and code to throw exceptions when entity type is not url.
...
See https://github.com/backstage/backstage/pull/10584#discussion_r841505986
See https://github.com/backstage/backstage/pull/10584#discussion_r841502848
Signed-off-by: LvffY <louberger@hotmail.fr >
(cherry picked from commit 8a986150cc1e96b3150516ef36f24bdd89c55bff)
2022-04-08 20:02:38 +02:00
LvffY
fe3c721814
[ #10582 ] 👌 Fix changeset
...
See https://github.com/backstage/backstage/pull/10584#discussion_r841507071
Signed-off-by: LvffY <louberger@hotmail.fr >
(cherry picked from commit bd7e5271b1fe283fc1b304185c0d53115d1da172)
2022-04-08 20:02:36 +02:00
LvffY
3399dfb8c0
[ #10582 ] 👌 Pass prettier
...
Signed-off-by: LvffY <louberger@hotmail.fr >
(cherry picked from commit a103befad1950863049a5711471500690d6eb2bd)
2022-04-08 20:02:33 +02:00
LvffY
4e96e3fdb1
[ #10582 ] 📝 Fix docs
...
Signed-off-by: LvffY <louberger@hotmail.fr >
(cherry picked from commit 1fad23ee1ece324b6026b399e8570552a11369cf)
2022-04-08 20:02:31 +02:00
LvffY
5da036264b
[ #10582 ] ✨ Add changeset
...
Signed-off-by: LvffY <louberger@hotmail.fr >
(cherry picked from commit e16af648068bd0cc49999c5d078385f15aa7c49b)
2022-04-08 20:02:29 +02:00
LvffY
1b13978d4d
[ #10582 ] 💚 Fix tests for todo-backend
...
Signed-off-by: LvffY <louberger@hotmail.fr >
(cherry picked from commit eba6328126af2e20a429c96081ae96c4615a7c9d)
2022-04-08 20:02:26 +02:00
LvffY
c0d0e2bccb
[ #10582 ] 🐛 Use getEntitySourceLocation instead of custom method to get the entity source URL
...
Signed-off-by: LvffY <louberger@hotmail.fr >
(cherry picked from commit f0e86e8ba349cf7056c64960b7ad39740dad4cf6)
2022-04-08 20:02:24 +02:00
Eric Peterson
5960b78a4c
Document task scheduler / DB. And improve throughout.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-04-08 18:13:45 +02:00
Eric Peterson
1d8d3c408a
Use human-readable durations throughout.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-04-08 18:13:05 +02:00
Patrik Oldsberg
213819c77f
Merge pull request #10714 from backstage/rugvip/bumpfixes
...
scripts/prepare-release: fix patch bump process to work with prereleases
2022-04-08 17:54:18 +02:00
Jason Nguyen
67dbe01671
catalog-backend: simplify getDocumentText
...
Signed-off-by: Jason Nguyen <jsn.dev@outlook.com >
2022-04-08 09:36:44 -06:00
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
Patrik Oldsberg
5d14f55b71
backend: update auth plugin setup
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-04-08 16:42:29 +02:00
Patrik Oldsberg
c5aeaf339d
changesets: added changesets for auth-backend changes
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-04-08 16:42:28 +02:00
Kiss Miklos
eb85cd5fac
use explicit type for props
...
Signed-off-by: Kiss Miklos <miklos@roadie.io >
2022-04-08 16:09:59 +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
Patrik Oldsberg
0f201ad50e
auth-backend: API report cleanup
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-04-08 15:39:15 +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
Patrik Oldsberg
f30c2b0757
auth-backend: update API report
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-04-08 15:23:32 +02:00