Commit Graph

1591 Commits

Author SHA1 Message Date
Mark Paluch
f5bcdbc558 Polishing.
Extract Artifactory credentials into properties file.

See #1214
2022-02-04 09:44:31 +01:00
Mark Paluch
fdefabe1a9 Polishing.
Extract docker credentials into properties file.

See #1214
2022-02-04 09:30:09 +01:00
Greg L. Turnquist
75244b4187 Externalize build properties.
By reading a properties file from an external location, it is possible to inject a consistent set of properties from Spring Data Build. This also supports repeatable builds.

Closes #1214.
2022-02-04 09:24:49 +01:00
Mark Paluch
e371f0cc72 After release cleanups.
See #1206
2022-01-14 14:43:22 +01:00
Mark Paluch
f036cd5645 Prepare next development iteration.
See #1206
2022-01-14 14:43:19 +01:00
Mark Paluch
c2573bf188 Release version 4.0 M1 (2022.0.0).
See #1206
2022-01-14 14:35:09 +01:00
Mark Paluch
a7f3256ecb Prepare 4.0 M1 (2022.0.0).
See #1206
2022-01-14 14:34:46 +01:00
Jens Schauder
4e753a9cfa Remove Eclipse Non-Javadoc comments.
Closes #1204
2022-01-05 14:02:59 +01:00
Mark Paluch
d9740d04ef Post-rebase. 2022-01-04 14:31:30 +01:00
Mark Paluch
73fffec6a7 Polishing.
Remove unused pom elements.

See #1169
2022-01-04 14:28:14 +01:00
Mark Paluch
3407d2aa51 Migrate to Jakarta EE 9.
Closes #1169
2022-01-04 14:28:14 +01:00
Mark Paluch
5b16a60430 Drop support for RxJava 1 and 2.
Closes #1173
2022-01-04 14:28:13 +01:00
Mark Paluch
d23b956473 Polishing.
Remove lingering dockerfiles. Use custom docker image for Cassandra build and OpenJDK 17 image for artifact deployment.

Apply consistent formatting. Add missing since tag.

See #1170
2022-01-04 14:28:13 +01:00
John Blum
89c7579fcd Prepare for Jakarta EE 9 migration.
Re-arrange spring dependency declarations.

Remove unnecessary javax.interceptor:javax.interceptor-api and javax.annotation:javax.annotation-api dependencies.

Declare jakarta.enterprise:jakarta.enterprise.cdi-api:3.0.0 dependency (commented out) in preparation for Jarkata EE 9 migration.

Add exclusion on the javax.inject:javax.inject dependency to the org.apache.cassandra:cassandra-all dependency.

Resolves #1170.
2022-01-04 14:28:13 +01:00
John Blum
1b19a877a4 Enable Jenkins CI build to fork Docker Containers (due to the use of Testcontainers) inside Docker.
See #1170.
2022-01-04 14:28:13 +01:00
John Blum
42a0011913 Change default Maven build profile to 'testcontainers-cassandra'.
The Cassandra server using the Apache Cassandra API CassandraDaemon class in the SD Cassandra EmbeddedCassandraServerHelper class does not run by default on Java 17.

See #1170.
2022-01-04 14:28:13 +01:00
John Blum
f332ea3e3f Declare 'cassandra.version' JVM System property on integration test JVM command-line.
This property is used to get the desired Cassandra Testcotnainer at our supported Apache Cassandra version when running SD Cassandrta integration tests using Testcontainers (profile).

Refactor CassandraDelegate to resolve the Cassandra version property used in the Testcontainers Docker Image name.

Refactor EmbeddedCassandraServerHelper to guard against NPEs when resolving the RPC address (InetAddress) hostname.

Add logging to distinguish which method (Embedded or Testcontainers) to start the Cassandra server.

See #1170.
2022-01-04 14:28:13 +01:00
John Blum
cd0e66935e Upgrade to Apache Cassandra 3.11.11.
See #1170.
2022-01-04 14:28:12 +01:00
John Blum
9210308ed0 Fix test failures related to Joda Time and ThreeTenBackport type mappings.
Refactor and cleanup codebase.

See #1170.
2022-01-04 14:28:11 +01:00
John Blum
967f67449e Remove support for Joda Time and ThreeTenBackport.
See #1170.
2022-01-04 14:27:47 +01:00
John Blum
03c4ef9553 Adapt to API changes in Spring Data Commons 3.0.
See #1170.
2022-01-04 14:27:17 +01:00
John Blum
b5f3b8eed8 Upgrade Jenkins CI build to JDK 17.
The Jenkinsfile will need to be edited once AdoptOpenJDK releases OpenJDK17.

See #1170.
2022-01-04 14:27:17 +01:00
John Blum
29114cb1b6 Prepare the Spring Data for Apache Cassandra 4.0.x branch.
Upgrade to Spring Data Build parent 3.0.0-SNAPSHOT.

