Commit Graph

144 Commits

Author SHA1 Message Date
Oliver Gierke
044adb0635 DATACASS-478 - Prepare next development iteration. 2017-07-25 16:10:33 +02:00
Oliver Gierke
0918075327 DATACASS-478 - Release version 2.0 RC2 (Kay). 2017-07-25 15:34:23 +02:00
Oliver Gierke
9800c953e5 DATACASS-478 - Prepare 2.0 RC2 (Kay). 2017-07-25 15:33:32 +02:00
Oliver Gierke
42b2a42db9 DATACASS-464 - After release cleanups. 2017-07-25 10:00:08 +02:00
Oliver Gierke
11297949f3 DATACASS-464 - Prepare next development iteration. 2017-07-25 10:00:03 +02:00
Oliver Gierke
4b483a24b5 DATACASS-464 - Release version 2.0 RC1 (Kay). 2017-07-25 09:48:48 +02:00
Oliver Gierke
ea70bdbf36 DATACASS-464 - Prepare 2.0 RC1 (Kay). 2017-07-25 09:48:01 +02:00
Mark Paluch
e4606320d3 DATACASS-472 - Upgrade to Cassandra driver 3.3.0. 2017-06-27 08:51:18 +02:00
Mark Paluch
51d6704f36 DATACASS-442 - After release cleanups. 2017-06-14 17:14:08 +02:00
Mark Paluch
7eff51a524 DATACASS-442 - Prepare next development iteration. 2017-06-14 17:14:07 +02:00
Mark Paluch
7368c623ad DATACASS-442 - Release version 2.0 M4 (Kay). 2017-06-14 17:03:48 +02:00
Mark Paluch
d7e836b1e9 DATACASS-442 - Prepare 2.0 M4 (Kay). 2017-06-14 17:03:00 +02:00
Mark Paluch
19c1e35a01 DATACASS-265 - Merge Spring CQL into Spring Data Cassandra module. 2017-05-23 16:22:31 +02:00
Mark Paluch
08f1e66160 DATACASS-426 - After release cleanups. 2017-05-09 11:34:42 +02:00
Mark Paluch
7323f4ab69 DATACASS-426 - Prepare next development iteration. 2017-05-09 11:34:41 +02:00
Mark Paluch
29d42f0866 DATACASS-426 - Release version 2.0 M3 (Kay). 2017-05-09 11:23:00 +02:00
Mark Paluch
11777321b5 DATACASS-426 - Prepare 2.0 M3 (Kay). 2017-05-09 11:22:12 +02:00
Mark Paluch
0ff0f2348b DATACASS-429 - Assert compatibility with Duration type.
We now test compatibility with Apache Cassandra's duration type (introduced with Apache Cassandra 3.10). Duration requires a driver version >= 3.2.0 so we drop build profiles against earlier driver versions and use Apache Cassandra 3.10 for integration tests.
2017-04-19 14:24:59 +02:00
Mark Paluch
dfc53b635a DATACASS-424 - Upgrade to Cassandra driver 3.2.0.
Enforce frozen user types in collection types when creating tables and frozen user types when referencing a user type from another type. Previously, the driver returned frozen user-types and no interaction from our side was required. Move user-type specifics to UserTypeUtil.

Introduce compatibility code within the tests to build against different driver versions.
2017-04-19 14:24:59 +02:00
Oliver Gierke
e11e3f8c0e DATACASS-358 - After release cleanups. 2017-04-04 22:08:18 +02:00
Oliver Gierke
2eb1de1ebc DATACASS-358 - Prepare next development iteration. 2017-04-04 22:08:13 +02:00
Oliver Gierke
3b24832f4e DATACASS-358 - Release version 2.0 M2 (Kay). 2017-04-04 21:12:35 +02:00
Oliver Gierke
59ce85641c DATACASS-358 - Prepare 2.0 M2 (Kay). 2017-04-04 21:12:01 +02:00
John Blum
0b7be71a7b DATACASS-421 - Remove relative path to Spring Data Build parent POM. 2017-03-24 11:51:18 -07:00
Mark Paluch
455d3f82fc DATACASS-419 - Remove unused dependency declarations.
Remove el-api and cdi-api from Spring CQL. Remove jsr250-api, el-api, validation-api and hibernate-validator from Spring Data Cassandra.
2017-03-24 14:56:34 +01:00
Mark Paluch
ed7565273e DATACASS-418 - Remove Jackson 1 usage. 2017-03-24 10:57:52 +01:00
Mark Paluch
15b9aa1aaf DATACASS-390 - Upgrade to Cassandra Driver 3.1.3. 2017-01-25 11:07:53 +01:00
Mark Paluch
7563e9b27e DATACASS-381 - Improve integration test stability.
Reuse Thread pools during integration test runs to not recreate and dispose Threads multiple times. Increase build and Cassandra memory. Use an external Cassandra instance for TravisCI build jobs.
2017-01-20 09:43:40 +01:00
Mark Paluch
1cba62f887 DATACASS-380 - Upgrade to Cassandra Driver 3.1.2. 2017-01-03 16:10:21 +01:00
Mark Paluch
b5ace86df9 DATACASS-272 - Enhance the SD Cassandra Reference Guide.
Align documentation structure with other Spring Data Modules. Add chapters for mapping and supported data types. Add new features chapter. Merge existing documentation into the aligned structure. Add John Blum and Mark Paluch to pom.xml.
2016-12-14 00:29:01 -08:00
Oliver Gierke
9c7de502b9 DATACASS-354 - After release cleanups. 2016-11-23 10:59:10 +01:00
Oliver Gierke
76e179467b DATACASS-354 - Prepare next development iteration. 2016-11-23 10:59:08 +01:00
Oliver Gierke
c13c6fa4d6 DATACASS-354 - Release version 2.0 M1 (Kay). 2016-11-23 10:35:47 +01:00
Oliver Gierke
08d4d0b279 DATACASS-354 - Prepare 2.0 M1 (Kay). 2016-11-23 10:35:08 +01:00
Mark Paluch
3c80b2cb80 DATACASS-329 - Set up 2.0 development. 2016-10-25 09:37:49 +02:00
Mark Paluch
8ff1f0e3fc DATACASS-333 - Switch tests to AssertJ. 2016-10-25 09:37:13 +02:00
Mark Paluch
071c101c28 DATACASS-344 - Upgrade Cassandra Driver to 3.1.1.
We are now compatible with Datastax’ Cassandra Driver 3.1.1 and support the newly introduced configuration options MaxQueueSize for PoolingOptions.

