674 Commits

Author SHA1 Message Date
Michael Nitschinger
03bd88c6a1 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-16 11:38:15 +01:00
Michael Nitschinger
c5df8bc6a0 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-10 15:04:40 +01:00
Michael Nitschinger
a7d8b4b6ca switch to mock by default 2020-03-10 08:43:00 +01:00
Michael Nitschinger
c9344cbc5c 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-10 08:38:48 +01:00
Michael Nitschinger
97485fa114 DATACOUCH-504 - Make sure Reactive* repository take the reactive operations. 2020-03-10 08:33:22 +01:00
Michael Nitschinger
2521bc510b DATACOUCH-509 - Align environment naming in configurer 2020-03-09 11:01:23 +01:00
Michael Nitschinger
1b0c7126f0 DATACOUCH-509 - couchbaseClientFactory needs to take cluster from configurer 2020-03-09 10:11:19 +01:00
Michael Nitschinger
7aa9b56cb5 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-09 09:37:11 +01:00
Michael Nitschinger
1c3c0ffef4 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-09 07:11:58 +01:00
Michael Nitschinger
5e61c0ca9d 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-09 06:59:38 +01:00
Michael Nitschinger
c16d6e33e1 DATACOUCH-504 - More enhancements for spring boot 2020-03-05 16:47:13 +01:00
Michael Nitschinger
d34fa1c5ab DATACOUCH-504 - Fix typo in pomfile 2020-03-05 11:12:08 +01:00
David Kelly
c3e66d74a3 DATACOUCH-504 - Migrate to Couchbase SDK 3 2020-03-02 14:34:40 +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
954645f189 DATACOUCH-503 - After release cleanups. 2020-02-12 15:04:22 +01:00
Mark Paluch
98333aac09 DATACOUCH-503 - Prepare next development iteration. 2020-02-12 15:04:21 +01:00
Mark Paluch
46d2c2af5a DATACOUCH-503 - Release version 4.0 M3 (Neumann). 2020-02-12 14:47:16 +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
Michael Nitschinger
a9fec704c6 DATACOUCH-505 - Update SDK to 2.7.12
This changeset makes sure that we are using the latest
SDK version.
2020-02-11 10:03:52 +01:00
Mark Paluch
6a5432dc5b DATACOUCH-502 - After release cleanups. 2020-01-17 09:47:50 +01:00
Mark Paluch
0029b4bf27 DATACOUCH-502 - Prepare next development iteration. 2020-01-17 09:47:49 +01:00
Mark Paluch
b26e223af6 DATACOUCH-502 - Release version 4.0 M2 (Neumann). 2020-01-17 09:39:03 +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
4930b5201a DATACOUCH-482 - After release cleanups. 2020-01-16 16:11:55 +01:00
Mark Paluch
6183bdd383 DATACOUCH-482 - Prepare next development iteration. 2020-01-16 16:11:54 +01:00
Mark Paluch
ddaf61834f DATACOUCH-482 - Release version 4.0 M1 (Neumann). 2020-01-16 16:05:23 +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
69d285dcd3 DATACOUCH-489 - Polishing.
Revert parent pom version to 2.3.0.BUILD-SNAPSHOT.
2020-01-14 14:48:59 +01:00
Michael Nitschinger
0c4cd2acd9 DATACOUCH-499 - Bump major version to 4.0.0
This is in preparation for upcoming changes (currently planned
between M1 and M2) which will contain breaking changes as the
project moves to the Couchbase Java SDK 3.0.x.
2020-01-10 15:35:04 +01:00
Greg Turnquist
e7bac158ee DATACOUCH-489 - Enable JDK11+ builds. 2020-01-09 10:04:52 -06: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
896767c52b DATACOUCH-492 - Upgrade to Couchbase Driver 2.7.10. 2019-12-04 11:49:47 +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
5d9f423c31 DATACOUCH-483 - Fix plugin ordering to deploy Javadoc. 2019-10-01 08:44:26 +02:00
Mark Paluch
0f62bc8726 DATACOUCH-469 - After release cleanups. 2019-09-30 16:17:29 +02:00
Mark Paluch
a71b71b4fa DATACOUCH-469 - Prepare next development iteration. 2019-09-30 16:17:28 +02:00