Commit Graph

105 Commits

Author SHA1 Message Date
Ken Dombeck
bb6385e08a DATACOUCH-57 - Allow for the configuration of CouchbaseClient to use properties
from property files or SPEL expressions.
2014-01-24 09:13:04 +01:00
Michael Nitschinger
7b6a3a9894 DATACOUCH-14 - Enable SLF4J as default logging.
If the whole system is constructed through the AbstractCouchbaseConfiguration or
the custom <couchbase> xml config, the logger is specified automatically.

Please note that this also changes the java config a little bit, but it should
also make it easier to construct it.
2014-01-23 16:24:58 +01:00
Michael Nitschinger
46b33e9952 DATACOUCH-52 also register shutdown for xml-based configs 2014-01-23 15:45:47 +01:00
Michael Nitschinger
7dd2a5b7b2 DATACOUCH-52 - Shut down CouchbaseClient bean when the context is destroyed.
The shutdown method will be called on the bean when the context is closed to
make sure that "no thread is left behind" running.
2014-01-23 14:47:28 +01:00
Michael Nitschinger
5414ee556b DATACOUCH-44 - Expose PersistTo/ReplicateTo on template
While users benefit from the exposure in terms of control, it is also
needed to make the unit tests more reliable as reported in the ticket.
2014-01-23 14:36:47 +01:00
Michael Nitschinger
9452c40eeb DATACOUCH-64 - Enable dynamic queries on repositories.
This changeset adds dynamic queries that can be annotated with @View and also provide a custom
Query param to change properties at runtime if needed.
2014-01-23 14:07:55 +01:00
msolujic
03ed0b5fef DATACOUCH-62 updated Couchbase Java SDK to latest stable version 2014-01-22 14:36:51 +01:00
Michael Nitschinger
8caabaf83b Merge pull request #26 from msolujic/master
Added stable spring data repository to README.md
2014-01-16 06:00:52 -08:00
msolujic
1400c0090e Added stable spring data repository to README.md 2014-01-16 12:32:29 +01:00
Ken Dombeck
15ad87a82f DATACOUCH-58 allow for null values to be persisted for List elements and Map values. 2014-01-09 15:06:11 +01:00
Andrzej Wislowski
b11fc6c53c DATACOUCH-53 - protection against NPE on CouchbaseCache when putting null as a value 2014-01-09 14:41:11 +01:00
David Harrigan
7d79d79e28 DATACOUCH-30 - ObjectMapper configuration must be supported
Allow for a custom ObjectMapper to be used.
2014-01-09 14:32:18 +01:00
Michael Nitschinger
51dea603de DATACOUCH-60 - Update Dependencies 2014-01-09 14:23:03 +01:00
Michael Nitschinger
1ab5dd1b93 DATACOUCH-56 - Update Couchbase Client to 1.2.3 2013-12-04 10:46:33 +01:00
Michael Nitschinger
97993c2409 DATACOUCH-51 - Call replace on batch update.
This changeset fixes a typo that exposed the wrong write semantics
when calling update().
2013-12-04 10:36:20 +01:00
Spring Buildmaster
3f9d5030c4 DATACOUCH-46 - Prepare next development iteration. 2013-11-14 13:21:23 -08:00
Spring Buildmaster
b85405e581 DATACOUCH-46 - Release version 1.0.0.M2. 2013-11-14 13:21:21 -08:00
Oliver Gierke
189ec98b93 DATACOUCH-46 - Final preparations for 1.0 M2.
Upgraded to Spring Data Commons 1.6.2. Added necessary Maven plugins to actually build a distribution ZIP. Polished changelog and notice.txt.
2013-11-14 21:16:00 +00:00
Michael Nitschinger
a244d97dac DATACOUCH-46 - Add release notes for M2 2013-11-14 14:31:26 +01:00
David Harrigan
1fc662b7cb DATACOUCH-35 - Can't deserialize Class fields.
Similar to Enums, Classes aren't a simple type, therefore have to handle using
the configured ObjectMapper.

-=david=-
2013-11-13 11:29:49 +01:00
Michael Nitschinger
5b6e8764b0 DATACOUCH-43 - Correctly encode non-ASCII characters. 2013-11-12 11:10:58 +01:00
Michael Nitschinger
51421d9c05 DATACOUCH-45 - Upgrade Couchbase Java Client to 1.2.2 2013-11-12 10:24:30 +01:00
Michael Nitschinger
887c014ac2 DATACOUCH-16 - updating readme for new features. 2013-10-16 13:42:56 +02:00
Michael Nitschinger
ad7bcf057c DATACOUCH-41 - Update Couchbase SDK to 1.2.1 2013-10-16 13:22:19 +02:00
Michael Nitschinger
694b67ae36 DATACOUCH-40 - Make ClusterInfo more reliable on the values returned. 2013-10-16 13:05:11 +02:00
David Harrigan
47a0125642 Some little tidy-ups on the codebase.
-=david=-
2013-10-16 12:52:41 +02:00
David Harrigan
d1779a5d73 DATACOUCH-38 - Can't Deserialize Enum.
Enums, even although they are a simple type, must not use writeSimpleObject
since there is no "handler" in writeSimpleObject for Enums. Instead, we just
drop back to using the built-in ObjectMapper for handling enums.

