Commit Graph

1288 Commits

Author SHA1 Message Date
Mark Paluch
a6dabe9754 DATACASS-538 - Polishing.
Remove tests for methods that do not exist.
2020-03-10 10:41:58 +01:00
Mark Paluch
1a2f999e60 DATACASS-712 - Polishing.
Reformat code.
2020-03-10 10:05:43 +01:00
Mark Paluch
699e4ca168 DATACASS-712 - Adapt to query builder API for set at list index. 2020-03-10 10:05:21 +01:00
Mark Paluch
238eb5f771 DATACASS-736 - Polishing.
Deprecate CassandraReadTimeoutException.getWasDataReceived() and introduce wasDataPresent to align with ReadTimeoutException.
2020-03-10 09:58:03 +01:00
Mark Paluch
6fee29acb3 DATACASS-736 - Upgrade to Cassandra driver 4.5.0. 2020-03-10 09:50:56 +01:00
Mark Paluch
3dcdd78bf9 DATACASS-735 - Fix integer overflow in Update.increment/decrement.
We now avoid integer downcasting for increment/decrement operations and use the long value instead.
2020-03-02 09:30:29 +01:00
Mark Paluch
d38dbf049e DATACASS-716 - Updated changelog. 2020-02-26 11:55:04 +01:00
Mark Paluch
cfe954b1b9 DATACASS-715 - Updated changelog. 2020-02-26 11:31:48 +01:00
Mark Paluch
19d53037d5 DATACASS-718 - Polishing.
Reformat code. Consider integer types also for decrement.

Use more concise assertion for toString().

Original pull request: #169.
2020-02-17 10:34:31 +01:00
chema
6409835432 DATACASS-718 - Fix Integer Overflow in Update.toString().
Original pull request: #169.
2020-02-17 10:34:31 +01:00
Mark Paluch
fd1d22fef5 DATACASS-719 - After release cleanups. 2020-02-12 15:04:22 +01:00
Mark Paluch
0a7dcb937e DATACASS-719 - Prepare next development iteration. 2020-02-12 15:04:21 +01:00
Mark Paluch
8ac95e2da3 DATACASS-719 - Release version 3.0 M3 (Neumann). 2020-02-12 14:47:16 +01:00
Mark Paluch
a4a58a626c DATACASS-719 - Prepare 3.0 M3 (Neumann). 2020-02-12 14:46:56 +01:00
Mark Paluch
4d70d8e6d3 DATACASS-719 - Updated changelog. 2020-02-12 14:46:49 +01:00
Mark Paluch
f00cde15e1 DATACASS-728 - Deprecate Joda-Time and ThreeTenBackport support.
Joda-Time and ThreeTenBackport converters are now deprecated in favor of JSR-310 (java.time) support. These converters are now in maintenance mode without receiving future enhancements.
2020-02-12 10:48:57 +01:00
Mark Paluch
84cd36ab18 DATACASS-722 - Add support for CqlDuration. 2020-02-07 12:48:35 +01:00
Mark Paluch
636fb14452 DATACASS-727 - Clean up converter registration.
We now no longer register duplicate converters but rather use a ConverterConfiguration to avoid JSR-310/Joda Time/ThreeTenBackport values to be converted to java.util.Date.

Remove also native time marker support as with JSR-310 usage this functionality is no longer required.
2020-02-07 12:48:35 +01:00
John Blum
c6de9dc003 DATACASS-721 - Replace incorrect use of FindBugs @NonNull and @Nullable annotations with equivalent Spring annotations. 2020-02-05 15:18:43 -08:00
John Blum
c4786458dc DATACASS-726 - Upgrade to DataStax Java Driver 4.4.
Fix broken tests.

Fix compiler warnings.

Replace incorrect use of FindBugs @NonNull and @Nullable annotations with equivalent Spring annoations.

Edit Javadoc.

Format source code.

Optimize imports.
2020-02-05 14:59:37 -08:00
John Blum
1021026943 DATACASS-725 - Upgrade to Apache Cassandra 3.11.5. 2020-02-05 09:22:11 -08:00
John Blum
0ff66f37a9 DATACASS-721 - Cleanup all compiler warnings.
Fix Javadoc.

Remove incorrect useage of FindBugs @NonNull and @Nullable annotations and replace with equivalent Spring annotations.
2020-02-05 09:19:46 -08:00
John Blum
5c7d16ef4c DATACASS-721 - Apply additional code polish. 2020-01-31 17:15:23 -08:00
Mark Paluch
461975cf1a DATACASS-722 - Relax test plan for LWT tests.
LWT tests are now simplified and to not attempt to issue another query as Cassandra becomes eventually consistent.
2020-01-29 11:33:02 +01:00
Mark Paluch
f29cededbb DATACASS-722 - Move off deprecated EntityInstantiators.
We now use the newly introduced EntityInstantiator at o.s.d.mapping.model and moved off the deprecated one in o.s.d.convert.
2020-01-29 11:29:34 +01:00
John Blum
6bf448adac DATACASS-721 - Refactor codebase around uses of the new DataStax 4.x Driver API. 2020-01-21 21:24:23 -08:00
Mark Paluch
c341025138 DATACASS-708 - Allow configuration of execution profile and serial consistency per statement.
We now allow configuration of the execution profile and serial consistency through QueryOptions and CassandraAccessor/ReactiveCqlTemplate. Settings are applied on a per-Statement basis. The newly ExecutionProfileResolver can resolve the profile either from a profile name or a DriverExecutionProfile object for more flexibility.

