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
Christoph Strobl
23442ef639
Release version 3.4 M1 (2021.2.0).
...
See #3882
4 years ago
Christoph Strobl
01b571dec9
Prepare 3.4 M1 (2021.2.0).
...
See #3882
4 years ago
Christoph Strobl
04ec49eb9e
Avoid schema keyId uuid representation errors.
...
To avoid driver configuration specific UUID representation format errors (binary subtype 3 vs. subtype 4) we now directly convert the given key into its subtype 4 format.
Resolves : #3929
Original pull request: #3931 .
4 years ago
Mark Paluch
d61cf8f57e
Polishing.
...
Simplify assertions, reformat code.
See #3921
Original pull request: #3930 .
4 years ago
Christoph Strobl
50a12121f2
Use index instead of iterator to map position and map keys for updates.
...
This commit removes usage of the iterator and replaces map key and positional parameter mappings with an index based token lookup.
Closes #3921
Original pull request: #3930 .
4 years ago
Mark Paluch
998bd1f9bb
Polishing.
...
Reformat code. Tweak documentation wording and callout syntax.
See #3914 , see #3901
Original pull request: #3915 .
4 years ago
Christoph Strobl
e0a57fa19b
Avoid creating invalid index definitions for Map-like properties.
...
This commit makes sure to exclude Map like structures from index inspection unless annotated with WilcardIndexed.
Closes #3914 , closes #3901
Original pull request: #3915 .
4 years ago
Mark Paluch
9c78802c47
Polishing.
...
Add author tags, extend copyright license years, simplify tests.
See #3892
4 years ago
rolag-it
a958ffb5c8
Fix pagination with reactive fluent Querydsl query definition.
...
Pageable object was not passed to Query, so fetchPage retrieved erroneously the whole dataset as Page content.
Closes #3892
4 years ago
Hett
c31872d979
Avoid double call of fetch method in DefaultReferenceResolver.
...
This commit fixes an issue where the fetch method is called twice when looking up singe value references.
Resolves : #3918
Original Pull Request: #3919
4 years ago
Mark Paluch
212509f56a
Upgrade to MongoDB driver 4.4.1.
...
Closes #3926
4 years ago
Mark Paluch
b348bb6679
Adopt to Mockito changes.
...
Closes #3923
4 years ago
Christoph Strobl
8be5dd3909
Adapt to changes in data-commons.
...
See: spring-projects/spring-data-commons#2514
Related to: #3894
4 years ago
Christoph Strobl
f2c4370584
Fix meta field mapping when computing fields for projections.
...
Related to: #3894
4 years ago
Christoph Strobl
fdff74f7b5
Polishing.
...
Add tests for projections on dbref properties update java- and reference documentation.
Original Pull Request: #3894
4 years ago
Mark Paluch
0070b12f95
Add general support for direct projections.
...
Closes : #3894
4 years ago
Mark Paluch
bafc2bebf2
Polishing.
...
Tweak Javadoc.
See #3898
Original pull request: #3904 .
4 years ago
Christoph Strobl
7146fb33e9
Fix field inclusion in aggregation project operation.
...
Closes #3898
Original pull request: #3904 .
4 years ago
Mark Paluch
75999d9e36
Propagate Bean `ClassLoader` to `MongoTypeMapper`.
...
We now set the ClassLoader from the ApplicationContext to the type mapper to ensure the type mapper has access to entities. Previously, `SimpleTypeInformationMapper` used the contextual class loader and that failed in Fork/Join-Pool threads such as parallel streams as ForkJoinPool uses the system classloader. Running e.g. a packaged Boot application sets up an application ClassLoader that has access to packaged code while the system ClassLoader does not.
Also, consistently access the MongoTypeMapper through its getter.
Closes #3905
4 years ago
John Blum
7a64025669
Edit README.
...
Fix punctation, change wording and correct case in build from source section.
4 years ago