Joe Porpeglia
17ebcb09cd
Refactor router tests
...
Adds a `createApp` helper instead of creating the express app in `beforeEach`. This allows tests to mock behavior of router creation, like toggling certain middleware based on config values.
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
f1918143e5
Compute cache keys from tokens instead of user entity refs
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
e9857d0b82
Remove 403 handling logic
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
d9afa2e882
Add tests to verify /static/docs behavior
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
c2f54048d1
Use catalog: prefix for catalog entity cache
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
413c9fab08
Cancel cache read if it takes too long
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
f5598677bf
Set cache value asynchronously
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
45f37c9835
Use CachedEntityLoader in techdocs router
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
7dcc6b1fe6
Add CachedEntityLoader for techdocs
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
b76fec242d
Verify access to related catalog entities for all techdocs api routes
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
Co-authored-by: Nataliya Issayeva <nissayeva@users.noreply.github.com >
2022-01-18 12:43:35 -05:00
Joon Park
6680853e0c
Export conditional permission policy helpers from catalog-backend ( #8966 )
...
* Export conditional permission policy helpers from catalog-backend
Signed-off-by: Joon Park <joonp@spotify.com >
* Rename exports to include 'catalog'
Signed-off-by: Joon Park <joonp@spotify.com >
* Minor comment edits
Co-authored-by: MT Lewis <mtlewis@users.noreply.github.com >
Signed-off-by: Joon Park <joonp@spotify.com >
Co-authored-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-01-18 16:04:57 +00:00
Joon Park
7e38acaa9e
Integrate permissions into catalog-backend location endpoints ( #8887 )
...
Signed-off-by: Joon Park <joonp@spotify.com >
2022-01-18 15:55:49 +00:00
github-actions[bot]
a94a2b8b3f
Version Packages (next)
2022-01-18 13:49:07 +00:00
Patrik Oldsberg
a57bee1a02
Merge pull request #8982 from backstage/rugvip/tsbump
...
Upgrade TypeScript to 4.5 and decouple versioning
2022-01-18 14:01:32 +01:00
Fredrik Adelöw
b4e6325654
Merge pull request #8853 from backstage/catalog-backend-permission-integration/entity-ancestry
...
Integrate permissions into `entityAncestry` endpoint in catalog-backend
2022-01-18 14:01:09 +01:00
Patrik Oldsberg
d1009d3b3e
Merge pull request #8965 from backstage/rugvip/extractor
...
cli,catalog-model: add experimental type definitions with release stage split
2022-01-18 11:06:14 +01:00
Ben Lambert
65752caad7
Merge pull request #8576 from backstage/blam/refactor-repo-url
...
chore: Refactoring the `RepoUrlPicker`
2022-01-18 10:41:44 +01:00
Patrik Oldsberg
4e2245a7b2
update API reports
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-18 10:16:05 +01:00
Patrik Oldsberg
0988dc5238
switch out react-use imports
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-18 10:11:29 +01:00
Fredrik Adelöw
013301e07b
remove node-fetch from frontend packages
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-18 09:41:01 +01:00
Fredrik Adelöw
a5c31502ec
Merge pull request #8974 from backstage/freben/ldapjs-clone
...
clone ldapjs input objects
2022-01-18 08:26:23 +01:00
blam
ab81d5766b
chore: updating props api-report
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 08:21:16 +01:00
blam
c56c70cf7b
chore: fixing up code review comments for the RepoUrlPicker
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 08:16:51 +01:00
Fredrik Adelöw
021bba18c4
Update readme
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-17 21:56:26 +01:00
Fredrik Adelöw
3368dc6b62
clone ldapjs input objects
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-17 20:58:33 +01:00
Fredrik Adelöw
4c176a81d6
Merge pull request #8923 from kuangp/feat/shortcutIcon
...
feat(shortcuts): make sidebar item icon configurable
2022-01-17 18:34:45 +01:00
Fredrik Adelöw
630080141c
Merge pull request #8946 from dweber019/patch-1
...
Export GraphQlDefinitionWidget
2022-01-17 18:33:25 +01:00
Fredrik Adelöw
dda8a168fe
Merge pull request #8947 from markstickley/patch-1
...
Fixed typo and made warning a little clearer
2022-01-17 18:32:46 +01:00
Phil Kuang
c52ae0a73b
feat(shortcuts): make sidebar item icon configurable
...
Signed-off-by: Phil Kuang <pkuang@factset.com >
2022-01-17 11:32:05 -05:00
Fredrik Adelöw
31ab782686
api report
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-17 17:01:32 +01:00
Fredrik Adelöw
83fae70575
prettier
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-17 16:52:12 +01:00
Fredrik Adelöw
aa9030d313
Merge pull request #8681 from backstage/rugvip/assetcache
...
app-backend: store static assets across deployments and improve caching
2022-01-17 16:26:17 +01:00
Fredrik Adelöw
a1f9b4153e
Merge pull request #8845 from RoadieHQ/fact-garbage-truck
...
[TechInsights] Add expiration configurations to fact retrievers
2022-01-17 16:22:46 +01:00
Fredrik Adelöw
101eb459e3
Merge pull request #8396 from SDA-SE/feat/DOCKM-1134
...
feat: Add new authentication provider: OAuth2Proxy
2022-01-17 15:50:13 +01:00
Joon Park
48248e2db5
Integrate permissions into entityAncestry endpoint in catalog-backend
...
Signed-off-by: Joon Park <joonp@spotify.com >
2022-01-17 14:07:44 +00:00
Dominik Schwank
619bc06613
feat(auth-backend): mark authHandler context as required parameter
...
Signed-off-by: Dominik Schwank <dominik.schwank@sda.se >
2022-01-17 14:35:30 +01:00
Adrian Barwicki
6e92ee6267
feat: add oauth2proxy provider
...
Signed-off-by: Adrian Barwicki <adrian.barwicki.extern@sda.se >
Signed-off-by: Dominik Schwank <dominik.schwank@sda.se >
2022-01-17 14:35:22 +01:00
Fredrik Adelöw
2ab5c268b8
Merge pull request #8952 from backstage/freben/not-next
...
Deprecate the legacy catalog engine
2022-01-17 14:26:40 +01:00
Fredrik Adelöw
420c1cce91
rename the NextEntitiesCatalog
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-17 14:02:07 +01:00
Fredrik Adelöw
5e1a83e4f1
remove batchAddOrUpdateEntities too
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-17 14:02:05 +01:00
Patrik Oldsberg
cc13505856
Merge pull request #8809 from backstage/rugvip/depr
...
removed deprecations from the 2021-12-09 release
2022-01-17 14:01:34 +01:00
Fredrik Adelöw
9f2a8dc423
add migration to remove the old tables, and some cleanup
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-17 13:57:33 +01:00
Fredrik Adelöw
200c31c100
remove the legacy folder
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-17 13:57:33 +01:00
Fredrik Adelöw
462b76da14
stop exposing legacy and replace with next
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-17 13:57:33 +01:00
Joon Park
e15ce5c16e
Integrate authorization into catalog-backend delete entities endpoint ( #8805 )
...
* Integrate authorization into catalog-backend delete entities endpoint
Signed-off-by: Joon Park <joonp@spotify.com >
* Remove entity ref from request and handle conditional response
Signed-off-by: Joon Park <joonp@spotify.com >
2022-01-17 12:22:24 +00:00
Patrik Oldsberg
4d21332888
Merge branch 'master' into rugvip/depr
2022-01-17 13:07:16 +01:00
Mark Stickley
02687954ca
Fixed typo and made warning a little clearer
...
Signed-off-by: Mark Stickley <markstickley@theyakshack.co.uk >
2022-01-17 11:54:10 +00:00
Fredrik Adelöw
c13beb05e4
Merge pull request #8943 from djamaile/master
...
feat(org): expose pageSize prop for MembersListCard component
2022-01-17 09:39:58 +01:00
David Weber
6f4f3422d8
Export GraphQlDefinitionWidget
...
This is important for reuse of the widget.
Signed-off-by: David Weber <david.weber@baloise.ch >
2022-01-16 12:41:14 +01:00
Patrik Oldsberg
2b27e49eb1
catalog,catalog-backend: update to catalog-model status change
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-15 16:47:39 +01:00