With this change, we removed the support for setting a RetryPolicy directly as the new driver 4 does not support a direct configuration of the RetryPolicy. Instead, the RetryPolicy is configured through an execution profile.
2020-01-17 13:26:35 +01:00
Mark Paluch
a3e66c3f67 DATACASS-717 - After release cleanups. 2020-01-17 09:47:50 +01:00
Mark Paluch
2d7d49937d DATACASS-717 - Prepare next development iteration. 2020-01-17 09:47:49 +01:00
Mark Paluch
cb480e3472 DATACASS-717 - Release version 3.0 M2 (Neumann). 2020-01-17 09:39:03 +01:00
Mark Paluch
6e944b0854 DATACASS-717 - Prepare 3.0 M2 (Neumann). 2020-01-17 09:38:43 +01:00
Mark Paluch
eb8ef64561 DATACASS-717 - Updated changelog. 2020-01-17 09:38:35 +01:00
Mark Paluch
848eed31a0 DATACASS-692 - After release cleanups. 2020-01-16 16:11:55 +01:00
Mark Paluch
b47669e7fd DATACASS-692 - Prepare next development iteration. 2020-01-16 16:11:54 +01:00
Mark Paluch
99d50096cd DATACASS-692 - Release version 3.0 M1 (Neumann). 2020-01-16 16:05:23 +01:00
Mark Paluch
dbc101488b DATACASS-692 - Prepare 3.0 M1 (Neumann). 2020-01-16 16:05:03 +01:00
Mark Paluch
478f82c898 DATACASS-692 - Updated changelog. 2020-01-16 16:05:00 +01:00
Mark Paluch
71c6851bb7 DATACASS-656 - Guard tests for unsupported Cassandra versions. 2020-01-15 14:57:35 +01:00
Mark Paluch
9dc4f17260 DATACASS-699 - Polishing.
Javadoc tweaks.
2020-01-15 14:41:12 +01:00
Mark Paluch
cce8d54898 DATACASS-656 - Extend test matrix on TravisCI to use latest 2.2, 3.0 and 3.11 Cassandra versions.
Guard tests for unsupported Cassandra versions.
2020-01-15 14:41:11 +01:00
Greg Turnquist
6f6d91c7d6 DATACASS-699 - Address changes in Java 9 and newer.
Adapt to changed Stream behavior that mapper is not used when issuing a count() operation. Fix generics.
2020-01-15 14:41:11 +01:00
Mark Paluch
040a5938a3 DATACASS-699 - Introduce Testcontainers for integration tests. 2020-01-15 14:41:11 +01:00
Mark Paluch
cfc3148dbd DATACASS-707 - Updated changelog. 2020-01-15 12:51:13 +01:00
Mark Paluch
a16e8fb158 DATACASS-706 - Updated changelog. 2020-01-15 10:36:36 +01:00
Mark Paluch
dc2ccc8ba2 DATACASS-714 - Upgrade to Cassandra driver 4.3.1. 2020-01-14 14:40:32 +01:00
Mark Paluch
9b8fbe31fa DATACASS-713 - Rename Session and SessionFactory bean names with cassandra prefix.
We now register the Session under cassandraSession and SessionFactory with cassandraSessionFactory as bean name. ReactiveSession and ReactiveSessionFactory beans are named reactiveCassandraSession respective reactiveCassandraSessionFactory. Beans are consistently named using Java and XML-based configuration avoiding potential clashes with other data integrations that use Session or SessionFactory beans.
2020-01-14 10:26:05 +01:00
Mark Paluch
ee09353cb3 DATACASS-656 - Polishing.
Pick up compression type and session name properties along with SessionBuilderConfigurer.

Include LocalDataCenter in migration guide.
2020-01-14 10:08:58 +01:00
Mark Paluch
15df0fdddb DATACASS-656 - Polishing.
Fix nullability annotation on Update.update(…) to accept null values.
2020-01-08 13:49:13 +01:00
Mark Paluch
3079bcf6e4 DATACASS-656 - Disable schema debouncer.
Allows running tests much faster as we no longer use the debouncer.
2020-01-08 12:20:39 +01:00
Mark Paluch
343983847d DATACASS-656 - Polishing.
Fix references to CqlSession. Typos.

Original pull request: #167.
2020-01-08 12:11:14 +01:00