Commit Graph

1690 Commits

Author SHA1 Message Date
Greg L. Turnquist
a42bc734ea Provide better support for activating observability with Spring Data Cassandra.
Resolves #1321.
Original pull request: #1322
2022-10-24 13:59:13 +02:00
Greg L. Turnquist
ddfff47a45 Polishing. 2022-10-20 10:53:17 -05:00
Mark Paluch
0d9f47b729 After release cleanups.
See #1307
2022-10-13 17:31:16 +02:00
Mark Paluch
585bee74c3 Prepare next development iteration.
See #1307
2022-10-13 17:31:15 +02:00
Mark Paluch
5a263f1b48 Release version 4.0 RC1 (2022.0.0).
See #1307
2022-10-13 17:24:25 +02:00
Mark Paluch
4cf11000a3 Prepare 4.0 RC1 (2022.0.0).
See #1307
2022-10-13 17:24:03 +02:00
Mark Paluch
f8e560775a Remove references to ClassTypeInformation from TypeInformation.
Closes #1314
2022-10-06 16:29:47 +02:00
Christoph Strobl
b8bd4f1e4b Switch to micrometer 1.10 snapshots.
Follow signature changes.

See: #1309
See: spring-projects/spring-data-build#1810
2022-10-06 15:44:38 +02:00
Christoph Strobl
412a780820 Follow RuntimeHints API naming changes.
Closes: #1313
2022-10-06 11:02:38 +02:00
Jens Schauder
cd287843a2 Add support for factory methods.
Simply annotate a static factory method on your entity class with @PersistenceCreator.

Closes #1312
2022-10-05 15:29:44 +02:00
Mark Paluch
f919ab924d Upgrade to Cassandra driver 4.15.0.
Closes #1311
2022-10-05 10:09:56 +02:00
Mark Paluch
ece928728a Prefer Java configuration over XML.
Closes #1308
2022-09-27 14:30:20 +02:00
Spring Builds
dac7eb261c After release cleanups.
See #1290
2022-09-19 14:39:04 +00:00
Spring Builds
9192ed7092 Prepare next development iteration.
See #1290
2022-09-19 14:38:53 +00:00
Spring Builds
71d3f0cc30 Release version 4.0 M6 (2022.0.0).
See #1290
2022-09-19 14:15:20 +00:00
Spring Builds
52e5814335 Prepare 4.0 M6 (2022.0.0).
See #1290
2022-09-19 14:12:53 +00:00
Mark Paluch
2149f7a85a Adopt to changed Mockk artifact name.
Closes #1304
2022-09-12 10:21:00 +02:00
Tommy Ludwig
b0ebac9b44 Adapt to SampleTestRunner refactor.
See: micrometer-metrics/tracing#57
Closes: #1303
2022-09-09 19:12:20 +02:00
Tommy Ludwig
5a0a714c26 Adapt to ObservationConvention location change.
See: micrometer-metrics/micrometer#3387
Closes: #1302
2022-09-09 19:10:42 +02:00
Greg L. Turnquist
31b6ef701a Upgrade to Micrometer 1.10.0-SNAPSHOT.
Closes #1299.
2022-09-07 11:39:35 +02:00
Mark Paluch
43b964f1dc Polishing.
Add Javadoc.

Closes #1297
2022-09-01 09:51:28 +02:00
Ammar Khaku
af5d499c10 Refactor userTypeResolver construction into separate method.
This allows for easy overriding, for example in case you
wish to use a different implementation.

See #1297
2022-09-01 09:51:05 +02:00
Mark Paluch
72324562ff Fix deleteAllById(…) using composite keys.
We now correctly delete all elements when using composite keys (MapId, Primary Key classes). Previously, we did not support that case or removed only the first element.

Closes #1298
2022-08-23 15:21:45 +02:00
Mark Paluch
b25a67c9da Use BeforeConvertCallback.onBeforeConvert(…) outcome for the actual insert.
We now use correctly the result of the `onBeforeConvert` callback for insert instead of the original entity.

Closes #1295
2022-08-04 11:11:53 +02:00
Mark Paluch
7dca59b019 Observability documentation includes.
Closes #1222
2022-07-28 11:59:46 +02:00
Mark Paluch
a66556d93a Deprecate ListenableFuture-based Template API and introduce CompletableFuture Template API replacement.
We now provide a CompletableFuture-based asynchronous Template API for CQL and entity operations. The ListenableFuture-future API is now deprecated and moved to legacy subpackages for easier migration.

