Chris Trombley
a50b6474a7
feat(tech-insights): make tokenManager available on FactRetrieverContext
...
Signed-off-by: Chris Trombley <ctrombley@gmail.com >
2022-04-26 10:56:00 -07:00
Patrik Oldsberg
526f5a6079
Merge pull request #10300 from backstage/rugvip/default-resolvers
...
auth-backend: remove all default sign-in resolvers
2022-04-12 13:43:33 +02:00
Patrik Oldsberg
a479e76604
auth-backend: rename all built-in resolvers
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-04-12 11:03:25 +02:00
Eric Peterson
89a2aba980
Merge pull request #10725 from backstage/search/task-scheduler-cleanups
2022-04-09 11:14:39 +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
5d14f55b71
backend: update auth plugin setup
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-04-08 16:42:29 +02:00
Patrik Oldsberg
9990055aa3
backend: add example of custom auth resolver
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-04-08 12:50:29 +02:00
Patrik Oldsberg
56562c49d6
backend: add example of setting up sign-in
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-04-08 12:50:28 +02:00
Vincenzo Scamporlino
173aadff5b
Avoid PermissionEvaluator breaking changes
...
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev >
2022-04-08 12:29:00 +02:00
Vincenzo Scamporlino
afb7535c2e
Use PermissionEvaluator instead of ServerPermissionClient
...
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev >
2022-04-08 12:28:59 +02:00
Phil Kuang
0a63e99a26
feat(search): handle search indexing coordination among nodes
...
Signed-off-by: Phil Kuang <pkuang@factset.com >
2022-04-06 14:03:04 -04:00
Joe Porpeglia
970814ed38
Move policy decision types to permission-common
...
Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com >
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-03-25 10:02:46 -04:00
Phil Gore
231fee736b
updating tasks and tech-insights to work together
...
Signed-off-by: Phil Gore <pgore@ea.com >
2022-03-22 14:48:17 +01:00
Fredrik Adelöw
89c7e47967
make the backend plugin ts files consistent
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-13 19:27:46 +01:00
Fredrik Adelöw
f9c7bdd899
remove the last remnants of cookiecutter from scaffolder-backend
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-04 15:16:25 +01:00
Eric Peterson
d0993bc6f1
Wire up app/create-app to use stream-based search implementations
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-03-02 17:29:18 +01:00
Joe Porpeglia
e2cf0662eb
Warn if permission backend is used without permissions enabled
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-02-14 15:34:24 -05:00
Fredrik Adelöw
3c9aed1b16
review comments
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-10 10:36:45 +01:00
Fredrik Adelöw
bf5222bfa1
moved over IdentityClient as well
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-09 19:32:59 +01:00
Joe Porpeglia
ae1bba9ebc
Use server token for catalog identity client
...
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2022-01-27 09:13:02 -05:00
MT Lewis
bbfbc755aa
[wip] search-backend: result-by-result authorization
...
To do:
- add tests for AuthorizedSearchEngine
- update router tests
- add diff to changeset
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2022-01-25 13:01:39 +00: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
Patrik Oldsberg
fb08e2f285
backend,create-app: update app-backend setup to forward database
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-01-13 20:00:12 +01:00
Jussi Hallila
28fd9bc603
Modify based on review comments.
...
Make it breaking change.
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2022-01-13 16:04:30 +01:00
blam
55a53d7cc2
chore: more removal
...
Signed-off-by: blam <ben@blam.sh >
2022-01-13 10:45:17 +01:00
blam
6fbdcdd5c7
chore: remove the rest
...
Signed-off-by: blam <ben@blam.sh >
2022-01-13 10:45:17 +01:00
blam
ecc01818d7
chore: removing this from the default app as it breaks with invalid config
...
Signed-off-by: blam <ben@blam.sh >
2022-01-13 10:45:17 +01:00
Fredrik Adelöw
9632cda521
Fix the last renmnants of the old copyright header
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-09 22:10:52 +01:00
Jussi Hallila
8dafbbb8b8
Swap default example cadence to once a month
...
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2022-01-03 15:15:54 +01:00
Jussi Hallila
6668b6e2fc
Modify tech insights default cadence to be less eager.
...
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2022-01-03 13:06:59 +01:00
Fredrik Adelöw
0dcd1dd64f
Introduce TaskScheduler into backends
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-12-25 15:14:55 +01:00
MT Lewis
5f1333a60b
Merge pull request #8357 from backstage/example-app-permission-integration
...
Example app permission integration
2021-12-22 14:32:25 +00:00
MT Lewis
20d10b57d6
permission-node: rename static create method to fromConfig
...
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com >
2021-12-21 09:46:22 +00:00
Joon Park
0e8ec6d974
Rename all the things
...
Signed-off-by: Joon Park <joonp@spotify.com >
2021-12-17 18:16:47 +00:00
Joon Park
816e0e04f9
Address various comments round 1
...
Signed-off-by: Joon Park <joonp@spotify.com >
2021-12-17 18:16:47 +00:00
Joon Park
24dce3ca43
Reintroduce noop token manager and refactor ServerPermissionClient
...
Signed-off-by: Joon Park <joonp@spotify.com >
2021-12-17 18:16:47 +00:00
Joon Park
ea96ce2449
Change ServerTokenManager method name back to fromConfig
...
Signed-off-by: Joon Park <joonp@spotify.com >
2021-12-17 18:16:47 +00:00
Joon Park
f786dc8140
Generate secret in development
...
Signed-off-by: Joon Park <joonp@spotify.com >
2021-12-17 18:16:46 +00:00
Joon Park
6b8713df35
Create ServerPermissionClient and add it to example backend
...
Signed-off-by: Joon Park <joonp@spotify.com >
2021-12-17 18:16:46 +00:00
Praveen Ranjan Keshri
1e7070443d
Fixes post review by Rugvip:
...
1. Ensuring that reloadIntervals, if present, is a valid positive number
2. Remote config error message fix
3. Removed remote config from example backend
4. Lessened the writing.md
5. Multiple changesets
Signed-off-by: Praveen Ranjan Keshri <prkeshri@gmail.com >
2021-12-08 00:21:53 +05:30
Praveen Ranjan Keshri
d5d69f1169
Merge branch 'backstage:master' into 7340-remote-config-fix
2021-12-07 22:46:46 +05:30
Eric Peterson
5fe0c2ce78
Wire up example backend to use in-memory cache.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-11-28 13:16:04 -07:00
Praveen Ranjan Keshri
776180b740
Fixed bug in backend-common to allow passing of remote option in order to enable passing remote url in --config option. The remote option should be passed along with reloadIntervalSeconds from packages/backend/src/index.ts (Updated the file as well)
...
Signed-off-by: Praveen Ranjan Keshri <prkeshri@gmail.com >
2021-11-25 01:59:54 +05:30
Nataliya Issayeva
83aa387b62
Default to noop tokenManager and no backend secret
...
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com >
2021-11-18 07:57:53 -08:00
Nataliya Issayeva
9cbb3cf908
Remove auth middleware
...
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com >
2021-11-18 07:57:52 -08:00
Nataliya Issayeva
b38d77f4f0
Change AuthIdentityTokenManager to ServerTokenManager
...
Co-authored-by: Joe Porpeglia <joeporpeglia@users.noreply.github.com >
Co-authored-by: Tim Hansen <timbonicus@gmail.com >
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com >
2021-11-18 07:56:42 -08:00
Nataliya Issayeva
8ceffe5f98
Use backend secret from config
...
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com >
2021-11-18 07:55:26 -08:00
Nataliya Issayeva
2533294ec1
Static create and private constructor not really needed
...
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com >
2021-11-18 07:55:26 -08:00
Nataliya Issayeva
f3d9de436f
Make tokenManager constructor private and add static create method
...
Signed-off-by: Nataliya Issayeva <nissayeva@users.noreply.github.com >
2021-11-18 07:55:26 -08:00
Joe Porpeglia
2a320c21b4
Pass auth token from document collators
...
Co-authored-by: Nataliya Issayeva <nissayeva@users.noreply.github.com >
Co-authored-by: Tim Hansen <timbonicus@gmail.com >
Signed-off-by: Joe Porpeglia <josephp@spotify.com >
2021-11-18 07:55:25 -08:00