Commit Graph

1898 Commits

Author SHA1 Message Date
Mark Paluch
7f15e8fbdc Extend license header copyright years to 2025.
See #1547
2025-01-08 10:04:43 +01:00
Mark Paluch
0b151aa072 Polishing.
Extract ifContextPresent(…) utility method to apply contextual actions if the context matches the given type.

See #1541
2024-11-29 11:06:36 +01:00
cfredri4
74fca38598 Fix ClassCastException in ObservationRequestTracker.
This fixes a ClassCastException for CassandraObservationContext when a NoopObservation is returned by the observation registry.

Closes #1541
2024-11-29 11:06:13 +01:00
Mark Paluch
22138d5d5b After release cleanups.
See #1529
2024-11-15 14:13:09 +01:00
Mark Paluch
58911e37a3 Prepare next development iteration.
See #1529
2024-11-15 14:13:08 +01:00
Mark Paluch
0f4cd79fbd Release version 4.4 GA (2024.1.0).
See #1529
2024-11-15 14:10:52 +01:00
Mark Paluch
ec8662ca26 Prepare 4.4 GA (2024.1.0).
See #1529
2024-11-15 14:10:37 +01:00
Mark Paluch
e066461811 Apply zero TTL to modifying statements.
We now apply a zero TTL if it was set. Previously, we omitted zero TTLs and dropped these.

Closes #1535
2024-11-15 09:33:01 +01:00
Mark Paluch
4fcc710d88 Align Docker image naming with used JDK.
See #1529
2024-11-14 10:57:53 +01:00
Mark Paluch
1ec6230691 Correctly invoke update from CassandraBatchOperations.update.
Previously, we've called `insert` instead of `update`.

Closes #1534
2024-11-14 10:20:53 +01:00
Mark Paluch
8e9d9dc000 Polishing.
Leniently check expected number of spans.

See #1529
2024-11-13 09:48:01 +01:00
Mark Paluch
ee88e264b1 Update CI Properties.
See #1529
2024-11-07 09:57:35 +01:00
Mark Paluch
a91807fdd9 Update CI Properties.
See #1529
2024-11-07 09:56:11 +01:00
Mark Paluch
9cab3e9ca2 Upgrade to Maven Wrapper 3.9.9.
See #1531
2024-11-07 09:47:18 +01:00
Mark Paluch
f6a66ba0a7 Prepare for removal of ListenableFuture.
Suppress warnings for using deprecated-for-removal code.

Closes #1530
2024-10-30 08:20:08 +01:00
Mark Paluch
2f07b82f9e After release cleanups.
See #1521
2024-10-18 12:49:41 +02:00
Mark Paluch
b6bb241552 Prepare next development iteration.
See #1521
2024-10-18 12:49:40 +02:00
Mark Paluch
3c53c4b567 Release version 4.4 RC1 (2024.1.0).
See #1521
2024-10-18 12:47:01 +02:00
Mark Paluch
5b8748f904 Prepare 4.4 RC1 (2024.1.0).
See #1521
2024-10-18 12:46:43 +02:00
Mark Paluch
67d8e597ae Use Docker in Docker CI setup.
See #1521
2024-10-09 14:06:33 +02:00
Mark Paluch
34da375738 Polishing.
Remove unused DefaultSpELExpressionEvaluator. Use caching variant of ValueExpressionDelegate.

Remove unused RepositoryFactory methods. Simplify ValueExpressionDelegateValueExpressionEvaluator to ContextualValueExpressionEvaluator.

See #1522
Original pull request: #1523
2024-10-09 13:31:24 +02:00
Marcin Grzejszczak
9ebd3db34f Added support for Repository Query Method ValueExpressions.
Closes #1522
Original pull request: #1523
2024-10-09 13:31:03 +02:00
Jens Schauder
77453ae9a0 After release cleanups.
See #1493
2024-09-13 12:42:28 +02:00
Jens Schauder
97eec8f0cd Prepare next development iteration.
See #1493
2024-09-13 12:42:27 +02:00
Jens Schauder
cd26a91685 Release version 4.4 M1 (2024.1.0).
See #1493
2024-09-13 12:39:32 +02:00
Jens Schauder
a1104d5011 Prepare 4.4 M1 (2024.1.0).
See #1493
2024-09-13 12:39:13 +02:00
Mark Paluch
66a0bf9dee Apply configured CodecRegistry to StatementBuilder.
Closes #1114
2024-09-09 09:43:43 +02:00
Mark Paluch
bb2b7a4ddd Add support for Batch-level QueryOptions.
Closes #1192
2024-09-09 09:11:20 +02:00
Mark Paluch
7d0a7181e8 Allow configuration of CassandraObservationConvention.
Closes #1490
2024-08-21 10:55:21 +02:00
Mark Paluch
8c7c30867a Update GitHub Actions.
See #1493
2024-08-21 09:28:22 +02:00
Mark Paluch
3b59e063c1 Adopt Dockerfile to JDK 22 image changes.
Add curl package.

