Joe Porpeglia
cd3c5b132e
Update package exports to align with ADR004
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
ccaa50511f
Make getCacheKey sync
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
Joe Porpeglia
63e8b8605e
Disable catalog permission middleware unless permission.enabled = true
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-18 12:43:35 -05:00
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
Fredrik Adelöw
dc68ebc6de
Merge pull request #9005 from msfuko/master
...
Add Hopin to the list of adopters
2022-01-18 16:59:54 +01: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
Chloe Lee
48b86d2929
Add Hopin to the list of adopters
2022-01-18 10:39:57 -05:00
Ben Lambert
79a7d37964
Merge pull request #9003 from backstage/blam/goalie-workflows
...
Goalie workflow running on forks
2022-01-18 16:11:45 +01:00
Patrik Oldsberg
31184691d5
Merge pull request #8921 from backstage/changeset-release/master
...
Version Packages (next)
2022-01-18 15:59:26 +01:00
blam
b0755576c2
chore: pretty
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 15:16:42 +01:00
blam
08923f548f
chore: change permissions
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 15:12:36 +01:00
blam
9bfe00c351
chore: spoiler alert, it's a secret
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 15:11:24 +01:00
blam
5ca2edfcb9
chore: try this token?
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 15:09:05 +01:00
blam
f44a185ab7
chore: maybe these tokens workflows
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 15:05:31 +01:00
blam
192a8bc84a
set the org as it's installed at an org level
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 15:03:48 +01:00
Patrik Oldsberg
0925b232fc
create-app: fix release version to 0.4.13
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-18 14:57:45 +01:00
github-actions[bot]
a94a2b8b3f
Version Packages (next)
2022-01-18 13:49:07 +00:00
Patrik Oldsberg
e9861467d0
Merge pull request #8999 from backstage/rugvip/clipre
...
cli: fix versioning provider test to work with pre-releases
2022-01-18 14:42:46 +01:00
blam
5a49582e93
chore: fix syntax
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 14:35:27 +01:00
blam
08b7b16cb1
chore: updating permission for runing on forks
...
Signed-off-by: blam <ben@blam.sh >
i
2022-01-18 14:32:50 +01:00
blam
6108041ce4
chore: added get-workflow-token script
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 14:29:16 +01:00
Fredrik Adelöw
fa4967f869
Merge pull request #9002 from backstage/freben/disable-docker-in-ci
...
disable testcontainers docker based tests in ci
2022-01-18 14:24:25 +01:00
Fredrik Adelöw
805751631a
disable testcontainers docker based tests in ci
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-18 14:05:38 +01: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
Ben Lambert
68210a3e50
Merge pull request #8497 from backstage/blam/goalie-workflows
...
Goalie Workflows
2022-01-18 13:34:50 +01:00
Patrik Oldsberg
b6d04a261c
Merge pull request #8998 from backstage/rugvip/vp
...
workflows: fix for changeset flow not using service account
2022-01-18 13:27:28 +01:00
blam
d622d37fd6
chore: added the missing awaits.
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 13:19:55 +01:00
Patrik Oldsberg
99eda291cf
cli: fix versioning provider test to work with pre-releases
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-18 13:16:51 +01:00
Patrik Oldsberg
d45cb13107
Apply suggestions from code review
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
Co-authored-by: Fredrik Adelöw <freben@gmail.com >
2022-01-18 12:52:02 +01:00
blam
34f30674a9
chore: setting awaiting review labels until all reviews have been fulfilled
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 12:01:26 +01:00
blam
9af913243f
chore: thinking that this should be working now
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 11:56:56 +01:00
blam
7400c02e70
chore: think it should work now
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 11:48:03 +01:00
Patrik Oldsberg
d935b05a18
workflows: fix for changeset flow not using service account
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-18 11:43:48 +01:00
blam
7c879508c4
use the codeowners library instead
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 11:38:40 +01:00
blam
8f3dde70c8
chore: added logging
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 11:26:12 +01:00
blam
995ab54b72
chore: think the match should be right now
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 11:23:56 +01:00
blam
1c91bea01e
catch all
...
Signed-off-by: blam <ben@blam.sh >
Signed-off-by: blam <ben@blam.sh >
2022-01-18 11:13:13 +01:00
blam
407d010e5c
chore: add some debug logging
...
Signed-off-by: blam <ben@blam.sh >
2022-01-18 11:07:56 +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