127 Commits

Author SHA1 Message Date
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
Michael Nitschinger
a1279c971e DATACOUCH-19 - change testing to not use bucket manager. 2013-07-29 11:58:19 +02:00
Oliver Gierke
b701c59ea3 DATACOUCH-19 - Further test tweaks. 2013-07-29 11:01:52 +02:00
Oliver Gierke
898a892525 DATACOUCH-19 - Polished test setup in preparation for CI setup.
Renamed *Test to *Tests. Reduced connection timeout. Added logback.xml to reduce logging output.
2013-07-29 10:15:24 +02:00
Michael Nitschinger
0d7c2df2a6 DATACOUCH-24 - Adding testing for view-bases ops in template & repository. 2013-07-29 07:50:27 +02:00
Michael Nitschinger
bdca0bf0a4 Merge pull request #4 from jreijn/master
DATACOUCH-22: Add plugin repo to be able to resolve bundlor.maven plugin
2013-07-26 02:00:46 -07:00
Michael Nitschinger
ef3ad73268 DATACOUCH-23 - Make tests clean buckets, Import cleanup. 2013-07-26 10:58:45 +02:00
Jeroen Reijn
80dbab17b1 DATACOUCH-22: Add plugin repo to be able to resolve bundlor.maven plugin
The build fails on my local machine due to the
com.springsource.bundlor.maven plugin not being available in any public
know maven repo and also non project configured maven repo.

Corrected indentation of pom file for readability

Some more housekeeping. The expression ${groupId} is deprecated. ${project.groupId} should be used instead.
2013-07-25 16:37:43 +02:00
Michael Nitschinger
4511387d8e DATACOUCH-21 - Documentation and Formatting improvements 2013-07-18 12:48:21 +02:00
Michael Nitschinger
ab252f8924 DATACOUCH-6 - Add simple support for XML config 2013-07-17 14:58:51 +02:00
Michael Nitschinger
2ed710cfa2 DATACOUCH-6 - add support for xml-based configurations 2013-07-16 14:17:47 +02:00
Michael Nitschinger
dd9c3eda8c DATACOUCH-17 - Make ops sync & map exceptions 2013-07-16 10:25:36 +02:00
Michael Nitschinger
2eedc4bd7d DATACOUCH-15 - Upgrade the Couchbase Java Client to 1.1.8 2013-07-16 07:50:42 +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
870cbac5e8 DATACOUCH-7, DATACOUCH-9 - Implement View support in Template + Repository
This changeset implements basic view support for both the CRUDRepository
and the underlying template imeplementation. Note that customization is
currently missing, we'll provide a @View annotation that lets you
customize behavior.
2013-06-27 14:26:05 +02:00
Michael Nitschinger
790d8f84af DATACOUCH-13 - Upgrade couchbase-client to 1.1.7
This upgrades the couchbase-client dependency to the latest
bugfix release, preparing support for slf4j and others.
2013-06-10 11:36:41 +02:00
Michael Nitschinger
3d4d8059e8 DATACOUCH-8 - Overhaul Readme 2013-06-04 09:39:21 +02:00
Michael Nitschinger
afab31ff2f DATACOUCH-11 - Upgrading Jackson to the last stable release 2013-06-03 15:21:13 +02:00
Michael Nitschinger
407adf96df DATACOUCH-10 - Upgrade parent POM to 1.1.0.RELEASE 2013-06-03 15:21:13 +02:00
Michael Nitschinger
ab3e087b12 DATACOUCH-4 - Add Apache2 License Headers and @author field. 2013-06-03 13:56:26 +02:00
Oliver Gierke
a0b3335084 DATACOUCH-3 - Renamed base package to org.springframework.data.couchbase. 2013-06-01 11:47:32 +02:00
Oliver Gierke
4999f23f09 DATACOUCH-1 - Upgraded to use Spring Data build parent.
Upgraded to Spring Data Commons 1.6.0.BUILD-SNAPSHOT.
2013-06-01 11:32:24 +02:00
Michael Nitschinger
77cac7adfe adding interface back to make it all work. 2013-05-29 13:15:45 +02:00
Michael Nitschinger
ffbff4a416 Initial support for JavaConfig repositories 2013-05-29 12:50:45 +02:00
Michael Nitschinger
74e9a86f82 allow remove with both string id and object. 2013-05-29 12:34:52 +02:00
Michael Nitschinger
e44e01559e verify that maps work as well. 2013-05-29 12:31:50 +02:00
Michael Nitschinger
4c320a9473 Adding initial CRUD repository implementation. 2013-05-29 12:22:27 +02:00
Michael Nitschinger
a307d8f595 Adding client and cluster JMX stats. 2013-05-29 10:13:24 +02:00
Michael Nitschinger
7f1dbfaa1d Adding more JMX infos. 2013-05-28 16:18:37 +02:00