See #1502
2024-08-14 11:17:02 +02:00
Mark Paluch
bd723ea01c Polishing.
Reduce probability for flakiness.

See #1493.
2024-08-14 10:06:57 +02:00
Christoph Strobl
ef614515b3 Add support for using custom BeanNameGenerator.
Closes: #1509
2024-08-09 10:45:48 +02:00
Mark Paluch
728a83bc74 Switch from DataAccessUtils.requiredSingleResult to nullableSingleResult.
Closes #1514
2024-08-08 14:56:16 +02:00
Mark Paluch
55286db588 Upgrade to Maven Wrapper 3.9.8.
See #1512
2024-08-08 10:22:03 +02:00
Mark Paluch
f9d4fa5866 Update CI properties.
See #1493
2024-08-08 10:20:10 +02:00
Mark Paluch
1b01a8f346 Polishing.
Remove inconsistent blank lines.

See #1508
2024-08-05 10:58:11 +02:00
Eric Haag
bf53c0b185 Migrate build to Spring Develocity Conventions extension.
* Migrate build to Spring Develocity Conventions extension.

* Adopt Develocity environment variables.

Closes #1508
2024-08-05 10:54:42 +02:00
Mark Paluch
f03e0b6031 Bundle Javadoc with Antora documentation site.
Closes #1507
2024-07-31 09:54:29 +02:00
Mark Paluch
41805cc300 Refine API to create and render CQL object specifications.
We now expose specification entrypoints at SpecificationBuilder and a generic generator at CqlGenerator.toCql(…).

Closes #1506
2024-07-25 16:22:50 +02:00
Mark Paluch
e154ef6c40 Allow keyspace customization for Cassandra tables and UDTs.
We now allow setting the keyspace on `@Table` and `@UserDefinedType` to interact with tables and types residing in a specific keyspace.

@Table(keyspace = "some_ks")
class Person {
 …
}

Keyspace values can be either string literals or value expressions (#{…}, ${…}) to use the context or config properties to compute the actual keyspace.

Special honors go to @tomekl007 and @mipo256 for their contributions.

See #1400
See #279

Closes #921
2024-07-25 15:05:05 +02:00
Mark Paluch
08165769a9 Polishing.
See #1503
2024-07-24 15:33:25 +02:00
Mark Paluch
0cd9b43620 Introduce KeyspaceProvider to StatementFactory.
StatementFactory now accepts a KeyspaceProvider to determine a specific Keyspace for a built statement.

StatementFactory can be obtained through CassandraTemplate and its async/reactive variants.

Closes #1275
2024-07-24 15:27:52 +02:00
Mark Paluch
24e1564f4f Refine Testcontainer setup for Cassandra 5 startup.
The container version is picked up from the env-variable first and then from our project properties.

Adding config file for v5.

See #1503
2024-07-24 14:43:55 +02:00
Mark Paluch
b02492f873 Polishing.
Refine assertions of unwanted objects.

See #1499
2024-07-24 14:10:17 +02:00
Mark Paluch
1a72451c34 Accept BatchableStatement in CassandraBatchOperations.
Closes #1499
2024-07-24 14:07:22 +02:00
Mark Paluch
31439700a2 Remove Slack notification.
See #1498
2024-06-20 13:50:11 +02:00
Mark Paluch
80d04498fa Switch to Broadcom docker proxy.
Closes #1498
2024-06-20 13:49:57 +02:00
Mark Paluch
acbdd871ba Polishing.
Delegate calls from deprecated methods to their replacement methods. Simplify tests.

See #1494
Original pull request: #1495
2024-06-12 14:40:41 +02:00
seungh0
74189c78cb Allow QueryOptions to disable timeout.
If it is zero, the read timeout will be disabled for this statement.

Closes #1494
Original pull request: #1495
2024-06-12 14:40:31 +02:00