36 Commits

Author SHA1 Message Date
Oliver Gierke
1a2a5d4619 DATACASS-220 - Downgrade to Cassandra driver 2.1.5.
The integration tests constantly fail on Bamboo on 2.1.6 and seem to be fine on 2.1.5. Downgraded until further diagnose.
2015-06-22 12:00:07 +02:00
Oliver Gierke
9e6663582e DATACASS-220 - Upgraded to Cassandra driver 2.1.6.
Adapted API change in TestLatencyTracker *sigh*.
2015-06-19 12:25:32 +02:00
David Webb
c8604afa3b DATACASS-176: CassandraCqlClusterFactoryBean doesn't consider
maxConnections while validating coreConnection values 

Task-Url: https://jira.spring.io/browse/DATACASS-176

Renamed test class
Added logic to FactoryBean to work around bug with DSE Driver.
2015-01-27 10:46:03 -05:00
David Webb
41d68ac541 Merge pull request #26 from sksumit1/patch-1
Fixing the bug in the file CassandraCqlClusterFactoryBean
2015-01-27 08:53:56 -05:00
David Webb
72e251bb59 DATACASS-198: Upgrade for Cassandra 2.1 Support
Task-Url: https://jira.spring.io/browse/DATACASS-198

Making Session static to prevent too many open files and to follow
best practices in C* Java Driver.
2015-01-26 15:26:45 -05:00
David Webb
e1a197170b DATACASS-198: Upgrade for Cassandra 2.1 Support
Task-Url: https://jira.spring.io/browse/DATACASS-198
2015-01-26 15:18:22 -05:00
David Webb
c7e4320999 DATACASS-197: Reconsider usage of ingestions for general CQL test cases
Task-Url: https://jira.spring.io/browse/DATACASS-197
2015-01-26 11:33:42 -05:00
David Webb
83e0b30e2a DATACASS-197: Reconsider usage of ingestions for general CQL test cases
Task-Url: https://jira.spring.io/browse/DATACASS-197
2015-01-26 10:34:51 -05:00
Oliver Gierke
aaa77690c8 DATACASS-196 - Improve usage of embedded Cassandra in integration tests.
Moved to non-static fields for Cassandra Cluster and Session and properly connect and close resources in @Before/@After callbacks.

Added missing license headers where necessary.
2015-01-21 16:34:02 +01:00
sksumit1
8a821a23ee fix for https://jira.spring.io/browse/DATACASS-176 2014-11-01 10:58:31 +05:30
sksumit1
a04af72b46 Fixing the bug in the file
The max values should be set before setting core values.
Otherwise the core values will be compared with the default max values which is 8.

The stacktrace as below

Caused by: java.lang.IllegalArgumentException: Min simultaneous requests per connection for LOCAL hosts must be less than max (110 > 100)
	at com.datastax.driver.core.PoolingOptions.checkRequestsPerConnectionOrder(PoolingOptions.java:317)
	at com.datastax.driver.core.PoolingOptions.setMinSimultaneousRequestsPerConnectionThreshold(PoolingOptions.java:118)
	at org.springframework.cassandra.config.PoolingOptionsFactoryBean.afterPropertiesSet(PoolingOptionsFactoryBean.java:62)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1613)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550)
	... 19 more
2014-10-29 17:48:15 +05:30
Matthew Adams
ff41674809 DATACASS-144: done; rebased all branch commits 2014-09-24 15:23:59 -05:00
Matthew Adams
ad08cc4065 DATACASS-168: made BasicQueryCancellor public 2014-09-22 12:15:45 -05:00
Matthew Adams
d1edce4f7e DATACASS-168: Enable cancellation of asynchronous CqlOperations methods 2014-09-22 11:44:20 -05:00
Matthew Adams
347accc8d6 lowered build's logging verbosity 2014-09-17 06:06:26 -05:00
Matthew Adams
f921553fb5 DATACASS-159 2014-08-27 10:08:39 -05:00
Matthew Adams
d4e1839b8f DATACASS-158 2014-08-27 08:54:16 -05:00
Matthew Adams
542948d042 DATACASS-157: added throw directive 2014-08-26 17:46:10 -05:00
Matthew Adams
0cc4b396eb DATACASS-152 2014-08-19 10:06:01 -05:00
David Webb
71eee6de31 DATACASS-136 - CLOSED - Updated dependencies.
Moved cassandra-all to scope test (left over from DSJD 1.X days)
Newest DSJD
Newest C* 2.0.X
2014-08-08 23:32:32 -04:00
David Webb
54910a1b17 DATACASS-139 - IN PROGRESS - Added PreparedStatement Cache for
Performance Requirement.
2014-07-05 00:50:29 -04:00
David Webb
07439c2dde DATACASS-137 - Completed
Added mapping for 3 new ConsistencyLevels.
2014-06-12 00:12:52 -04:00
David T Webb
ed3e91cee7 DATACASS-133 - Resolved - Upgraded DSE driver from 2.0.1 to 2.0.2 per
DataStax recommendation.  All tests passing.
2014-05-19 14:40:44 -04:00
David T Webb
8edc4ce1a9 DATACASS-126 - Added DataStax Java Driver 2.0.1 dependency and
cassandra-unit 2.0.X dependency.

Full support for Cassandra 2.0.X
2014-04-29 09:45:14 -04:00
Matthew Adams
cbae1298f4 DATACASS-121 - fixed Date querying 2014-04-04 11:00:05 -05:00
Matthew Adams
e58a1eb186 DATACASS-121 - fixed ISO8601 to use Java 6 timezone pattern 2014-04-03 17:23:07 -05:00
Matthew Adams
604fa5dea7 DATACASS-121 - fixed ISO8601 date format timezone 2014-04-03 17:14:31 -05:00
Matthew Adams
9109bada64 DATACASS-121 - Automatically quote string-like parameter values in @Query methods 2014-04-03 17:08:13 -05:00
David T Webb
3ab62a1dda DATACASS-116 - Completed
Enhanced executeAsychronously() API.
2014-03-27 15:34:49 -04:00
David T Webb
bfa943b0f9 DATACASS-114 - Fixed bug that crept in after refactoring
applyQueryOptions/applyWriteOptions.
2014-03-21 16:07:26 -04:00
David T Webb
482661268d DATACASS-114 - Added WriteOptions with TTL support in CqlOperations and
CassandraOperations.
2014-03-21 12:35:12 -04:00
David T Webb
647b608402 DATACASS-89: Add overloaded methods to CqlOperations that use strongly
typed Query objects 

Task-Url: https://jira.springsource.org/browse/DATACASS-89
2014-03-20 14:52:21 -04:00
David T Webb
3fa378b08b Merge branch 'master' of local repository into DATACASS-89 2014-03-19 09:43:27 -04:00
David T Webb
1741b9c322 DATACASS-89: Add overloaded methods to CqlOperations that use strongly
typed Query objects 

Task-Url: https://jira.springsource.org/browse/DATACASS-89
2014-03-18 11:58:00 -04:00
Matthew Adams
8f43e531a6 DATACASS-107 - basic @Query methods working 2014-03-05 11:27:28 -06:00
Matthew Adams
97d55bcc7a DATACASS-80 - renamed module spring-cassandra -> spring-cql, xml namespace from .../cassandra -> .../cql, + classes 2014-02-26 16:44:34 -06:00