Commit Graph

135 Commits

Author SHA1 Message Date
Mark Paluch
9503c8bd03 DATACASS-437 - Prepare 1.5.4 (Ingalls SR4). 2017-06-08 10:56:03 +02:00
Mark Paluch
df69f90bf5 DATACASS-457 - Remove relativePath from parent in top-level pom.
Remove relativePath to prevent accidental usage of a parent that is reachable because of the project directory layout.
2017-06-07 13:12:15 +02:00
Oliver Gierke
eb0711dac7 DATACASS-432 - After release cleanups. 2017-04-19 20:01:14 +02:00
Oliver Gierke
31fae6575f DATACASS-432 - Prepare next development iteration. 2017-04-19 20:01:12 +02:00
Oliver Gierke
1b66998bbb DATACASS-432 - Release version 1.5.3 (Ingalls SR3). 2017-04-19 19:32:38 +02:00
Oliver Gierke
de22447f88 DATACASS-432 - Prepare 1.5.3 (Ingalls SR3). 2017-04-19 19:32:01 +02:00
Oliver Gierke
e61925e5eb DATACASS-410 - After release cleanups. 2017-04-19 11:48:45 +02:00
Oliver Gierke
c69cac6799 DATACASS-410 - Prepare next development iteration. 2017-04-19 11:48:41 +02:00
Oliver Gierke
83bf2172d1 DATACASS-410 - Release version 1.5.2 (Ingalls SR2). 2017-04-19 10:11:28 +02:00
Oliver Gierke
254a25b72f DATACASS-410 - Prepare 1.5.2 (Ingalls SR2). 2017-04-19 10:10:47 +02:00
Oliver Gierke
b36922d7db DATACASS-392 - After release cleanups. 2017-03-02 10:21:49 +01:00
Oliver Gierke
9c52b5938f DATACASS-392 - Prepare next development iteration. 2017-03-02 10:21:33 +01:00
Oliver Gierke
abe34fa104 DATACASS-392 - Release version 1.5.1 (Ingalls SR1). 2017-03-02 09:41:26 +01:00
Oliver Gierke
75ec5f9d0d DATACASS-392 - Prepare 1.5.1 (Ingalls SR1). 2017-03-02 09:33:25 +01:00
Oliver Gierke
d9213df440 DATACASS-373 - After release cleanups. 2017-01-26 10:57:47 +01:00
Oliver Gierke
b14ce4726d DATACASS-373 - Prepare next development iteration. 2017-01-26 10:57:44 +01:00
Oliver Gierke
826d00f953 DATACASS-373 - Release version 1.5 GA (Ingalls). 2017-01-26 10:27:10 +01:00
Oliver Gierke
7835f5ebe1 DATACASS-373 - Prepare 1.5 GA (Ingalls). 2017-01-26 10:26:35 +01:00
Mark Paluch
026efc719f DATACASS-390 - Upgrade to Cassandra Driver 3.1.3. 2017-01-25 11:07:48 +01:00
Mark Paluch
efba60b72f 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:46:37 +01:00
Mark Paluch
066740f004 DATACASS-380 - Upgrade to Cassandra Driver 3.1.2. 2017-01-03 16:03:08 +01:00
Oliver Gierke
f1a98f54b4 DATACASS-327 - After release cleanups. 2016-12-21 16:33:12 +01:00
Oliver Gierke
d2d5fd5eef DATACASS-327 - Prepare next development iteration. 2016-12-21 16:33:09 +01:00
Oliver Gierke
beb38a955e DATACASS-327 - Release version 1.5 RC1 (Ingalls). 2016-12-21 16:16:50 +01:00
Oliver Gierke
cd5a65e908 DATACASS-327 - Prepare 1.5 RC1 (Ingalls). 2016-12-21 16:15:47 +01:00
Mark Paluch
a2d74d8535 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:22:45 -08: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
Antoine Toulme
a920b530df DATACASS-271 - Upgrade to Cassandra 3.0.
This commit adds support for Cassandra 3.x with upgrading to Datastax Driver 3.0.0. Data type deserialization is performed using the CodecRegistry.

Original pull request: #52.
Related ticket: DATACASS-169.
2016-05-20 12:54:11 -07:00
John Blum
a1e75b3857 DATACASS-219 - On startup CREATE TABLE from entities should only add 'if not exists'. 2016-05-10 20:04:25 -07:00
Mark Paluch
c33d509b8e DATACASS-255 - Cassandra Test cleanup.
Replace CassandraUnit test rule with own test rule that honors the external/embedded Cassandra preference. Move Cassandra server initialization into CassandraRule. Introduce a KeyspaceRule to provide managed keyspaces on test class level. Allow cached cluster connections by enabling CassandraRule as class rule. A test that requires a running Cassandra instance needs to either extend the AbstractEmbeddedCassandraIntegrationTest or add the test rule CassandraRule to its test.

Consolidate connection properties (before merging the spring-cql and spring-data-cassandra modules) and simplify config properties classes. Add cleanup after the test run to remove temporary keyspaces. This change allows repeating test runs on a stateful Cassandra instance (e.g. an externally started Cassandra instance). Rename config file and change references to renamed files to support the consolidated connection properties in context config files.
Removed FunkyIdentifierIntegrationTest as it only tests creating tables using reserved Cassandra words. Spring Data Cassandra does not constrain CQL identifiers so maybe later we'll add a test to verify the implemented rules.

Exclude logback-core dependency from cassandra-all. Remove jamm dependency in tests as it's not used. Removed cassandra-unit dependency as the usage is very little. Removed unnecessary hector dependency.

Rename all integration tests to end with "IntegrationTests" and unit tests to end with "UnitTests". Move unit tests to the system under test package to enable testing of package-private types and members. Add missing license headers and author tags. Reformat all test code using the Spring Data Eclipse formatting.

Original pull request: #51
2016-05-10 11:01:33 +02:00
Oliver Gierke
e3186813c5 DATACASS-264 - After release cleanups. 2016-04-06 16:37:02 +02:00
Oliver Gierke
a453c5e961 DATACASS-264 - Prepare next development iteration. 2016-04-06 16:36:59 +02:00
Oliver Gierke
ecf88c24d3 DATACASS-264 - Release version 1.4 GA (Hopper). 2016-04-06 16:35:58 +02:00
Oliver Gierke
5a1384a098 DATACASS-264 - Prepare 1.4 GA (Hopper). 2016-04-06 16:34:45 +02:00
Oliver Gierke
601e2d0df3 DATACASS-256 - After release cleanups. 2016-03-18 11:16:07 +01:00
Oliver Gierke
e572723e34 DATACASS-256 - Prepare next development iteration. 2016-03-18 11:15:51 +01:00