-=david=-
2013-10-16 12:35:04 +02:00
David Harrigan
fa397759e3 DATACOUCH-37 - Refactor Deprecated JUnit Asserts.
Removed deprecated methods and changed to Hamcrest.

-=david=-
2013-10-16 12:23:17 +02:00
Michael Nitschinger
46566b9479 DATACOUCH-39 - fix bundlor template. 2013-10-16 12:19:46 +02:00
David Harrigan
48385c965a DATACOUCH-16 - Allow View customization through @View annotations.
An initial first attempt at allowing for basic View customization using the
@View annotation.

For now, it does not support "dynamic" finders, such as findByUsername, but
I'm sure it will come shortly aftewards.

Also added in hamcrest library to gradually transistion deprecated JUnit
methods to a better assertion library :-)

-=david=-
2013-10-16 12:01:21 +02:00
Michael Nitschinger
8ade60937a Merge pull request #5 from mzasada/DATACOUCH-27
DATACOUCH-27: Mapping @Id field with MappingCouchbaseConverter
2013-10-10 03:08:29 -07:00
Michael Nitschinger
6896195e6b Merge pull request #11 from dharrigan/DATACOUCH-34
DATACOUCH-34 - Can't deserialize long/Long/Date fields.
2013-10-10 00:34:03 -07:00
David Harrigan
af5cfe894e DATACOUCH-34 - Can't deserialize long/Long/Date fields.
Make the test more robust, check the set value against the returned value.
2013-10-10 08:29:23 +01:00
Michael Nitschinger
5ae7c76176 Merge pull request #10 from dharrigan/DATACOUCH-34
DATACOUCH-34 - Can't deserialize long/Long/Date fields.
2013-10-10 00:26:32 -07:00
Maciej Zasada
c4aa3643e8 DATACOUCH-27 - Code review suggestions. 2013-10-09 23:17:05 +02:00
Maciej Zasada
0fa284e534 Merge branch 'master' into DATACOUCH-27
Conflicts:
	.gitignore
2013-10-09 23:12:24 +02:00
David Harrigan
6fd4d925fb DATACOUCH-34 - Can't deserialize long/Long/Date fields.
Catch the attempt to parse a long as an int, then attempt to return a long value.

-=david=-
2013-10-09 16:57:46 +01:00
Michael Nitschinger
270f573ab3 Merge pull request #9 from dharrigan/DATACOUCH-36
DATACOUCH-36 - Don't allow NULL values to be stored.
2013-10-08 09:32:37 -07:00
David Harrigan
0323d1fdba DATACOUCH-36 - Don't allow NULL values to be stored.
It is illegal to store a NULL value as a document. An attempt to do so will
throw an IllegalArgumentException.

-=david=-
2013-10-08 15:51:02 +01:00
Michael Nitschinger
740ddc9256 DATACOUCH-32 - Upgrade Dependencies 2013-10-01 09:43:29 +02:00
Michael Nitschinger
b4ec50262d DATACOUCH-31 - Ignore IntelliJ files 2013-10-01 09:37:33 +02:00
Maciej Zasada
c62ad426e3 DATACOUCH-27: Mapping @Id field with MappingCouchbaseConverter
Fixed @Id field rewriting from CouchbaseDocument into domain object.
More info can be found at DATACOUCH-27 JIRA issue.
2013-09-18 23:14:28 +02:00
Spring Buildmaster
b489f09924 DATACOUCH-2 - Prepare next development iteration. 2013-09-11 20:38:19 -07:00
Spring Buildmaster
351f7594cb DATACOUCH-2 - Release version 1.0.0.M1. 2013-09-11 20:38:18 -07:00
Oliver Gierke
a0cbd7533b DATACOUCH-2 - Prepare 1.0.0.M1. 2013-09-11 20:34:26 -07:00
Michael Nitschinger
d4345fa944 Small README clarification. 2013-08-20 20:58:37 +02:00
Michael Nitschinger
da73fb8b46 DATACOUCH-26 - Upgrade the Couchbase Client to 1.1.9 2013-08-12 11:45:35 +02:00
Michael Nitschinger
3cad396e3d DATACOUCH-6 - Updating README. 2013-08-12 08:02:10 +02:00
Michael Nitschinger
e0e8b63d93 DATACOUCH-19 - adding logging for bucket creation. 2013-07-29 13:37:27 +02:00
Michael Nitschinger
3a72ca7f96 DATACOUCH-19 - adding optional bucket creation step. 2013-07-29 13:19:54 +02:00