This change also removes test assertions for PoolTimeoutMillis as this option was deprecated and made unusable with 3.1.1.
2016-10-12 14:11:47 +02:00
Mark Paluch
b07c708c7c DATACASS-346 - Upgrade embedded Cassandra to 3.9. 2016-10-12 12:25:45 +02:00
Mark Paluch
c3ee567196 DATACASS-339 - Rename Spring Data Cassandra to Spring Data for Apache Cassandra. 2016-09-21 09:47:46 +02:00
Mark Paluch
5465afdbcf DATACASS-331 - Include netty as transient dependency of cassandra-driver-core.
Remove the previously added netty dependency exclusion in 237ac88 to include netty as transient dependency. Netty was excluded because of a dependency conflict between cassandra-driver-dse and cassandra-all. The conflict gets visible during build-time on CI hosts with symptoms of 100% CPU usage or network timeouts.

We now use cassandra-all 3.7 and cassandra-driver-core 3.1.0 which both require netty 4.0.37.Final.

Related pull request: #43.
2016-08-23 08:45:40 +02:00
Mark Paluch
cba267e80a DATACASS-334 - Upgrade embedded Cassandra to 3.7. 2016-08-23 08:45:30 +02:00
Mark Paluch
c4cb79aab5 DATACASS-332 - Assert compatibility with Cassandra driver 3.1.0. 2016-08-22 10:27:47 +02:00
Oliver Gierke
e6f4822450 DATACASS-269 - After release cleanups. 2016-07-27 14:32:37 +02:00
Oliver Gierke
229dbce133 DATACASS-269 - Prepare next development iteration. 2016-07-27 14:32:34 +02:00
Oliver Gierke
96d21eda0d DATACASS-269 - Release version 1.5 M1 (Ingalls). 2016-07-27 13:52:12 +02:00
Oliver Gierke
24a0d65648 DATACASS-269 - Prepare 1.5 M1 (Ingalls). 2016-07-27 13:51:37 +02:00
Mark Paluch
332443f9fa DATACASS-315 - Upgrade Cassandra Driver to 3.0.3. 2016-07-15 14:14:23 +02:00
Mark Paluch
66a69c0926 DATACASS-296 - Use CustomConversions for JSR-310, Joda and ThreeTen Backport types.
We now allow registering CustomConversions to register custom converters (read and write targets). CustomConversions registers by default JSR-310, Joda Time and ThreeTen backport type converters.
These types (LocalDate, LocalDateTime) can be used in domain classes and with query method arguments. Date-only types map to Cassandra's date type, Date and time types map to Cassandra's timestamp type. Type mapping works for singular and collection types (List and Set).

```
@Table
public Person

    @Id String id;

    java.time.LocalDate date;

    @CassandraType(type = Name.TIMESTAMP)
    java.time.LocalDate timestamp;

    List<org.threeten.bp.Instant> timestamps;
}
```

Original pull request: #68.
2016-06-29 19:21:08 -07:00
Mark Paluch
39dca76e7c DATACASS-253 - Add synchronization to CachedPreparedStatementCreator.
CachedPreparedStatementCreator is now thread-safe and synchronizes concurrent calls to statement preparation. The synchronization prevents multiple calls to Session.prepare(…) for the same session, CQL statement and keyspace.
2016-06-03 12:25:01 -07:00
Mark Paluch
be495728d9 DATACASS-271 - Polishing.
Add author tags. Add/update license headers where needed. Remove calls to deprecated methods. Adopt pooling options after the driver update. Add hints_directory for Cassandra 3.

Reduce driver baseline to core driver 3.0.1. The DSE driver requires the core driver itself and can be added as dependency to user projects while retaining full compatibility. As of now the DSE driver is rc1 hence it requires core rc1.

Use getTimestamp for timestamp type methods as the driver aligned the method to the type. Support short, byte and time. Enable LocalDate return type and add tests for native supported types.

Change long to bigint type as long was mapped to the counter type when creating tables. Align the default to bigint as bigint is the better choice since table creation uses mostly regular tables and not counter tables. Type can be overriden using @CassandraType.

We now support setting NettyOptions on CassandraCqlClusterFactoryBean and AbstractClusterConfiguration. The cassandra driver 2.1.9 changed its default shutdown behavior by introducing a 2 second quiet period when shutting down Cluster instances. This change was retained throughout the 3.0 driver which slow the test down by an order of magnitude. Configure QueryOptions on tests to prevent delays caused by the asynchronous schema refresh.

Original pull request: #56.
Related pull request: #52.
Related ticket: DATACASS-169.
2016-05-20 12:54:19 -07:00