Mark Paluch
cb2fe05f44
Polishing.
...
Reformat code.
See #3998
4 years ago
Mark Paluch
7ce21431a9
Create a new conversion context for projection properties.
...
We now create a new conversion context to ensure that we use the correct property type to avoid type retention when mapping complex objects within a projection.
Closes #3998
4 years ago
Mark Paluch
451d996ae0
Use Java 8 to build snapshots for Artifactory.
...
Closes #3976
4 years ago
Mark Paluch
391d5101d8
Polishing.
...
Add missing Override annotations to template API methods.
See #3984
4 years ago
Mark Paluch
fda07d9999
Polishing.
...
Extract CreateCollectionOptions conversion to EntityOperations to unify collection creation. Adopt tests.
See #3984
Original pull request: #3990 .
4 years ago
Christoph Strobl
2bb8643d1b
Propagate time series options correctly.
...
This commit fixes an issue when creating a collection via MongoTemplate without passing on type information. In this case potential time series information was lost.
Closes #3984
Original pull request: #3990 .
4 years ago
Mark Paluch
8de07fc3ac
Polishing.
...
Reorder methods. Add links to Javadoc. Tweak wording.
See: #3522
Original pull request: #3951 .
4 years ago
Christoph Strobl
f774e35af2
Allow to estimate document count.
...
This commit introduce an option that allows users to opt in on using estimatedDocumentCount instead of countDocuments in case the used filter query is empty.
To still be able to retrieve the exact number of matching documents we also introduced MongoTemplate#exactCount.
Closes : #3522
Original pull request: #3951 .
4 years ago
Christoph Strobl
0a95fd9868
Modify visibility of methods in TypedJsonSchemaObject.
...
Change visibility to public as it should have been in first place.
Closes : #3989
4 years ago
sangyongchoi
49e6d53641
Remove duplicate condition in GeoConverters.
...
Closes : #3981
4 years ago
Mark Paluch
7a24dcfdd6
Update CI properties.
...
See #3973
4 years ago
Mark Paluch
41d5bba130
Upgrade to Maven Wrapper 3.8.4.
...
See #3979
4 years ago
Mark Paluch
7332a6dfe8
Polishing.
...
Externalize artifactory credentials identifier.
See #3976
4 years ago
Mark Paluch
bd673fc8b3
Use Java 17 to build snapshots for Artifactory.
...
Closes #3976
4 years ago
Mark Paluch
3d697a1752
After release cleanups.
...
See #3939
4 years ago
Mark Paluch
d3e4ddc37a
Prepare next development iteration.
...
See #3939
4 years ago
Mark Paluch
182536981a
Release version 3.4 M3 (2021.2.0).
...
See #3939
4 years ago
Mark Paluch
929a2d5984
Prepare 3.4 M3 (2021.2.0).
...
See #3939
4 years ago
Christoph Strobl
d32c01c92f
Serialize values for debug output safely in AbstractMongoEventListener.
...
We now make sure that codec configuration will not cause an exception when debug logging is turned on.
Resolves : #3968
Original Pull Request: #3970
4 years ago
Christoph Strobl
c52d7a8c4f
Update copyright year to 2022.
...
See: #3966
4 years ago
Christoph Strobl
a6bd0fcea7
Introduce Update annotation.
...
Switch update execution to an annotation based model that allows usage of both the classic update as well as the aggregation pipeline variant. Add the reactive variant of it.
Make sure to allow parameter binding for update expressions and verify method return types.
Update Javadoc and reference documentation.
See: #2107
Original Pull Request: #284
4 years ago
Thomas Darimont
6e3e8210d0
Add support for modifying documents via repository method.
...
We now support findAndModify operations on derived query methods.
Closes : #2107
Original Pull Request: #284
4 years ago
Oliver Drotbohm
c0718662d5
Adapt to changes in entity creation metadata APIs in Spring Data Commons.
4 years ago
Christoph Strobl
62bf12833e
Deprecate mapReduce.
...
Closes : #3945
4 years ago
blu10ph
d4dc13894a
Avoid obtaining mapped sort multiple times for mapReduce.
...
Apply already mapped sort for map reduce instead of running the source document through the mapping layer again.
Closes : #3960
4 years ago
Christoph Strobl
830fad957e
Upgrade to MongoDB driver 4.5.0
...
Closes : #3962
4 years ago
Christoph Strobl
ed41116da1
Favor Base64Utils over bson internal Base64 type.
...
org.bson.internal.Base64 is no longer available in MongoDB driver 4.5.0.
Related to: #3962
4 years ago
Christoph Strobl
bc027be665
Update GeoJson section in reference documentation.
...
Mention the relation of Point/GeoJsonPoint x/y coordinates to longitude/latitude.
Original Pull Request: #3956
4 years ago
sangyongchoi
b98a7063ee
Update GeoJsonPoint Javadoc.
...
Mention x -> longitude, y -> latitude relation.
Closes : #3956
4 years ago
Christoph Strobl
cb441d5b6c
Upgrade to MongoDB driver 4.4.2.
...
Closes : #3958
4 years ago
Greg L. Turnquist
b789d0fc67
Use Harbor Proxy for containers.
...
Leverage internal infrastructure for pulling Docker container images. Reduces pressure on Docker Hub and reduces risk of hitting rate limits.
Closes #3954 .
4 years ago
Mark Paluch
29c90d65af
Polishing.
...
Extract docker credentials into properties file.
Use tabs for indentation instead of spaces.
See #3949
4 years ago
Mihail Cornescu
423e10b7bc
Add IgnoreCase to repository queries documentation.
...
Update reference documentaion and add missing IgnoreCase keyword.
Closes : #3916
Original Pull Request: #3950
4 years ago
Greg L. Turnquist
f62feac421
Externalize build properties.
...
By reading a properties file from an external location, it is possible to inject a consistent set of properties from Spring Data Build. This also supports repeatable builds.
Closes #3949 .
4 years ago
Christoph Strobl
bcbefa9264
Support aggregation operators $first and $last via expression method reference.
...
This commit registers the first(...) and last(...) methods for transformation via SpEL.
Also update reference and java documentation and add issue reference to tests.
Original Pull Request: #3866
4 years ago
Divya Srivastava
a2243536b2
Add support for $first & $last aggregation operators.
...
Closes : #3694
Original Pull Request: #3866
4 years ago
Christoph Strobl
a36e292158
Update aggregation StringOperators documentation.
...
Update reference and java documentation.
Add issue reference to tests.
Align method names and format code.
Original Pull Request: #3861
4 years ago
Divya Srivastava
494c22b192
Add support for $replaceOne & $replaceAll aggregation operators.
...
Closes : #3695
Original Pull Request: #3861
4 years ago
Christoph Strobl
030f12023c
Support aggregation operators $acos and $acosh via expression method reference.
...
This commit registers the acos(...) and acosh(...) methods for transformation via SpEL.
Original Pull Request: #3858
4 years ago
Christoph Strobl
31f640a398
Polishing.
...
Update java doc and add issue references to tests.
Original Pull Request: #3858
4 years ago
Divya Srivastava
54f098a906
Add support for $acos & $acosh aggregation operators.
...
Resolves : #3707
Original Pull Request: #3858
4 years ago
Christoph Strobl
885d05965b
Revert query modification in json parsing tests.
...
Add tests and move json string treatment into the ParameterBindingDocumentCodec.
Finally add issue references and format code.
Original Pull Request: #3907
4 years ago
rolag-it
a8a0fb5dba
Fix expression defining entire query in annotated repository methods.
...
This fix enables defining an entire JSON-based query in Query and Aggregate annotations using a single parameter or SpEL Expression.
Resolves : #3871
Original Pull Request: #3907
4 years ago
Christoph Strobl
67edae8602
After release cleanups.
...
See #3936
4 years ago
Christoph Strobl
249e7746d5
Prepare next development iteration.
...
See #3936
4 years ago
Christoph Strobl
6a979088b5
Release version 3.4 M2 (2021.2.0).
...
See #3936
4 years ago
Christoph Strobl
fca629c117
Prepare 3.4 M2 (2021.2.0).
...
See #3936
4 years ago
Mark Paluch
dfbd1bded5
Polishing.
...
Run mvnw -version command in Artifactory build to display Java version.
See #3882
4 years ago
Christoph Strobl
f9e98669b9
After release cleanups.
...
See #3882
4 years ago
Christoph Strobl
96d4abdf24
Prepare next development iteration.
...
See #3882
4 years ago