Commit Graph

434 Commits

Author SHA1 Message Date
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
Christoph Strobl
1dff42a219 DATACOUCH-449 - Updated changelog. 2019-06-14 13:27:17 +02:00
Mark Paluch
abee71cf54 DATACOUCH-439 - URL Cleanup. 2019-06-05 11:34:54 +02:00
David Nault
67479aa756 DATACOUCH-452 - SimpleCouchbaseRepositoryIntegrationTests fails
Ignore the flaky test until we can investigate cause of failure.
2019-05-22 11:28:22 -07:00
David Nault
9080c2dede DATACOUCH-451 - Should be able to run integration tests and all unit tests
This change enables running the integration tests with the command:

    mvn verify

Update the integration tests so they compile and pass. Rename them according
to Spring Data convention (*IntegrationTests.java) so they are executed by the
failsafe plugin instead of the surefire plugin. Move them to same folder as
unit tests according to Spring Data convention.

Update the surefire plugin configuration to include unit tests in classes
named `*Test` as well as `*Tests`. Prior to this change about half of the unit
tests were being ignored.

Integration test changes
========================

Use static factory methods for Sort and PageRequest instead of calling the
constructors which are now private.

Import EvaluationContextExtension from its new package. Remove reference to
deprecated EvaluationContextExtensionSupport.

Retry all calls to `getRepository` because otherwise they may fail due to
concurrent index creation.

Fix test `shouldDeriveViewParameters` to assume results are unordered.

Fail fast if the `server.properties` resource is missing.

Increase query and view timeouts; container is a big sluggish sometimes.
2019-05-20 18:46:21 -07:00
Mark Paluch
9842e1f7e9 DATACOUCH-448 - Updated changelog. 2019-05-13 18:19:11 +02:00
Mark Paluch
fb2fd5a9fa DATACOUCH-447 - Updated changelog. 2019-05-13 14:59:29 +02:00
Mark Paluch
59f795741e DATACOUCH-445 - Prepare 3.2 M4 (Moore). 2019-05-13 11:59:05 +02:00
Mark Paluch
be93125d18 DATACOUCH-445 - Updated changelog. 2019-05-13 11:59:03 +02:00