Closes #1294
2022-07-28 11:51:32 +02:00
Mark Paluch
a5047c91ed Allow disabling entity lifecycle events.
We now support disabling lifecycle events through the Template API to reduce the framework overhead when events are not needed.

Closes #1286
2022-07-21 09:43:51 +02:00
Mark Paluch
20eb0f47fa Fix DTO projection instantiation.
We now correctly instantiate DTO projection classes by using the actual constructor argument type. Previously, we did not update the conversion context to fetch the correct type but used the type of the DTO projection class instead of the constructor argument.

Closes #1292
2022-07-19 11:42:25 +02:00
Mark Paluch
93d0e73e29 Use TypeScanner in CassandraEntityClassScanner for entity scanning.
We now use the TypeScanner utility instead of using ClassPathScanningCandidateComponentProvider directly.

Closes #1284
2022-07-18 09:38:53 +02:00
Christoph Strobl
c85194ec90 After release cleanups.
See #1267
2022-07-15 15:30:54 +02:00
Christoph Strobl
5f4a47731c Prepare next development iteration.
See #1267
2022-07-15 15:30:46 +02:00
Christoph Strobl
785f7b3a7d Release version 4.0 M5 (2022.0.0).
See #1267
2022-07-15 15:18:30 +02:00
Christoph Strobl
7345357d08 Prepare 4.0 M5 (2022.0.0).
See #1267
2022-07-15 15:17:57 +02:00
Mark Paluch
a7599932f6 Remove new and noteworthy section in favor of release notes.
See #1267
2022-07-15 09:38:45 +02:00
Mark Paluch
de40505e42 Polishing.
Adopt to improved naming scheme for runtime hints.

See #1280
2022-07-13 15:07:30 +02:00
John Blum
6b45475c3b Adapt to repackaging of the AOT RuntimeHintsPredicate.
Closes #1287.
2022-07-12 18:17:30 -07:00
Christoph Strobl
4bf8c8a22c Simplify auditing setup.
Use IsNewAwareAuditingHandler factory method to avoid exposing additional beans.

See: #1280
2022-07-11 15:45:35 +02:00
Greg L. Turnquist
15329b6bbf Change Micrometer tracing artifact to micrometer-tracing.
Closes #1285.
2022-07-11 08:14:42 -05:00
Mark Paluch
2ee792f29c Register ManagedTypes post-processor.
See #1280
2022-07-06 14:48:24 +02:00
Mark Paluch
ec69dde0c6 Register ManagedTypes post-processor.
See #1280
2022-07-06 14:45:33 +02:00
Mark Paluch
c120e8f050 Refine table and column name generation.
We revised the table and column name generation by unifying the generation code into CqlIdentifierGenerator. We also properly distinguish between generated names that are generated and those provided by the application (i.e. through annotations).

Closes #1263
2022-07-05 13:48:58 +02:00
Mark Paluch
c64978e73d Polishing.
See #1280
2022-07-05 08:03:20 +02:00
Tudor Marc
5af9f5611d Allow WriterOptionsBuilder to set ttl to 0.
Value 0 tells the Cassandra driver to disable the ttl.

Original pull request: #1270.
Closes #1262
2022-07-05 07:56:59 +02:00
Mark Paluch
5866f002f0 Support AOT processing of Cassandra repositories.
We now ship runtime hints for AOT processing of the Spring Data infrastructure.

Closes #1280
2022-07-05 07:49:51 +02:00
Mark Paluch
f416c2c386 Adopt to Reactor 2022 changes.
Closes #1283
2022-07-04 14:18:42 +02:00
Mark Paluch
b5bd1c048a Properly render table name as CQL during index creation.
We now use the proper CQL representation applying quoting if necessary when creating indexes. Previously, we just used the plain toString format of the CQL identifier that didn't quote the table name.

Closes #1281.
2022-07-04 08:59:50 +02:00
John Blum
11f56c4c48 Remove punctuation from Exception messages.
Closes #1277.
2022-06-08 16:18:50 -07:00
Mark Paluch
5ab2fdde46 Update CI properties.
See #1267
2022-06-03 09:34:19 +02:00
Mark Paluch
eace58789d Upgrade to Maven Wrapper 3.8.5.
See #1272
2022-06-03 09:32:45 +02:00
Greg L. Turnquist
4249c72935 Adapt to changes in Micrometer APIs.
Micrometer has updated some of its APIs and we must adjust.

Closes #1268
2022-05-16 14:36:45 -05:00