Commit Graph

598 Commits

Author SHA1 Message Date
Mark Paluch
b66bf4a96e DATACOUCH-463 - Fix typo. 2019-07-10 09:58:59 +02:00
Mark Paluch
27e9dd324a DATACOUCH-456 - Cleanup release profile.
Reuse inherited configuration from parent pom.
2019-07-09 12:21:35 +02:00
Mark Paluch
212b945ed0 DATACOUCH-463 - Revise readme for a consistent structure. 2019-07-09 12:20:58 +02:00
Greg Turnquist
49b7011849 DATACOUCH-456 - Use labeled agent for CI jobs. 2019-07-03 14:13:23 -05:00
Greg Turnquist
68fbfe7d03 DATACOUCH-456 - Use parent 'artifactory' profile. 2019-07-03 11:27:45 -05:00
Greg Turnquist
354dae32af DATACOUCH-456 - Only build main branch for upstream triggers. 2019-06-28 16:27:40 -05: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
Oliver Drotbohm
b7f063ce68 DATACOUCH-461 - Upgrade to Apache HTTP Client 4.3.6. 2019-06-24 21:49:47 +02:00
Greg Turnquist
d6d76e6fdb DATACOUCH-456 - Polishing. 2019-06-24 13:24:35 -05:00
Greg Turnquist
5b9b8a9fff DATACOUCH-456 - Configure user.name and user.home for CI jobs. 2019-06-24 13:02:03 -05: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
d782f57cbd DATACOUCH-444 - After release cleanups. 2019-06-14 15:12:53 +02:00
Christoph Strobl
6f065168ef DATACOUCH-444 - Prepare next development iteration. 2019-06-14 15:12:51 +02:00
Christoph Strobl
54b5575db3 DATACOUCH-444 - Release version 3.2 RC1 (Moore). 2019-06-14 14:44:26 +02: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
Greg Turnquist
20a522477b DATACOUCH-456 - Introduce Jenkins CI. 2019-06-11 18:53:41 -05:00
Mark Paluch
abee71cf54 DATACOUCH-439 - URL Cleanup. 2019-06-05 11:34:54 +02:00
Mark Paluch
8bfbdb04de DATACOUCH-454 - Create security policy readme. 2019-05-31 16:13:16 +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
David Nault
d25531078d Merge pull request #196 from ozzimpact/fix/readme-jira-url
Update README.md
2019-05-13 11:34:34 -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
a4e57f6c8e DATACOUCH-445 - After release cleanups. 2019-05-13 12:17:54 +02:00
Mark Paluch
460e06cd7d DATACOUCH-445 - Prepare next development iteration. 2019-05-13 12:17:53 +02:00
Mark Paluch
ffb66ceb74 DATACOUCH-445 - Release version 3.2 M4 (Moore). 2019-05-13 11:59:50 +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
Oliver Drotbohm
186b48b3cf DATACOUCH-441 - Updated changelog. 2019-05-10 14:18:15 +02:00
Oliver Drotbohm
767c746905 DATACOUCH-443 - Updated changelog. 2019-05-10 12:57:28 +02:00
Oğuzhan Demir
99e98f4300 Update README.md
fix jira url.
2019-04-25 17:44:46 +03:00
Christoph Strobl
b1eb3a742f DATACOUCH-436 - After release cleanups. 2019-04-11 12:00:21 +02:00
Christoph Strobl
09e31e8a81 DATACOUCH-436 - Prepare next development iteration. 2019-04-11 12:00:20 +02:00
Christoph Strobl
135df78902 DATACOUCH-436 - Release version 3.2 M3 (Moore). 2019-04-11 11:24:32 +02:00
Christoph Strobl
bca2c4a409 DATACOUCH-436 - Prepare 3.2 M3 (Moore). 2019-04-11 11:23:56 +02:00
Christoph Strobl
69c1b6fb3f DATACOUCH-436 - Updated changelog. 2019-04-11 11:23:55 +02:00
Oliver Drotbohm
599c3222e4 DATACOUCH-430 - Updated changelog. 2019-04-01 20:56:32 +02:00
Oliver Drotbohm
cc8c57ebc9 DATACOUCH-428 - Updated changelog. 2019-04-01 19:37:03 +02:00
Oliver Drotbohm
96a5929d35 DATACOUCH-440 - Updated changelog. 2019-04-01 18:52:21 +02:00
Oliver Drotbohm
e04feb97e9 DATACOUCH-427 - Updated changelog. 2019-04-01 18:49:25 +02:00
David Nault
da2d6a9811 Fix typo in README 2019-03-26 13:31:08 -07:00
David Nault
e5c4e6e46f Clean up formatting of example code in README 2019-03-26 13:30:01 -07:00
Spring Operator
2f4500e9c7 DATACOUCH-439 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 219 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Original Pull Request: #195
2019-03-22 11:19:57 +01:00
Spring Operator
769460bcb7 DATACOUCH-439 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://assets.spring.io/drupal/node/feed.xml with 1 occurrences migrated to:
  https://assets.spring.io/drupal/node/feed.xml ([https](https://assets.spring.io/drupal/node/feed.xml) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-data with 1 occurrences migrated to:
  https://stackoverflow.com/questions/tagged/spring-data ([https](https://stackoverflow.com/questions/tagged/spring-data) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-data-couchbase with 2 occurrences migrated to:
  https://stackoverflow.com/questions/tagged/spring-data-couchbase ([https](https://stackoverflow.com/questions/tagged/spring-data-couchbase) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 2 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://docs.spring.io/spring-data/couchbase/docs/current/api/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/couchbase/docs/current/api/ ([https](https://docs.spring.io/spring-data/couchbase/docs/current/api/) result 301).
