Commit Graph

364 Commits

Author SHA1 Message Date
Mark Paluch
79a3cccdcf DATACOUCH-419 - Updated changelog. 2019-01-10 14:15:44 +01:00
Mark Paluch
8399d94d5a DATACOUCH-418 - Updated changelog. 2019-01-10 12:26:37 +01:00
Mark Paluch
748e40e7c1 DATACOUCH-417 - Updated changelog. 2019-01-10 11:01:22 +01:00
Mark Paluch
f4116f6de6 DATACOUCH-425 - Update copyright years to 2019. 2019-01-02 12:31:10 +01:00
Christoph Strobl
dcb0415cff DATACOUCH-420 - Prepare 3.2 M1 (Moore). 2018-12-11 10:53:11 +01:00
Christoph Strobl
a15c33d4cd DATACOUCH-420 - Updated changelog. 2018-12-11 10:53:10 +01:00
Mark Paluch
663e55cefd DATACOUCH-421 - Simplify reference documentation setup. 2018-12-10 10:05:08 +01:00
Mark Paluch
1650419cf2 DATACOUCH-414 - Updated changelog. 2018-11-27 14:54:09 +01:00
Mark Paluch
ebbef35e79 DATACOUCH-410 - Updated changelog. 2018-11-27 12:36:49 +01:00
Mark Paluch
affc998f50 DATACOUCH-411 - Updated changelog. 2018-11-27 11:27:25 +01:00
Subhashni Balakrishnan
c4491dc8b4 DATACOUCH-413 Use parameterized queries for Query derivation
Changes
-------
- N1ql query creators implement an interface which provides the place
holder values.
- The query creator uses a position index counter to inject place holders in
the statement created and caches the place holder values in an array.
- Repository query constructor passes the generated query statement
and place holder values to query through the SDK.
- Cleanup N1ql integration tests for count validation and also add
couple of more tests

Results
-------
The testing for changes are already covered under the modified existing tests
in N1qlQueryCreator and Repository.
2018-11-26 11:23:14 -08:00
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