Commit Graph

1673 Commits

Author SHA1 Message Date
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
John Blum
814f5cdc85 Remove Docker Registry login.
Closes #1269.
2022-05-16 12:31:31 -07:00
Christoph Strobl
4abcbf67ad Fix pom.xml formatting.
This commit reverts formatting changes introduced via af6a457134.

See #1247
2022-05-13 13:08:33 +02:00
Christoph Strobl
ac834ad0c3 After release cleanups.
See #1247
2022-05-13 10:53:25 +02:00
Christoph Strobl
c602ecdaaf Prepare next development iteration.
See #1247
2022-05-13 10:53:23 +02:00
Christoph Strobl
396480309d Release version 4.0 M4 (2022.0.0).
See #1247
2022-05-13 10:43:58 +02:00
Christoph Strobl
af6a457134 Prepare 4.0 M4 (2022.0.0).
See #1247
2022-05-13 10:43:20 +02:00
Greg L. Turnquist
bd79fdd68b Migrate to Reactor Schedulers.boundedElastic() API.
Closes #1264.
2022-05-12 13:43:30 -05:00
Mark Paluch
1371ec8d6b Upgrade to Cassandra driver 4.14.1.
Closes #1261
2022-04-29 14:19:22 +02:00
Mark Paluch
6d14464f04 Polishing.
Introduce configuration option to disable schema metadata during schema actions. Tweak method naming. Apply schema metadata suspension also to destroy methods.

Related ticket: #990
Related ticket: #1253

Original pull request: #1255.
2022-04-28 11:39:34 +02:00
Ammar Khaku
1d1505ab9a Disable schema metadata when performing SchemaActions.
Additionally, don't force refresh schemas if schema metadata is disabled.

Closes: #990
Closes: #1253

Original pull request: #1255.
2022-04-28 11:39:20 +02:00
Greg L. Turnquist
7614fc6edb Switch to Micrometer 1.10's tracing APIs.
Micrometer Tracing 1.10 has some breaking APIs.

See #1254.
2022-04-15 10:06:09 -05:00
Greg L. Turnquist
11788b5286 Polishing. 2022-04-07 13:07:28 -05:00
Greg L. Turnquist
334104e020 Polishing. 2022-04-07 12:46:41 -05:00
Greg L. Turnquist
3089fd14f0 Simplify dependency version arrangement.
We now inherit the version number and repositories from the parent pom.

See #1250.
2022-04-07 11:44:01 -05:00
Greg L. Turnquist
7c408ea887 Add Observability to reference documentation.
See #1250.
2022-04-06 14:45:29 -05:00
Greg L. Turnquist
c1e3dbf0da Introduce Micrometer API to add tracing.
Closes #1212.
2022-03-30 17:03:42 -05:00
Mark Paluch
9686749178 Polishing.
Simplify invocation chain, simplify tests.

See #1248
Original pull request: #1249.
2022-03-28 10:49:32 +02:00