Commit Graph

353 Commits

Author SHA1 Message Date
Subhashni Balakrishnan
9840acd2c6 DATACOUCH-384 - Apply converters to string based query parameters
Apply the converters registered to serialize the positional and named
parameters to match the database representation

Original Pull Request: #172.
2018-11-07 14:39:11 -08:00
Mark Paluch
19bb4bb46c DATACOUCH-409 - Updated changelog. 2018-10-29 14:33:46 +01:00
Mark Paluch
d505a2e72e DATACOUCH-406 - Updated changelog. 2018-10-15 11:37:25 +02:00
Mark Paluch
03f310bab6 DATACOUCH-400 - Prepare 3.1 GA (Lovelace). 2018-09-21 07:07:51 -04:00
Mark Paluch
d3850c9a2b DATACOUCH-400 - Updated changelog. 2018-09-21 07:07:50 -04:00
Subhashni Balakrishnan
5af4dae334 DATACOUCH-401 Fix incorrect return type for reactive string based N1ql count query
Motivation
----------
Reactive string based N1QL count query incorrectly returns the map after
the single result projection.

Changes
-------
Map the observable returning from the N1ql query result deserialized to
a map by converting to the correct return type using the conversion
service. Verified by integration tests.
2018-09-20 23:06:36 -07:00
Subhashni Balakrishnan
5fbfd78220 DATACOUCH-386 Improve javadoc for setWriteResultChecking 2018-09-20 22:45:59 -07:00
Mark Paluch
1b989d6f30 DATACOUCH-405 - Include documentation about Object Mapping Fundamentals.
Related ticket: DATACMNS-1374.
2018-09-18 13:14:48 +02:00
Mark Paluch
8e86109bf2 DATACOUCH-397 - Updated changelog. 2018-09-10 14:15:51 +02:00
Mark Paluch
fcec1b4391 DATACOUCH-398 - Updated changelog. 2018-09-10 10:20:58 +02:00
Oliver Gierke
49ad7aae11 DATACOUCH-396 - Prepare 3.1 RC2 (Lovelace). 2018-08-20 10:39:44 +02:00
Oliver Gierke
840faba249 DATACOUCH-396 - Updated changelog. 2018-08-20 10:39:42 +02:00
Mark Paluch
9432cddf31 DATACOUCH-381 - Updated changelog. 2018-07-27 11:45:25 +02:00
Mark Paluch
b8f656aa42 DATACOUCH-382 - Updated changelog. 2018-07-26 16:23:57 +02:00
Mark Paluch
290f7176c0 DATACOUCH-380 - Prepare 3.1 RC1 (Lovelace). 2018-07-26 12:04:30 +02:00
Mark Paluch
1c7d86ddd2 DATACOUCH-380 - Updated changelog. 2018-07-26 12:04:28 +02:00
Subhashni Balakrishnan
e360c23d92 DATACOUCH-376 - Apply custom conversions for collection elements
Original Pull Request: #164.
2018-07-16 11:10:43 -07:00
Subhashni Balakrishnan
076dcc0219 DATACOUCH-389 - Update to Couchbase-Java-Client 2.6.0
Added the new committed environment configurables to the xml based
configuration parser info. Also added couchbase FLE encryption library as bean
instantiation introspects class methods and fails with ClassNotFound
exception.

Original Pull Request: #165.
2018-07-16 10:25:56 -07:00
Subhashni Balakrishnan
e5af0254ef DATACOUCH-391 - Remove unused imports causing tests build failure.
The imported classes have been renamed in commons and they are not required for these test.
2018-07-12 23:06:02 +02:00
Oliver Gierke
ed6820e3a4 DATACOUCH-390 - Adapt API changes for immutable entity support.
Related tickets: DATACMNS-1322.
2018-07-12 16:26:03 +02:00
Mark Paluch
cb0f453ddf DATACOUCH-378 - Updated changelog. 2018-06-13 21:39:54 +02:00
Mark Paluch
0132aa54cd DATACOUCH-377 - Updated changelog. 2018-06-13 15:01:59 +02:00
Christoph Strobl
14659b46d9 DATACOUCH-374 - Prepare 3.1 M3 (Lovelace). 2018-05-17 09:50:48 +02:00
Christoph Strobl
1bce24e94a DATACOUCH-374 - Updated changelog. 2018-05-17 09:50:47 +02:00
Oliver Gierke
3713181083 DATACOUCH-379 - Adapt to SpEL extension API changes in Spring Data Commons.
Related tickets: DATACMNS-1260.
2018-05-15 10:00:45 +02:00
Mark Paluch
3fdbb09433 DATACOUCH-372 - Updated changelog. 2018-05-08 15:27:21 +02:00
Mark Paluch
f86cc72f59 DATACOUCH-371 - Updated changelog. 2018-05-08 12:22:52 +02:00
Mark Paluch
4501223ef2 DATACOUCH-364 - Prepare 3.1 M2 (Lovelace). 2018-04-13 14:30:01 +02:00
Mark Paluch
87ebc7533e DATACOUCH-364 - Updated changelog. 2018-04-13 14:29:59 +02:00
Oliver Gierke
b18761b409 DATACOUCH-373 - Adapt to API changes in Spring Data Commons.
Related tickets: DATACMNS-1275.
2018-04-09 14:56:27 +02:00
Mark Paluch
810e06a4cb DATACOUCH-366 - Updated changelog. 2018-04-04 17:12:55 +02:00
Mark Paluch
adec05b66a DATACOUCH-359 - Updated changelog. 2018-04-04 15:16:22 +02:00
Subhashni Balakrishnan
53e3285098 DATACOUCH-341 - Add kotlin extension functions
Motivation
----------
Add kotin extension methods to couchbase and reactive couchbase
operations as required.

