-
Notifications
You must be signed in to change notification settings - Fork 24
feat(policy): limit/offset throughout LIST service RPCs/db #1669
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
62 commits
Select commit
Hold shift + click to select a range
9337910
feat(policy): limit/offset throughout LIST RPCs/db
jakedoublev 6c35f18
protos limit/offset
jakedoublev 727fa85
Revert "feat(policy): limit/offset throughout LIST RPCs/db"
jakedoublev 850b26e
update sqlc queries with limit/offset
jakedoublev 18edecc
put back
jakedoublev 69e74ac
Merge branch 'feat/limit-offset' into feat/limit-offset-svc
jakedoublev fd05a46
default policy object list count
jakedoublev 1c7cdb1
cleanup and ensure attribute protos included
jakedoublev 68b7c31
Merge branch 'feat/limit-offset' into feat/limit-offset-svc
jakedoublev 42ec2ba
use sqlc named params for LIST queries in db layer to allow build
jakedoublev 1f4eeb5
add next_offset to protos
jakedoublev 3813980
response proto pagination fields
jakedoublev 6720ae5
Merge branch 'main' into feat/limit-offset
jakedoublev c608cd2
Merge branch 'feat/limit-offset' into feat/limit-offset-svc
jakedoublev a3f393a
DRY up list proto pagination
jakedoublev 4cbddc8
Merge branch 'feat/limit-offset' into feat/limit-offset-svc
jakedoublev 0c1ca0f
request pagination from service to DB
jakedoublev 792c567
update signatures to take in list requests to db handlers with pagina…
jakedoublev 23c9330
get total within SQL
jakedoublev 07c0031
kasr list db handlers with next offset, total, current offset
jakedoublev b0ce1eb
handle total/nextOffset throughout list responses
jakedoublev 29c6e1b
cleanup and listAll functionality
jakedoublev 4a0080a
do not expose db states outside db package, update integration tests,…
jakedoublev 782dfbd
tests will at least run
jakedoublev bbab4ea
tests all pass but are ineffective
jakedoublev a3e2be3
deprecate leftover members fixture struct type
jakedoublev 2c50983
ensure list all actually lists all state objects
jakedoublev d50e69e
rm unnecessary group by
jakedoublev f9a81fe
values pagination integration tests
jakedoublev f77affd
tests
jakedoublev 89a8422
add config and docs for policy default limit and max
jakedoublev 8bd713e
update key of policy config
jakedoublev 6e992cd
list limit/max read into policy services' config
jakedoublev 1f4331f
handle max limit validation in services
jakedoublev cfcba52
finish reading configured default/max into tests, fixtures, and db li…
jakedoublev 2b17fb3
fix the reindex cmd
jakedoublev 9a198a5
put back config docs autofmt
jakedoublev 87705d1
push list limit validation down into db layer
jakedoublev 45f829b
cleanup
jakedoublev 04e638d
improve validation and panic errors for policy config
jakedoublev f7e2d9d
working tests
jakedoublev e13430d
max limit tests
jakedoublev 551e711
wrap tests
jakedoublev 6f36824
Merge branch 'main' into feat/limit-offset
jakedoublev d0bde6d
Merge branch 'feat/limit-offset' into feat/limit-offset-svc
jakedoublev e94eba9
lint fixes
jakedoublev 2287a25
fix proto comments
jakedoublev dd5e012
Merge branch 'feat/limit-offset' into feat/limit-offset-svc
jakedoublev 23c365a
Merge branch 'main' into feat/limit-offset
jakedoublev b9d8142
Merge branch 'feat/limit-offset' into feat/limit-offset-svc
jakedoublev bf7f694
bump protocol/go
jakedoublev ac0c73f
Merge branch 'main' into feat/limit-offset-svc
jakedoublev ecf9402
merge conflict
jakedoublev be8c6a9
Merge branch 'main' into feat/limit-offset-svc
jakedoublev 22561d8
Merge branch 'main' into feat/limit-offset-svc
jakedoublev 81cfc17
Merge branch 'main' into feat/limit-offset-svc
jakedoublev 8f2a9e9
Merge branch 'main' into feat/limit-offset-svc
jakedoublev f2fafe2
Merge branch 'main' into feat/limit-offset-svc
jakedoublev 7d97117
Merge branch 'main' into feat/limit-offset-svc
jakedoublev 534fdd8
Merge branch 'main' into feat/limit-offset-svc
jakedoublev 316dddb
Merge branch 'main' into feat/limit-offset-svc
jakedoublev 3a5bcaa
fix missed type change
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
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.