-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Add Cosmos db manual session token management #37027
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
+2,998
−100
Merged
Changes from 19 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
2853acc
WIP
JoasE e374631
Wip: merge session tokens
JoasE f295ce9
WIP..
JoasE ad8d930
Make Client responsible
JoasE 3a3a510
add todo
JoasE 691aa79
Cleanup and small improvements
JoasE c4a9977
Cleanup and small improvements
JoasE ac5ca96
Add option ManualSessionTokenManagementEnabled
JoasE 6f84317
fix no etag sessiontoken match
JoasE 64ab888
Add some testcases
JoasE dadc58b
Cleanup
JoasE 57f1f37
Add todo
JoasE fc8a580
Fix empty tokens
JoasE 364d0f4
Rename var
JoasE c9890e1
Remove some todos
JoasE 255bbe2
Move to non-parsing session token management
JoasE 87e0dfd
Revert "Add option ManualSessionTokenManagementEnabled"
JoasE df5809e
Cleanup
JoasE 2c29285
Cleanup
JoasE 77a81a3
Add tests for pr comment changes (pooling and query compilation vs ex…
JoasE 81e137c
Clear session token storage on reset
JoasE 0c62cee
Store session token storage in query context instead of compilation c…
JoasE 5c80637
Add todo
JoasE 1f8d6a9
Move to non-parsing but only composing session tokens
JoasE e729af3
Readd option ManualSessionTokenManagementEnabled
JoasE 9974e8f
Move container checks to extension method and other small improvement…
JoasE 017ffc7
Cleanup
JoasE 0342b9c
Fix make public api virtual
JoasE 8bd06b4
Cleanup & don't return null values in dictionary
JoasE 34eeeea
WIP
JoasE e0b9ced
Improve tests and sessiontokenstorage
JoasE 7f4105b
Use cosmos strings
JoasE 20c2f1e
Add tests and fix cases
JoasE 7427a65
Do not use automatic session tokens for manual mode if not provided.
JoasE 8d46fed
Cleanup
JoasE 9f4b366
Merge branch 'main' of https://github.com/JoasE/efcore into feature/#…
JoasE 2ea28cb
Cleanup
JoasE 96937a9
Remove debug only test
JoasE b51c633
Remove test grouping comments
JoasE 3d1be8c
Fix sloppy mistake const string exception message
JoasE 55c36fd
Do not cache default container name in SessionTokenStorageFactory and…
JoasE 4871811
Remove unused parameter from old code
JoasE e6f13ec
Move method
JoasE b2fd34b
Update docs to use links
JoasE 48b5232
Update docs on SessionTokenManagementMode
JoasE 25a9d8c
Update cosmos strings
JoasE 83a16bd
Add test read item throws instead of returning null for session not f…
JoasE 907b6b3
Fix typo
JoasE 2562436
Do not use exception flow for document not found
JoasE c4eeae1
Move back to private fields for _defaultContainerName and _mode inSes…
JoasE bc47d4f
Simplify and improve performance of container name checks SessionToke…
JoasE c850c70
Add test for multiple contexts
JoasE 3e30298
Check if default container exists in SessionTokenStorage
JoasE a8f4e7c
Allow null or 0 subStatusCode for NotFound document
JoasE 27d1c2e
Use shared fixture where possible
JoasE f79c642
Cache model metadata per model in SessionTokenStorageFactory
JoasE 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.