Simon Baslé
a24214b2e6
Merge pull request #49 from simonbasle/events
...
[SDK2] added back events
2015-06-30 09:17:01 +02:00
Simon Baslé
151a499c54
Merge pull request #50 from simonbasle/queryAdHoc
...
[SDK2] findByXXXQuery improvements
implement findByQuery by allowing TranslationService to unmarshall an adhoc fragment of JSON (the N1QL rows).
added error handling for both findByView and findByQuery.
also fixed the template trying to set a Version field even if no such field is declared in the EntityClass.
2015-06-29 20:58:58 +02:00
Simon Baslé
b6257e226f
only evaluate debug log is isDebugEnabled
2015-06-29 20:51:24 +02:00
Simon Baslé
5c34b7d0c4
add error handling for Query and ViewQuery methods
2015-06-29 19:56:14 +02:00
Simon Baslé
81d13ff6f7
allow adhoc unmarshalling for individual n1ql results
2015-06-29 19:54:08 +02:00
Simon Baslé
f1c0157fee
fix template setting version even if no such field
2015-06-29 19:49:26 +02:00
Simon Baslé
87bf10a076
re-add event notifications to template
2015-06-29 18:36:10 +02:00
Simon Baslé
bd4f963d70
better separate integration/unit testing + fix template constructor order
2015-06-29 18:23:04 +02:00
Simon Baslé
7ead531f4a
integration test for N1QL query, prepare one for find
2015-06-29 17:00:08 +02:00
Simon Baslé
0afeb0bf87
implement template using SDK 2.x + tests
2015-06-29 16:45:08 +02:00
Simon Baslé
b80736bf60
parse translationService and utility methods in template
2015-06-27 14:31:33 +02:00
Simon Baslé
def017408c
exception handling for SDK 2.x
2015-06-27 14:07:25 +02:00
Simon Baslé
56cf714ef8
added back the convert and mapping packages from 1.x
2015-06-22 19:52:45 +02:00
Simon Baslé
38d440a2e8
fallback to couchbaseEnv default env reference if none explicitely set
2015-06-22 12:11:46 +02:00
Simon Baslé
14e08e9717
cleanup of xsd and documentation
2015-06-22 11:54:25 +02:00
Simon Baslé
be46d1bdcd
parser for the bucket definition
2015-06-22 11:19:11 +02:00
Simon Baslé
4d944d9489
parser for the cluster definition
2015-06-22 10:33:36 +02:00
Simon Baslé
c3098bd760
xml conf for CouchbaseEnvironment and Cluster
...
parser, factoryBean and test for CouchbaseEnvironment
starting parser for Cluster
2015-06-19 17:03:24 +02:00
Simon Baslé
094d02703a
prepare xml schemas for 2.0 environment
2015-06-19 17:00:01 +02:00
Simon Baslé
9b824c8a4b
simplify management of CouchbaseEnvironment bean
2015-06-16 19:51:59 +02:00
Simon Baslé
1059329646
add abstract Configuration
...
the proxy for CouchbaseEnvironment allows shared env to be added to Spring.
bean names have been set back to be prefixed by "couchbase".
2015-06-16 18:12:40 +02:00
Simon Baslé
b246614263
re-introduce @Document and @Field
2015-06-16 17:16:52 +02:00
Simon Baslé
259823afb3
implement basic configurations + monitoring
2015-06-16 16:38:31 +02:00
Simon Baslé
3041a76439
prepare bare template class, use preview of SDK 2.2.0
...
template will be in same package as 1.x generation, that is "core"
2015-06-16 16:35:59 +02:00
Simon Baslé
366a333b68
prepare project structure, import some files from generation 1
...
the documentation will have to be revisited and has been put into a "old-to-migrate" subfolder.
the resources is lacking Spring specific manifests among other things.
2015-06-15 16:46:01 +02:00