Commit Graph

442 Commits

Author SHA1 Message Date
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
Mark Paluch
1de7acd1eb DATACOUCH-465 - Adapt to changed API in Commons. 2019-07-26 09:25:40 +02:00
David Kelly
4341edf941 DATACOUCH-462 - ReactiveCouchbaseRepository count() will raise exception when bucket is empty.
Small cleanup in the deleteAll test (which actually tests this as well), while
we are there.

Also, removed an unused import
2019-06-28 10:21:41 -06:00
David Kelly
64a91f1eb6 DATACOUCH-356 Fix cast issue in deleteAll (#201)
Plus a test.  I didn't notice that Douglas Six did basically the
same thing in another PR (this was a re-do of an earlier PR which
didn't quite do what we'd like).  So since I already had it done
and had a test, I closed that PR (#163) and added him to the author
list.

Also - repository.count() raises a NoSuchElementException after you
delete all the documents.  That seems like a bug, but we will deal
with that separately.
2019-06-26 16:37:11 -06:00
Johannes Jasper
55235b2bc2 DATACOUCH-206 - Provides a way to set distinct consistency on repository methods.
* add @WithConsistency annotation
* evaluate it and set consistency in AbstractN1qlBasedQuery
* evaluate it and set consistency in ReactiveAbstractN1qlBasedQuery
* add documentation on @WithConsistency

Original pull request: #198.
2019-06-26 21:48:01 +02:00
David Kelly
7b3352e8db Fix test issue which only shows up in java 11 (#199)
Seems that LocalDateTime now has microseconds, so the comparison of the unconverted
and converted LocalDateTime will fail, since the conversion/mapping only retains
millisecond precision.
2019-06-21 09:30:55 -07:00
Christoph Strobl
74e5dfea5d DATACOUCH-444 - Prepare 3.2 RC1 (Moore). 2019-06-14 14:43:17 +02:00
Christoph Strobl
c2d70ddfe6 DATACOUCH-444 - Updated changelog. 2019-06-14 14:43:16 +02:00