Changes
-------
Extensions leveraging reified type has been added.

Results
-------
It is now possible to use reified types rather than passing the java
class reference to some operation functions.

Original pull request: #160.
2018-03-13 10:02:00 -07:00
Mark Paluch
a46f8160a9 DATACOUCH-368 - Export composable repositories via CDI.
We now export composable repositories through our CDI extension. Repositories can now be customized either by a single custom implementation (as it was before) and by providing fragment interfaces along their fragment implementation.

This change aligns CDI support with the existing RepositoryFactory support we provide within a Spring application context.
2018-03-12 16:55:30 +01:00
Subhashni Balakrishnan
0960f11a9c DATACOUCH-322 - Add RBAC username and password support
Motivation
----------
Couchbase server 5.0 allows role based access control and this allows
for users to be created and granted access to use bucket. Expose this
feature in SDC.

Changes
-------
1. Couchbase configurations allow for user name to be set. The user password
property is still retrieved from bucket password property.
2. CouchbaseFactoryBean has additional constructor for the username
property.
3. Couchbase bucket schema for xml configurations also includes username
property.
4. Integration tests have been restructured majorly to accomadate for
username
    - Testcontainers are used to allow for container based testing.
    - Container based testing is optional, it can be configured using
      resources/server.properties

Results
-------
The RBAC change has been tested with pre 5.0 and 5.0+ versions using
containers. The tests pass.

Original pull request: #158.
2018-03-07 15:09:15 -08:00
Subhashni Balakrishnan
039e106032 DATACOUCH-362 - Use dynamic proxying
Dynamic proxying for couchbase environment instead of an explicit no shutdown
proxy.

Original pull request: #157.

DATACOUCH-363 - Upgrade to 2.5.5

Java client upgrade. Remove the dcpEnabled property from
CouchbaseEnvironment factory bean and parser.

Original pull request: #157.
2018-03-07 13:26:55 -08:00
Mark Paluch
8944e5807e DATACOUCH-365 - Updated changelog. 2018-02-28 11:17:40 +01:00
Mark Paluch
c4555f6030 DATACOUCH-360 - Updated changelog. 2018-02-19 20:30:09 +01:00
Christoph Strobl
607e627301 DATACOUCH-340 - Prepare 3.1 M1 (Lovelace). 2018-02-06 09:45:50 +01:00
Christoph Strobl
16f60f4986 DATACOUCH-340 - Updated changelog. 2018-02-06 09:45:49 +01:00
Mark Paluch
d2523eaa30 DATACOUCH-353 - Updated changelog. 2018-01-24 13:41:24 +01:00
Mark Paluch
f2717e3376 DATACOUCH-352 - Updated changelog. 2018-01-24 12:22:17 +01:00
Mark Paluch
093073c2ef DATACOUCH-347 - Updated changelog. 2017-11-27 16:43:43 +01:00
Mark Paluch
250b1bfb31 DATACOUCH-342 - Updated changelog. 2017-11-27 15:58:47 +01:00
Mark Paluch
e8c647fb9d DATACOUCH-350 - Polishing.
Add test to verify configuration extension. Fix reactive module name to match non-reactive module name. Add author tags. Reorder methods, add javadoc comments.

Original pull request: #153.
2017-11-25 11:08:51 +01:00
Alex Derkach
322642515a DATACOUCH-350 - Consider repository type in configuration extensions.
We now check in configuration extensions whether the extension is capable to implement the repository by considering whether a repository is a reactive one. This prevents the non-reactive extension from implementing reactive repositories and vice versa.

Original pull request: #153.
2017-11-25 11:07:13 +01:00
Oliver Gierke
c26e0ad2ba DATACOUCH-339 - Updated changelog. 2017-10-27 16:36:56 +02:00
Oliver Gierke
49c0b6def9 DATACOUCH-346 - Adapt API changes in Property in test cases. 2017-10-27 11:30:35 +02:00
Ben Benoit
4908749bcd DATACOUCH-328 - Fix document expiry when using expressions
When using an expiry expression with TimeUnit.DAYS larger than 30 days
the document expiry is not correctly set.

Original pull request: #150.
2017-10-17 11:34:12 -07:00
Oliver Gierke
b687ff8217 DATACOUCH-332 - Updated changelog. 2017-10-11 19:01:44 +02:00