Commit Graph

399 Commits

Author SHA1 Message Date
Mark Paluch
98246380f2 DATACOUCH-292 - Prepare 3.0 M3 (Kay). 2017-05-09 11:22:12 +02:00
Mark Paluch
a38661e455 DATACOUCH-292 - Updated changelog. 2017-05-09 11:22:11 +02:00
Oliver Gierke
22205678ef DATACOUCH-305 - Adapt to API changes in repository interfaces. 2017-05-03 17:48:06 +02:00
Mark Paluch
78bfd771b1 DATACOUCH-304 - Remove support for JodaTime's deprecated DateMidnight.
Related ticket: DATACMNS-1014.
2017-05-03 10:08:07 +02:00
Subhashni Balakrishnan
fc88b82328 DATACOUCH-147 - Allow to convert Date to ISO-8601 compliant strings
instead of long

Using the system property
org.springframework.data.couchbase.useISOStringConverterForDate the
conversion can be enabled so this doesn't break backward compatibility

Original pull request: #143.
2017-05-01 14:11:55 -07:00
Mark Paluch
e273152013 DATACOUCH-293 - Adopt SimpleReactiveCouchbaseRepository.findOne(…) to Reactor 3.1.
Adapt to API changes, missed this one in the previous change.

Related ticket: spring-projects/spring-data-build#333
2017-04-26 17:14:17 +02:00
Mark Paluch
19f7597dc0 DATACOUCH-302 - Adapt to moved CustomConversions to Spring Data Commons.
Introduce CassandraCustomConversions extending o.s.d.convert.CustomConversions.

Remove o.s.d.couchbase.core.convert.CouchbaseCustomConversions implementation and utility classes, extend CouchbaseCustomConversions. Replace references to o.s.d.c.c.c.CustomConversions with o.s.d.convert.CustomConversions. Adapt tests and MappingCouchbaseConverter to CouchbaseCustomConversions.

Related ticket: DATACMNS-1035.
2017-04-24 10:20:32 +02:00
Oliver Gierke
8e1baaa017 DATACOUCH-298 - Updated changelog. 2017-04-19 21:04:24 +02:00
Oliver Gierke
8b731733ab DATACOUCH-297 - Updated changelog. 2017-04-19 20:01:51 +02:00
Oliver Gierke
31aa0214b8 DATACOUCH-284 - Updated changelog. 2017-04-19 13:04:13 +02:00
Oliver Gierke
9d73a81e86 DATACOUCH-283 - Updated changelog. 2017-04-19 11:50:53 +02:00
Subhashni Balakrishnan
ffb6ab8ff3 DATACOUCH-294 Fix failing N1ql unit tests due to changes in commons 2017-04-12 16:58:19 -07:00
Subhashni Balakrishnan
069ceea65c DATACOUCH-275 Key auto generation using Attributes, UUID
Original pull request: #142.
2017-04-12 14:38:21 -07:00
Mark Paluch
766e4eeebd DATACOUCH-293 - Polishing.
Replace references to Assert single-arg methods with references to methods accepting the test object and message.
2017-04-12 15:04:01 +02:00
Mark Paluch
3ecc2cf6cb DATACOUCH-293 - Adapt to API changes in Reactor 3.1.
Related ticket: spring-projects/spring-data-build#333
2017-04-12 15:02:54 +02:00
Subhashni Balakrishnan
03bb6372c7 DATACOUCH-276 Dont escape the order by property as a whole
Escape each nested level and concatenate with a period

Original pull request: #141.
2017-04-11 16:17:13 -07:00
Subhashni Balakrishnan
620586af3b DATACOUCH-90 Polishing
Add modified couchbase specific jsr310 converters which converts to
number formats instead of date objects which cannot be handled by the
client.

Original pull request: #139.
2017-04-11 16:17:13 -07:00
Subhashni Balakrishnan
de4e02cedb DATACOUCH-90 - Add commons Jsr310 converters to support Java 8 date/time
Original pull request: #139.
2017-04-10 11:50:15 -07:00
Subhashni Balakrishnan
4cca923c59 DATACOUCH-290 - Upgrade to java-client 2.4.4
Original pull request: #136.
2017-04-10 11:33:02 -07:00
Oliver Gierke
f86bbe03ab DATACOUCH-271 - Updated changelog. 2017-04-10 14:27:55 +02:00
Alexander Derkach
6429dca5e6 DATACOUCH-287 - Add CAS operations to RxJavaCouchbaseOperations.
Original pull request: #135.
2017-04-06 06:57:53 -07:00
Oliver Gierke
49045b031c DATACOUCH-259 - After release cleanups. 2017-04-04 22:08:19 +02:00
Oliver Gierke
eb5c1934ad DATACOUCH-259 - Prepare next development iteration. 2017-04-04 22:08:16 +02:00
Oliver Gierke
87e81e172e DATACOUCH-259 - Release version 3.0 M2 (Kay). 2017-04-04 21:12:36 +02:00
Oliver Gierke
28159aedef DATACOUCH-259 - Prepare 3.0 M2 (Kay). 2017-04-04 21:12:03 +02:00
Oliver Gierke
7ba9b3c98f DATACOUCH-259 - Updated changelog. 2017-04-04 21:12:00 +02:00
Mark Paluch
dc0f552841 DATACOUCH-289 - Adapt to API changes in RepositoryConfigurationExtensionSupport. 2017-03-27 09:41:19 +02:00
Oliver Gierke
1fc4a05f37 DATACOUCH-273 - Adapt API changes after upgrade to Mockito 2.7. 2017-03-24 09:57:13 +01:00
Mark Paluch
439ab14131 DATACOUCH-273 - Adapt to API changes in Spring Data Commons. 2017-03-24 09:57:13 +01:00
Mark Paluch
141dbefd3d DATACOUCH-273 - Integrate Data Commons Java 8 upgrade branch.
Replace PersistentEntity.doWithProperties(…) and .doWithAssociations(…) with stream processing using PersistentEntity.getPersistentProperties() and PersistentEntity.getAssociations().
2017-03-24 09:57:13 +01:00
Oliver Gierke
b1e619fec0 DATACOUCH-272 - Updated changelog. 2017-03-02 11:11:08 +01:00
Subhashni Balakrishnan
1c33ccc4c8 DATACOUCH-279 - Re-add AbstractCouchbaseDataConfiguration
Motivation
----------
AbstractCouchbaseDataConfiguration was removed and
AbstractCouchbaseConfiguration was made the only configuration support
which implemented CouchbaseConfigurer. This broke integration with
Spring boot as they used CouchbaseConfigurer to auto configure client
initialization properties.

