-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add KiwiSpringMongoQueries #415
Labels
new feature
A new feature such as a new class, method, package, group of classes, etc.
Milestone
Comments
sleberknight
added
the
new feature
A new feature such as a new class, method, package, group of classes, etc.
label
Nov 6, 2020
Note this depends on #416 |
sleberknight
added a commit
that referenced
this issue
Nov 24, 2020
* Add KiwiSpringMongoQueries which contains static utilities * Add PagingQuery and companion class AggregateResult * Marked PagingQuery#aggregatePage and AggregateResult with the @beta annotation and put all kinds of caveats and potential issues in the docs. * Note that the KiwiSpringMongoQueriesTest uses the in-memory de.bwaldvogel.mongo.MongoServer while PagingQueryAggregatePageTest requires a "real" MongoDB instance to run. For whatever reason the in-memory MongoServer blows up with an NPE during the aggregation and I don't know if the fault is with it or with our code. So, for now the test only runs if several system properties are set that tell it to use a "real" MongoDB and where that server is running. Fixes #415 Fixes #416
chrisrohr
added a commit
that referenced
this issue
Nov 24, 2020
* Add Spring Data MongoDB querying utilities * Add KiwiSpringMongoQueries which contains static utilities * Add PagingQuery and companion class AggregateResult * Marked PagingQuery#aggregatePage and AggregateResult with the @beta annotation and put all kinds of caveats and potential issues in the docs. * Note that the KiwiSpringMongoQueriesTest uses the in-memory de.bwaldvogel.mongo.MongoServer while PagingQueryAggregatePageTest requires a "real" MongoDB instance to run. For whatever reason the in-memory MongoServer blows up with an NPE during the aggregation and I don't know if the fault is with it or with our code. So, for now the test only runs if several system properties are set that tell it to use a "real" MongoDB and where that server is running. Fixes #415 Fixes #416 * Exclude PagingQuery from Sonar code coverage * Exclude PagingQuery from Sonar code coverage, second try * Update AggregateResultTest.java Co-authored-by: Chris Rohr <51920+chrisrohr@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Contains static utilities for adding criteria to Spring Data MongoDB queries.
Formerly named
MongoQuery
. Rename toKiwiSpringMongoQueries
.The text was updated successfully, but these errors were encountered: