Commit Graph

449 Commits

Author SHA1 Message Date
Michael Reiche
0c0dc21f8e DATACOUCH-515 implement additional operators in N1qlQueryCreator and QueryCriteria (#213)
Co-authored-by: mikereiche <michael.reiche@couchbase.com>
2020-04-07 16:45:53 +02:00
Mark Paluch
a8de6ad112 DATACOUCH-512 - Prepare 4.0 RC1 (Neumann). 2020-03-31 14:59:20 +02:00
Mark Paluch
6242c84895 DATACOUCH-512 - Updated changelog. 2020-03-31 14:59:20 +02:00
Mark Paluch
46d1527238 DATACOUCH-508 - Updated changelog. 2020-03-25 10:59:48 +01:00
Michael Nitschinger
ad56d48926 DATACOUCH-504 - Optimize shutdown of cluster
Only shut it down on the factory if internally initialized and
make sure we properly close it on the config.
2020-03-17 15:05:44 +01:00
Michael Nitschinger
f950e4648a DATACOUCH-504 - Reintroduce query index generation
This changeset reintroduces automatic n1ql index generation but through
new annotations: QueryIndexed and CompositeQueryIndex (as well as
CompositeQueryIndexes to supply more than one). They are translated
into create index statements and executed at startup if configured
in the config.

Note that automatic index management is disabled by default but can
be overidden with a simple flag on the config override. More features
to come later.
2020-03-17 15:05:41 +01:00
Michael Nitschinger
fff16bc958 switch to mock by default 2020-03-17 15:05:37 +01:00
Michael Nitschinger
3bd9635df3 DATACOUCH-509 - remove the configurer again
Boot figured out a better way to handle it, so we can get rid of
it again.
2020-03-17 15:05:34 +01:00
Michael Nitschinger
e100042850 DATACOUCH-504 - Make sure Reactive* repository take the reactive operations. 2020-03-17 15:05:30 +01:00
Michael Nitschinger
573e389f22 DATACOUCH-509 - Align environment naming in configurer 2020-03-17 15:05:24 +01:00
Michael Nitschinger
e918fa8793 DATACOUCH-509 - couchbaseClientFactory needs to take cluster from configurer 2020-03-17 15:05:20 +01:00
Michael Nitschinger
1ee0045f0e DATACOUCH-509 - Expose only SDK related infos on configurer
Since the client factory is a spring data concept, it cannot be
exposed on the configurer. Only expose the cluster and the environment
on it.

This also modifies the config to populate the right beans from the
configurer methods as well.
2020-03-17 15:05:14 +01:00
Michael Nitschinger
cf67ab44cc DATACOUCH-504 - Make couchbase cache config available.
Spring boot needs to be able to access the cache config on the
CouchbaseCache instance, so make it available.
2020-03-17 15:05:09 +01:00
Michael Nitschinger
daf479b345 DATACOUCH-509 - Restore CouchbaseConfigurer
Since boot needs it for easy mocking/testing, restoring the
configurer (but with the new corresponding beans and only
the subset that is currently available).
2020-03-17 15:05:05 +01:00
Michael Nitschinger
4abad35639 DATACOUCH-504 - More enhancements for spring boot 2020-03-17 15:05:01 +01:00
David Kelly
c9a19c925e DATACOUCH-504 - Migrate to Couchbase SDK 3 2020-03-17 15:04:37 +01:00
Jens Schauder
9d334d4459 DATACOUCH-506 - Prepare 4.0 M4 (Neumann). 2020-03-11 09:46:29 +01:00
Jens Schauder
e12dea0249 DATACOUCH-506 - Updated changelog. 2020-03-11 09:46:28 +01:00
Mark Paluch
819923af64 DATACOUCH-501 - Updated changelog. 2020-02-26 11:55:06 +01:00
Mark Paluch
0a99db5759 DATACOUCH-500 - Updated changelog. 2020-02-26 11:31:49 +01:00
Mark Paluch
fd679bb8ad DATACOUCH-503 - Prepare 4.0 M3 (Neumann). 2020-02-12 14:46:56 +01:00
Mark Paluch
9ba5141df3 DATACOUCH-503 - Updated changelog. 2020-02-12 14:46:56 +01:00
Mark Paluch
f4136c07cf DATACOUCH-502 - Prepare 4.0 M2 (Neumann). 2020-01-17 09:38:43 +01:00
Mark Paluch
5abf4e09fb DATACOUCH-502 - Updated changelog. 2020-01-17 09:38:43 +01:00
Mark Paluch
d60cb1e3a4 DATACOUCH-482 - Prepare 4.0 M1 (Neumann). 2020-01-16 16:05:03 +01:00
Mark Paluch
e07107020b DATACOUCH-482 - Updated changelog. 2020-01-16 16:05:03 +01:00
Mark Paluch
c4e1f0c082 DATACOUCH-494 - Updated changelog. 2020-01-15 12:51:14 +01:00
Mark Paluch
6296404eb2 DATACOUCH-493 - Updated changelog. 2020-01-15 10:36:37 +01:00
Mark Paluch
e944081b94 DATACOUCH-498 - Update copyright years to 2020. 2020-01-07 08:43:29 +01:00
Jens Schauder
2a1641492c DATACOUCH-491 - Updated changelog. 2019-12-04 14:32:47 +01:00
Jens Schauder
5fd293925d DATACOUCH-490 - Updated changelog. 2019-12-04 12:09:50 +01:00
Mark Paluch
340c9debf0 DATACOUCH-488 - Updated changelog. 2019-11-18 12:43:27 +01:00
Mark Paluch
262bdaa90a DATACOUCH-487 - Updated changelog. 2019-11-18 12:16:28 +01:00
David Kelly
f69d51586d DATACOUCH-484 - Thread safety issue using findBy.
Support for positional parameters necessitated caching them, however
that was not done in a threadsafe fashion.  ThreadLocal storage is
sufficient to take care of the issue.  Added test for it while at it.
2019-11-13 08:37:17 -07:00
David Kelly
4a8e07f8fd DATACOUCH-479 - Fix issue with testcontainers usage.
After updating the POM to not have a fixed testcontainers version, we
discovered the tests were failing with later versions of testcontainers.  It
seems that they updated how they did WaitStrategy, deprecating the old way, so
our WaitStrategy was not being called.  That means no setup was done to
the cluster (passwords, buckets, etc...).  Simple fix was to move to the
new interface.
2019-11-08 08:32:05 -08:00
Christoph Strobl
a2c143798d DATACOUCH-481 - Updated changelog. 2019-11-04 15:39:57 +01:00
Christoph Strobl
a1c54a5798 DATACOUCH-480 - Updated changelog. 2019-11-04 10:34:52 +01:00
Mark Paluch
e1460dd8d2 DATACOUCH-485 - Migrate tests to AssertJ. 2019-10-14 14:56:01 +02:00
Mark Paluch
ffea38114f DATACOUCH-469 - Prepare 3.2 GA (Moore). 2019-09-30 15:50:44 +02:00
Mark Paluch
e9bc3ffb34 DATACOUCH-469 - Updated changelog. 2019-09-30 15:50:43 +02:00
Mark Paluch
e4a59accf0 DATACOUCH-468 - Updated changelog. 2019-09-30 11:16:17 +02:00
Mark Paluch
b02bc45b81 DATACOUCH-470 - Prepare 3.2 RC3 (Moore). 2019-09-06 10:10:13 +02:00
Mark Paluch
312527b85b DATACOUCH-470 - Updated changelog. 2019-09-06 10:10:12 +02:00
David Kelly
35c72238cb DATACOUCH-475 Couchbase builds failing.
There was an integration test which wasn't named properly, and
so it was running with regular tests.  This left the container
around, and all subsequent integration tests failed.  Simple
fix.
2019-08-15 14:11:29 -07:00
Mark Paluch
d020453008 DATACOUCH-471 - Add HTTPS entries into spring.schemas.
To resolve XSD files properly from the classpath, their HTTPS reference must be present in the spring.schemas to avoid internet interaction for resolving an XSD file.
2019-08-07 08:31:40 +02:00
Mark Paluch
65bf1579bc DATACOUCH-458 - Prepare 3.2 RC2 (Moore). 2019-08-05 15:35:05 +02:00
Mark Paluch
9ca5380c8a DATACOUCH-458 - Updated changelog. 2019-08-05 15:35:04 +02:00
Mark Paluch
f36d03527b DATACOUCH-457 - Updated changelog. 2019-08-05 11:34:29 +02:00
Mark Paluch
756d4622b1 DATACOUCH-450 - Updated changelog. 2019-08-05 11:08:57 +02:00
David Kelly
98a4999f37 DATACOUCH-383 - RxJavaCouchbaseTemplate should return generated id when saving.
Seems we fixed this for the non-Rx version, but not the RxJava version.  Followed
same basic strategy which was used for version, added a simple test.
2019-08-01 09:58:32 -07:00