Changes
-------
Bring back support for AbstractCouchbaseDataConfiguration which allows the use
of CouchbaseConfigurer. Also added a similar configuration support for reactive
data repositories. Common beans between reactive and blocking are implemented
in CouchbaseConfigurationSupport class. The existing tests in
AbstractCouchbaseDataConfigurationTest does test this scenario. However the
previous commit had also changed the test because of the unawareness of spring
boot integration.

Results
-------
It is now possible to configure SDC with CouchbaseConfigurer instead of
only having to extend from AbstractCouchbaseConfiguration.
2017-02-07 10:15:00 +01:00
Subhashni Balakrishnan
c26053868c DATACOUCH-265 - Verify entity filter is not added, if n1ql.filter is not in query
Original pull request: #128.
2017-02-05 13:08:38 -08:00
Subhashni Balakrishnan
5d36ecc12b DATACOUCH-265 - Support pageable and sort for String based SpEL queries
Original pull request: #128.
2017-02-05 13:08:38 -08:00
Subhashni Balakrishnan
162d8124ab DATACOUCH-260 - Update to 2.4.1 and fix tests
Adapted changes to 3.0 branch

Original pull request: #131.
2017-02-05 13:08:38 -08:00
Ben Madore
8733ea3cf5 DATACOUCH-278 - Correct table reference in repository documentation
You refer to table 1 - which is the first table in THIS adoc file, but you only
generate a single-page html file, so it, in fact is displayed as table 3.

Original pull request: #129.
2017-02-05 13:08:30 -08:00
Subhashni Balakrishnan
d9510dc158 DATACOUCH-146 - Use only last emission to create a Mono for delete collection
Original pull request: #130.
2017-02-05 10:35:11 -08:00
Subhashni Balakrishnan
d62f4bbe8c DATACOUCH-146 - Reactive repositories support
- Adds experimental support for reactor types in reactive CRUD and Sorting
  repositories using RxJava1Template
- Refactor configuration and query classes to be reusable by reactive repositories

Original pull request: #130.
2017-02-05 10:34:57 -08:00
Mark Paluch
56b3842ac1 DATACOUCH-274 - Remove references to Assert single-arg methods.
Replace references to Assert single-arg methods with references to methods accepting the test object and message.

Related ticket: SPR-15196.
2017-02-01 13:14:35 +01:00
Oliver Gierke
65f2eab6c0 DATACOUCH-266 - Updated changelog. 2017-01-26 12:12:39 +01:00
Oliver Gierke
30d4d86fde DATACOUCH-267 - Updated changelog. 2017-01-26 12:12:10 +01:00
Mark Paluch
0aa3a32e16 DATACOUCH-270 - Update project documentation with the CLA tool integration. 2017-01-13 11:32:43 +01:00
Oliver Gierke
88f33b43fc DATACOUCH-254 - Updated changelog. 2016-12-21 19:35:41 +01:00
Oliver Gierke
31d8b603ab DATACOUCH-238 - Updated changelog. 2016-12-21 18:43:08 +01:00
Subhashni Balakrishnan
b52dee3a3c DATACOUCH-251 - Wrap base where criteria with parenthesis for OR expressions.
Base criteria for the query should be wrapped before adding the entity filter criteria so the priority of filtering is clear.
2016-12-20 10:57:47 +01:00
Oliver Gierke
ce8dd97d66 DATACOUCH-262 - Adapt API in CouchbaseRepositoryFactoryBean.
Related ticket: DATACMNS-891.
2016-12-15 16:21:27 +01:00
Mark Paluch
810134d416 DATACOUCH-261 - Register CouchbaseRepositoryFactory in spring.factories.
This is required for the switch in support for multi-store detection.

Related ticket: DATACMNS-952.
2016-12-06 09:04:56 +01:00
Oliver Gierke
610a6e51d2 DATACOUCH-246 - Polishing.
Removed the dynamic return type obtained from the ResultProcessor held in a query implementation field as this breaks thread safety. We now hand the type to read into the execution methods.

Adapted test cases accordingly and removed a bit of mocking.

Original pull request: #122.
2016-12-02 18:04:15 +01:00
Subhashni Balakrishnan
ce356f827f DATACOUCH-246 - Projections support for query derivation.
Used the result processor projecting information to just fetch the selected fields and again to post process results to projection object/interfaces.

Added test for projection using DTO.

Original pull request: #122.
2016-12-02 18:04:12 +01:00
Oliver Gierke
c8324caf7f DATACOUCH-255 - After release cleanups. 2016-11-23 10:59:11 +01:00