Commit Graph

25 Commits

Author SHA1 Message Date
Mark Paluch
85edbda038 DATACOUCH-348 - Reflect changes in Spring Data Couchbase 3.0 in readme.
Add also version badges.
2017-11-09 14:55:23 +01:00
Mark Paluch
0aa3a32e16 DATACOUCH-270 - Update project documentation with the CLA tool integration. 2017-01-13 11:32:43 +01:00
Simon Baslé
0007c448d6 DATACOUCH-77 - Update README links 2016-02-22 15:00:46 +01:00
Simon Baslé
40d131aab0 DATACOUCH-169 - Automatic index creation
Main indexes (ie indexes that can be used by repositories to retrieve ALL the documents of a particular entity type) are covered.

Repository interfaces can be annotated with an annotation for each type of main index that can be automatically created.

The IndexManager is responsible for creating said indexes (potentially skipping creation if an index is already in place, or if the IndexManager has been configured to skip it, see constructor).
Since IndexManager is created as a bean (either in JavaConfig or xml), there can be a different instance eg. in Prod vs Dev.

Added doc and integration test.

Renamed package core.view to core.query since it now contains various non-view related annotations and classes.
2015-11-16 13:57:38 +01:00
Simon Baslé
5beeaff9af DATACOUCH-170 - Fix N1QL annotation and inline querying in docs
In some places in the doc (javadoc, README, asciidoc), the annotation was still referred to as N1QL instead of Query...

Improved doc on inline statement for N1QL queries allowing the use of positional `$1` placeholders.
2015-10-15 17:28:37 +02:00
Simon Baslé
2035a88dba DATACOUCH-154 - Guess design doc as uncapitalized class name.
In the SimpleCouchbaseRepository the guessed design document was lowercase of the entity class, whereas in ViewBasedCouchbaseQuery it is uncapitalized (only first letter is lowercase).

This has been made consistent, using the uncapitalize method. The doc now reflects that and explicitly have examples with camel case classes (UserInfo instead of User).
2015-07-30 17:44:53 +02:00
Simon Baslé
93405c5da8 DATACOUCH-142 - Update documentation and provide migration cheatsheet.
The documentation has been updated to reflect the changes in the new Spring Data Couchbase 2.0.

A simple list of major changes to take into account when migrating from 1.x to 2.x has been added.

README.md has also been updated.
2015-07-20 10:44:41 +02:00
Simon Baslé
b9f23f3fd5 DATACOUCH-135 - Migrate to Couchbase SDK 2.0 and add N1QL find method.
Adaptation were made to use SDK 2.0:
 - Reworked the configuration approach (more parts to be configured, like Environment, Cluster and Bucket)
 - Added a new xml schema for configuration of 2.0 version
 - Adapted the template
 - Added N1QL support in the template (findByN1QL)
 - Removed the cache package
 - Adapted the repository
 - Better separated Unit Tests from Integration Tests

All integration and unit tests pass, except one (SimpleCouchbaseRepositoryTests.shouldFindCustom).

Customisation of a ViewQuery will be addressed in another ticket.
2015-07-10 14:46:30 +02:00
Klaus Unger
b60782c3c1 DATACOUCH-133 - Fixed typos in readme.md.
Fixed the mixup of attributes - the view backing the findByLastname method should emit lastname not firstname.

Original pull request: #37.
2015-06-30 10:49:15 +02:00
kdheerendra
181b68798b DATACOUCH-133 - Fixing URLs in readme.
Original pull request: #38.
2015-06-30 10:45:57 +02:00
Michael Nitschinger
57e7af1f27 DATACOUCH-119 - Updated README 2015-02-20 10:03:46 +01:00
Michael Nitschinger
0f80204bf0 DATACOUCH-73 - Prepare 1.0 GA Release 2014-03-13 09:37:33 +01:00
Michael Nitschinger
adfade558c DATACOUCH-66 - Overhaul Readme for RC1 release. 2014-01-27 14:27:02 +01:00
msolujic
1400c0090e Added stable spring data repository to README.md 2014-01-16 12:32:29 +01:00
Michael Nitschinger
887c014ac2 DATACOUCH-16 - updating readme for new features. 2013-10-16 13:42:56 +02:00
Michael Nitschinger
d4345fa944 Small README clarification. 2013-08-20 20:58:37 +02:00
Michael Nitschinger
3cad396e3d DATACOUCH-6 - Updating README. 2013-08-12 08:02:10 +02:00
Michael Nitschinger
2332e523b9 DATACOUCH-12: Refactor mapping layer to accomodate complex types.
This changeset is a complete refactor of the mapping layer to make
sure that _class complex type mapping works. It also decouples
the actual JSON mapping and abstracts it into a CouchbaseDocument
mapping. This ensures forward compatibility by potentially swapping
out JSON to a different format.
2013-07-16 07:43:43 +02:00
Michael Nitschinger
3d4d8059e8 DATACOUCH-8 - Overhaul Readme 2013-06-04 09:39:21 +02:00
Oliver Gierke
a0b3335084 DATACOUCH-3 - Renamed base package to org.springframework.data.couchbase. 2013-06-01 11:47:32 +02:00
Michael Nitschinger
99852a23c8 Updating README 2013-02-07 09:08:35 +01:00
Michael Nitschinger
2fa7345ccb Adding how to use the @Configuration java-based annotations instead of XML. 2012-12-17 14:06:17 +01:00
Michael Nitschinger
56f8e5babc Updating README to reflect the new name. 2012-12-17 13:59:37 +01:00
Michael Nitschinger
2ad9411437 Small README fix. 2012-12-14 09:35:19 +01:00
Michael Nitschinger
2e8e00a2d5 Initial Commit. 2012-12-14 09:33:00 +01:00