* [ ] http://docs.spring.io/spring-data/couchbase/docs/current/reference/html/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/couchbase/docs/current/reference/html/ ([https](https://docs.spring.io/spring-data/couchbase/docs/current/reference/html/) result 301).
* [ ] http://docs.spring.io/spring/docs/current/spring-framework-reference/html/dao.html with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/current/spring-framework-reference/html/dao.html ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/html/dao.html) result 301).
* [ ] http://help.github.com/forking/ with 1 occurrences migrated to:
  https://help.github.com/forking/ ([https](https://help.github.com/forking/) result 301).
* [ ] http://projects.spring.io/spring-data-couchbase with 2 occurrences migrated to:
  https://projects.spring.io/spring-data-couchbase ([https](https://projects.spring.io/spring-data-couchbase) result 301).
* [ ] http://www.springframework.org/schema/data/couchbase/spring-couchbase.xsd with 2 occurrences migrated to:
  https://www.springframework.org/schema/data/couchbase/spring-couchbase.xsd ([https](https://www.springframework.org/schema/data/couchbase/spring-couchbase.xsd) result 301).
* [ ] http://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd with 2 occurrences migrated to:
  https://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd ([https](https://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd) result 301).
* [ ] http://www.springsource.org/projects with 1 occurrences migrated to:
  https://www.springsource.org/projects ([https](https://www.springsource.org/projects) result 301).
* [ ] http://www.springsource.org/spring-data with 1 occurrences migrated to:
  https://www.springsource.org/spring-data ([https](https://www.springsource.org/spring-data) result 301).
* [ ] http://repo.spring.io/libs-milestone with 1 occurrences migrated to:
  https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302).
* [ ] http://repo.spring.io/libs-snapshot with 2 occurrences migrated to:
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302).
* [ ] http://www.springsource.org/download with 1 occurrences migrated to:
  https://www.springsource.org/download ([https](https://www.springsource.org/download) result 302).

# Ignored
These URLs were intentionally ignored.

* http://www.springframework.org/schema/beans with 9 occurrences
* http://www.springframework.org/schema/context with 3 occurrences
* http://www.springframework.org/schema/data/couchbase with 10 occurrences
* http://www.springframework.org/schema/data/repository with 4 occurrences
* http://www.springframework.org/schema/tool with 4 occurrences
* http://www.w3.org/2001/XMLSchema with 3 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 2 occurrences

Original Pull Request: #189
2019-03-21 09:26:41 +01:00
Spring Operator
c7bcf811a7 DATACOUCH-439 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 1 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 10 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* http://www.springframework.org/schema/context/spring-context.xsd with 4 occurrences migrated to:
  https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd) result 200).
* http://www.springframework.org/schema/data/couchbase/spring-couchbase.xsd with 10 occurrences migrated to:
  https://www.springframework.org/schema/data/couchbase/spring-couchbase.xsd ([https](https://www.springframework.org/schema/data/couchbase/spring-couchbase.xsd) result 200).
* http://www.springframework.org/schema/data/repository/spring-repository.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/data/repository/spring-repository.xsd ([https](https://www.springframework.org/schema/data/repository/spring-repository.xsd) result 200).
* http://java.sun.com/xml/ns/javaee/beans_1_0.xsd with 1 occurrences migrated to:
  https://java.sun.com/xml/ns/javaee/beans_1_0.xsd ([https](https://java.sun.com/xml/ns/javaee/beans_1_0.xsd) result 302).

# Ignored
These URLs were intentionally ignored.

* http://java.sun.com/xml/ns/javaee with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 2 occurrences
* http://www.springframework.org/schema/beans with 20 occurrences
* http://www.springframework.org/schema/context with 4 occurrences
* http://www.springframework.org/schema/data/couchbase with 20 occurrences
* http://www.springframework.org/schema/data/repository with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 12 occurrences

Original Pull Request: #188
2019-03-20 10:10:37 +01:00
Spring Operator
e7bd96b228 DATACOUCH-439 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were fixed successfully.

* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance

Original Pull Request: #180
2019-03-19 10:31:17 +01:00