Upgrade to Spring Data Commons 3.0.0-SNAPSHOT.

Set version to 4.0.0-SNAPSHOT.

See #1170.
2022-01-04 14:27:17 +01:00
Mark Paluch
ac0ca35a7f Adopt to Mockito changes.
Closes #1203
2022-01-04 14:27:05 +01:00
Christoph Strobl
61f30591d9 Polishing.
Reduce method visibility and update javadoc.

See: #1202
2021-12-15 13:01:33 +01:00
Mark Paluch
0e895395bf Add support for direct and nested projections.
Projections are now fully supported from within the CassandraConverter that can materialize DTO and interface projections without using intermediate entities.

Closes: #1202
2021-12-15 13:01:07 +01:00
CharlesZKQ
1c02d4cb6b Use stable sort order in CriteriaUnitTests.
Closes #1199
2021-12-07 09:04:38 +01:00
Mark Paluch
8ffc518750 Use LinkedHashMap to ensure a stable iteration order using Columns.from(…).
Closes #1196
2021-12-07 09:01:46 +01:00
Mark Paluch
880787ff88 Migrate off SLF4J to Spring JCL.
Closes #1194
2021-11-16 11:12:59 +01:00
Jens Schauder
f20b81e9cc After release cleanups.
See #1184
2021-11-12 10:59:44 +01:00
Jens Schauder
57059ce403 Prepare next development iteration.
See #1184
2021-11-12 10:59:41 +01:00
Jens Schauder
4cf1126c63 Release version 3.3 GA (2021.1.0).
See #1184
2021-11-12 10:49:36 +01:00
Jens Schauder
8d4b42f16f Prepare 3.3 GA (2021.1.0).
See #1184
2021-11-12 10:49:15 +01:00
MatejNedic
53668b5375 Remove duplicate Assert.
Closes #1187
2021-11-08 09:11:55 +01:00
Mark Paluch
7f7ed92875 Use nested classes for fetch size retrieval in session callbacks.
We now use nested classes implementing CqlProvider to retrieve the fetch size in session callbacks. This enables CQL retrieval. Previously, CQL retrieval saw a class that didn't implement CqlProvider and reported therefore unknown CQL.

See #1186
2021-10-25 14:15:49 +02:00
Mark Paluch
d9ddf0de16 Polishing.
Consistently use toCql(…) and String.format for CQL retrieval.

See #1186
2021-10-25 09:10:02 +02:00
Mark Paluch
99ad37985a Use string concatenation in QueryExtractorDelegate instead of String.format(…).
We now use string concatenation during query extraction to avoid String.format(…) overhead for unknown queries.

Closes #1186
2021-10-25 09:08:52 +02:00
Mark Paluch
538954e2c9 After release cleanups.
See #1168
2021-10-18 13:55:41 +02:00
Mark Paluch
9a05d8a2e8 Prepare next development iteration.
See #1168
2021-10-18 13:55:38 +02:00
Mark Paluch
99f419828d Release version 3.3 RC1 (2021.1.0).
See #1168
2021-10-18 13:48:13 +02:00
Mark Paluch
43a16901b3 Prepare 3.3 RC1 (2021.1.0).
See #1168
2021-10-18 13:47:45 +02:00
Mark Paluch
6788a11008 Consider custom converters in ConversionContext before applying collection converters.
We now inspect whether custom conversions should be applied before reading a value into a Map or Collection to consider converters for Map-like and Collection-like types.

Closes #1181
2021-10-18 09:16:01 +02:00
Mark Paluch
be9cfc7d1e Polishing.
Introduce TermFactory.canBindCollection() to avoid unecessary parameter encoding.

See #1172
Original pull request: #1178.
2021-10-13 15:28:26 +02:00
samueldlightfoot
813de10bb4 Use bind markers for BY_INDEX and BY_NAME IN queries.
Closes #1172
Original pull request: #1178.
2021-10-13 15:27:59 +02:00
Mark Paluch
3878c00f8c Upgrade to Maven Wrapper 3.8.3.
See #1177
2021-10-11 14:30:23 +02:00
Mark Paluch
5718ec3c0b Polishing.
Remove constructors defaulting to BatchType.LOGGED and turn batchOps() into default methods to avoid defaulting sprawl.

Update since tags.

See #1174
Original pull request: #1175.
2021-10-01 11:00:17 +02:00
samueldlightfoot
99f3bcc49d Support configurable batch types for batch operations.
Closes #1174
Original pull request: #1175.
2021-10-01 10:59:25 +02:00
Mark Paluch
e9cc255496 Polishing.
Add closing tag.

See #1169
2021-09-30 11:34:58 +02:00
Mark Paluch
d6dc3a0109 Fix malformed Javadoc.
See #1171
2021-09-21 19:55:43 +02:00
Mark Paluch
05cb9979df Polishing.
Use HTTPS URL's for apt download.

See #1171
2021-09-21 19:17:40 +02:00