Commit Graph

582 Commits

Author SHA1 Message Date
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
Subhashni Balakrishnan
e1e4385896 DATACOUCH-438 - Move off deprecations in Spring Data Commons.
Remove stray import IsNewStrategyFactory. This has been removed from commons and causing build failure.

Related ticket: DATACMNS-1496.
2019-03-13 19:01:26 +01:00
Christoph Strobl
b254a82f24 DATACOUCH-422 - After release cleanups. 2019-03-07 10:07:30 +01:00
Christoph Strobl
ed168d6ef8 DATACOUCH-422 - Prepare next development iteration. 2019-03-07 10:07:29 +01:00
Christoph Strobl
76187b16f2 DATACOUCH-422 - Release version 3.2 M2 (Moore). 2019-03-07 09:42:22 +01:00
Christoph Strobl
3967e2dcdd DATACOUCH-422 - Prepare 3.2 M2 (Moore). 2019-03-07 09:41:17 +01:00
Christoph Strobl
729fb1f85a DATACOUCH-422 - Updated changelog. 2019-03-07 09:41:16 +01:00
Subhashni Balakrishnan
3b0ea40376 DATACOUCH-435 - Upgrade to couchbase-java-client 2.7.4 2019-03-06 07:40:53 -08:00
Greg Turnquist
2d48ec83f9 DATACOUCH-426 - Introduce Concourse. 2019-02-28 10:36:41 -06:00
Subhashni Balakrishnan
b041f0a93e DATACOUCH-434 - Fix reactive repository asciidoc link
Original Pull Request: #179.
2019-02-26 14:08:57 -08:00
Subhashni Balakrishnan
6aadcfcc60 DATACOUCH-433 - Add docs for ANSI join usage
Original Pull Request: #178.
2019-02-26 13:59:35 -08:00
ctayeb
97fc4a0471 DATACOUCH-432 - Fix ANSI Joins OneToOne relationships
Couchbase template could get only the component type information which
works for collection properties but when the join is one-to-one for a
single generic type it would fail. The fix is use to the actual type if
the property is not a collection.

Original PR: #177.
2019-02-22 12:14:04 -08:00
Mark Paluch
5af2262029 DATACOUCH-429 - Updated changelog. 2019-02-13 11:48:00 +01:00
Subhashni Balakrishnan
2f0e255fbb DATACOUCH-415 - Improve performance by re-using the same set instance
Reuse the same instance of the set instead of recreating each time

Original PR: #176
2019-02-12 16:29:06 -08:00
Subhashni Balakrishnan
580a50b40f DATACOUCH-388 Add support for ANSI-JOIN across entities
Motivation
----------
To support ANSI JOIN across associated entities

Changes
-------
N1qlJoin annotation on an associated entity field is discovered by the
couchbaseTemplate, which uses N1qlJoinResolver to build and resolve the
query. The query can be resolved eagerly or lazily based on the fetch
type configuration. The retrieved results are then mapped to the
associated entity. In the lazy resolver, a proxy is set on the property
which resolves on the first access.

Results
-------
Verified by unit and integration tests. ANSI join is now possible across
entities.

Original PR: #174
2019-02-12 09:56:58 -08:00
Mark Paluch
79a3cccdcf DATACOUCH-419 - Updated changelog. 2019-01-10 14:15:44 +01:00
Mark Paluch
8399d94d5a DATACOUCH-418 - Updated changelog. 2019-01-10 12:26:37 +01:00