-
Notifications
You must be signed in to change notification settings - Fork 24
feat(authz): cache entitlement policy within authorization service #2457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
4923115
feat(policy): cache entitlement policy in authz v2
jakedoublev c86d9d7
hook to run after services are started
jakedoublev 12e2c4d
policy config
jakedoublev 9096218
consume policy cache
jakedoublev 0bfd2e3
lint fixes
jakedoublev 603fb63
fix cache utilization in auth service and lower defaults
jakedoublev cc99503
lint fixes
jakedoublev 5747db1
test: sleep to ensure roundtrip tests hit cached policy
jakedoublev 281f41d
put back rttests
jakedoublev a5859e1
put back authz doing any caching
jakedoublev a14f9ae
set cache on relevant policy services and refactor to servicesStarted…
jakedoublev a668dd7
improve log
jakedoublev 9505dd0
working cache
jakedoublev 3ba044c
lint fixes
jakedoublev b1ec09a
fix limit/offset
jakedoublev eae73f6
rm debounce on write-triggered refresh
jakedoublev f1d2fbb
Merge branch 'main' into feat/authz-v2-cache-policy
jakedoublev 5abe1fa
Merge branch 'main' into feat/authz-v2-cache-policy
jakedoublev ffa528c
rm mutation cache refreshes
jakedoublev e18c04a
disable caching by default
jakedoublev 0103264
fixes
jakedoublev f0a56a6
ensure close is called to shut down db clients and caches
jakedoublev 184cfff
lint fixes
jakedoublev f864a33
lint fixes
jakedoublev 07d6849
Merge remote-tracking branch 'origin' into feat/authz-v2-cache-policy
jakedoublev a1f8ac6
ristretto cache/go-cache implementation
jakedoublev b7cd66c
lint fix
jakedoublev 57873d8
fix shutdown panic
jakedoublev 2253bf5
feat(authz): cache entitlement policy in auth service v2
jakedoublev 1441506
update documented config
jakedoublev a275978
rm extraneous panic
jakedoublev f9b7618
lint fix
jakedoublev a554eda
lint fixes
jakedoublev 4e178d3
rm extraneous log
jakedoublev 7171195
Merge branch 'main' into feat/authz-v2-cache-authz
jakedoublev 8434881
cache ERS responses
jakedoublev 8178db9
Merge remote-tracking branch 'origin' into feat/authz-v2-cache-authz
jakedoublev 67890ea
sample configs
jakedoublev 040ea89
Merge remote-tracking branch 'origin' into feat/authz-v2-cache-authz
jakedoublev 5d0e8e2
auth config
jakedoublev 0715924
Merge remote-tracking branch 'origin' into feat/DSPX-1268-cache
jakedoublev 7682258
checkpoint consuming new cache implementation
jakedoublev 5f6ff8b
restore policy config
jakedoublev fd53190
checkpoint no generics
jakedoublev b01c4b9
Merge branch 'main' into feat/DSPX-1268-cache
jakedoublev a006315
rm caching from ERS
jakedoublev 21ffa7c
Merge remote-tracking branch 'origin' into feat/DSPX-1268-cache
jakedoublev 7a9b5dc
cleanup
jakedoublev 258c27d
example configs
jakedoublev 11391ea
lint fix
jakedoublev fac5e87
comment
jakedoublev e6265be
improvements
jakedoublev a3d8af4
Merge remote-tracking branch 'origin' into feat/DSPX-1268-cache
jakedoublev a858d95
Merge remote-tracking branch 'origin' into feat/DSPX-1268-cache
jakedoublev b09fda6
working
jakedoublev 1ac03ef
do not log request containing entity identifier
jakedoublev d3a1160
tweaks
jakedoublev b1071e8
cleanup
jakedoublev 91e491e
tweaks
jakedoublev 455a155
working caching without services started hook
jakedoublev c3a0f28
rm deprecated services started hook
jakedoublev b25b50c
put back extra lines
jakedoublev 1a179f5
put back extra lines
jakedoublev c4a9686
cleanup
jakedoublev a70e401
fill cache on first call if it's empty
jakedoublev e350d71
cleanup
jakedoublev d402fb4
put attributes back
jakedoublev facda6d
suggestion
jakedoublev bc41811
Merge remote-tracking branch 'origin' into feat/DSPX-1268-cache
jakedoublev ffc4ffe
cache behavior suggestion
jakedoublev bae127d
unit tests WIP
jakedoublev a746029
Merge remote-tracking branch 'origin' into feat/DSPX-1268-cache
jakedoublev 2f19fa4
cache initialization improvement
jakedoublev 557fdd0
sanity check authz cache tests
jakedoublev 65c268f
lint fixes
jakedoublev 80aaad2
feedback on expiry of test cache
jakedoublev 7813c8b
restructure config and more tests
jakedoublev d546a61
lint fixes
jakedoublev 7295181
lint fixes
jakedoublev 8ec4d27
Merge remote-tracking branch 'origin' into feat/DSPX-1268-cache
jakedoublev dad639b
Merge remote-tracking branch 'origin' into feat/DSPX-1268-cache
jakedoublev 1dcd7f8
lint fix
jakedoublev 984329c
fix test flake
jakedoublev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.