-
Notifications
You must be signed in to change notification settings - Fork 191
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
Remove unlimited collections from the repository API #496
Merged
Merged
Changes from 32 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
0dde869
Started to get rid of unlimited collections
kaizimmerm d689140
Align API usage.
kaizimmerm 6e7d12a
Merge branch 'master' of local repository into fix_memory_repo
kaizimmerm 943d8be
fix compile issues.
kaizimmerm fb8f4a9
Fix tests.
kaizimmerm 2824981
Remove comments
kaizimmerm fb807c2
Performance optimizations.
kaizimmerm c725279
Remove dead code.
kaizimmerm 88201e7
Merge branch 'master' into fix_memory_repo
kaizimmerm d9e63ba
Merge branch 'master' into fix_memory_repo
kaizimmerm 7846baf
Allign method names
kaizimmerm f3c3d0a
Wait until the action update event is processed
MelleD d003910
Started new tag APIs
kaizimmerm bdb5b0a
Merge branch 'master' into fix_memory_repo
kaizimmerm 9739106
Quotas into central interface. Tag tests added. Event names fixed.
kaizimmerm 5455c3a
Simplified consumer run for every tenant.
kaizimmerm 709b4aa
remove unused fields.
kaizimmerm c41640d
Alligned beans.
kaizimmerm 7c1d89f
Deprecated client methods for old resources.
kaizimmerm 34f0bef
Fix new foreach method.
kaizimmerm 99cae2f
Fix transaction for foreach.
kaizimmerm 4310145
Extended DS creating to handle larger volumes. Fix on Readme.
kaizimmerm eed965e
Fixed simulator bug and cleaned up tests.
kaizimmerm 058a725
Merge branch 'master' into fix_memory_repo
kaizimmerm c4c0126
Merge branch 'master' into fix_memory_repo
kaizimmerm 0088564
Fix in sorting.
kaizimmerm fe2770f
Remove configuration processor.
kaizimmerm 38536d4
Fix wrong usage of sanitize.
kaizimmerm 23e2bfc
Missing brackets.
kaizimmerm 1b610ec
Fix README API compatability.
kaizimmerm 972f1d2
Merge branch 'master' into fix_memory_repo
kaizimmerm 22a66ab
Fix misinterpretation of pessimistic locking exceptions.
kaizimmerm 693eede
Fix stability sentence.
kaizimmerm 5f4be69
Merge branch 'master' into fix_memory_repo
kaizimmerm 53ded7f
Code cleanup.
kaizimmerm e513fdd
Fixed page calculation
kaizimmerm 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 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The page calculation is broken when you slightly exceed the page size. For example: 506 or 501 distribution sets will result in a page size of 1 so in the end this code creates only 500 entities and not the expected amount.
Same happens to the other entities e.g. targets so I won't comment it there as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid it is still broken. Use
BigDecimal
instead if int or float for the calculation.Example:
new BigDecimal(1002).divide(new BigDecimal(500), BigDecimal.ROUND_UP)
=> 3