Commit Graph

1197 Commits

Author SHA1 Message Date
Mark Paluch
daa7f582db DATACASS-687 - Polishing.
Adapt unit tests.
2019-09-25 14:53:25 +02:00
Mark Paluch
15a7f0de0d DATACASS-687 - Fix UDT creation order.
The ordering of UDT now considers all UDTs before creating the final creation order to consider dependencies between UDTs that refer to nested UDTs.

Previously, UDT ordering was already built from iteration over individual UDTs so that UDTs that had dependencies on already seen UDTs wheren't considered properly.
2019-09-20 11:10:47 +02:00
Mark Paluch
9b3d8bf0de DATACASS-683 - After release cleanups. 2019-09-06 10:21:56 +02:00
Mark Paluch
f4520bd39d DATACASS-683 - Prepare next development iteration. 2019-09-06 10:21:54 +02:00
Mark Paluch
2533445f2e DATACASS-683 - Release version 2.2 RC3 (Moore). 2019-09-06 10:10:42 +02:00
Mark Paluch
b5c34d8d89 DATACASS-683 - Prepare 2.2 RC3 (Moore). 2019-09-06 10:10:12 +02:00
Mark Paluch
f7c10e80a9 DATACASS-683 - Updated changelog. 2019-09-06 10:10:03 +02:00
Mark Paluch
30fcc2afac DATACASS-686 - Adapt to changes in Spring Framework's ClassUtils.isPrimitiveOrWrapper.
Switch processing order to suppress element emission for query methods declaring Mono<Void> or Flux<Void>.
2019-09-04 12:19:04 +02:00
Mark Paluch
728fce6331 DATACASS-685 - Polishing.
Inherit dependency-management for Kotlin Coroutines.

Original pull request: #164.
2019-09-04 11:53:14 +02:00
Sebastien Deleuze
da702c2a49 DATACASS-685 - Upgrade to Coroutines 1.3.
Original pull request: #164.
2019-09-04 11:51:29 +02:00
Mark Paluch
eda8a1fdb6 DATACASS-684 - Add HTTPS entries into spring.schemas.
To resolve XSD files properly from the classpath, their HTTPS reference must be present in the spring.schemas to avoid internet interaction for resolving an XSD file.
2019-08-06 16:46:10 +02:00
Greg Turnquist
bd66b6be25 DATACASS-659 - Force a check for updates. 2019-08-05 10:14:41 -05:00
Mark Paluch
3067dceb4f DATACASS-670 - After release cleanups. 2019-08-05 15:53:02 +02:00
Mark Paluch
8c5ac6a3d0 DATACASS-670 - Prepare next development iteration. 2019-08-05 15:53:01 +02:00
Mark Paluch
3a0538b77b DATACASS-670 - Release version 2.2 RC2 (Moore). 2019-08-05 15:35:35 +02:00
Mark Paluch
ba822d1b05 DATACASS-670 - Prepare 2.2 RC2 (Moore). 2019-08-05 15:35:05 +02:00
Mark Paluch
992816c763 DATACASS-670 - Updated changelog. 2019-08-05 15:34:58 +02:00
Mark Paluch
25d8a3e1c3 DATACASS-669 - Updated changelog. 2019-08-05 11:34:28 +02:00
Mark Paluch
45662fa361 DATACASS-658 - Updated changelog. 2019-08-05 11:08:59 +02:00
Mark Paluch
f436341ad1 DATACASS-680 - Adapt to changes in AssertJ. 2019-08-05 09:26:34 +02:00
Mark Paluch
c98f320c74 DATACASS-679 - Upgrade to Cassandra driver 3.7.2. 2019-07-30 11:47:17 +02:00
Mark Paluch
64c07a6090 DATACASS-678 - Polishing.
Add since tags and assertions. Simplify test.

Original pull request: #163.
2019-07-30 10:28:32 +02:00
Vagif Zeynalov
fa5f026364 DATACASS-678 - Consider custom name in CassandraAdminTemplate.createTable().
Original pull request: #163.
2019-07-30 10:28:17 +02:00
Mark Paluch
ca1e57d0c3 DATACASS-676 - Fix custom conversion registration example. 2019-07-26 11:42:42 +02:00
Mark Paluch
c8d38a62cd DATACASS-677 - Adapt to API changes in Commons. 2019-07-26 09:14:45 +02:00
Greg Turnquist
53e9db3ad0 DATACASS-659 - Polishing. 2019-07-19 12:02:10 -05:00
Greg Turnquist
ac467611a4 DATACASS-659 - Publish documentation for main branch. 2019-07-19 12:02:09 -05:00
Mark Paluch
946ef41da2 DATACASS-675 - Add constructors CassandraAdminTemplate accepting Session and CqlOperations.
CassandraAdminTemplate can now be constructed by passing either just a Session or CqlOperations and CassandraConverter to consistently expose the same constructors as its superclass CassandraTemplate.
2019-07-15 10:57:59 +02:00
Mark Paluch
1fcbbc8fb2 DATACASS-318 - Allow configuration of CodecRegistry in CassandraMappingContext.
We now allow configuration of CodecRegistry in CassandraMappingContext to reuse the configured instance instead of using the default CodecRegistry instance.
2019-07-11 16:03:45 +02:00
Mark Paluch
24fcea3f92 DATACASS-318 - Allow configuration of CodecRegistry in CassandraClusterFactoryBean. 2019-07-11 15:33:35 +02:00
Mark Paluch
5bacc63b5a DATACASS-674 - Polishing.
Replace AtTest(expected = …) and ExpectedException with the corresponding AssertJ assertThatExceptionOfType(…) and assertThatIllegalArgumentException().isThrownBy(…).
2019-07-10 13:57:46 +02:00
Mark Paluch
2b2173ccb5 DATACASS-674 - Migrate tests to AssertJ. 2019-07-10 13:35:37 +02:00
Mark Paluch
dd05e748fa DATACASS-673 - Fix typo. 2019-07-10 09:52:42 +02:00
Mark Paluch
bd3bb4a6a7 DATACASS-659 - Cleanup release profile.
Reuse inherited configuration from parent pom.
2019-07-09 10:23:36 +02:00
Mark Paluch
1ba4dc721c DATACASS-673 - Revise readme for a consistent structure. 2019-07-09 10:23:14 +02:00
Greg Turnquist
e058013785 DATACASS-659 - Use agent label. 2019-07-03 14:08:11 -05:00
Greg Turnquist
3542b8b1f8 DATACASS-659 - Use parent 'artifactory' profile. 2019-07-03 10:51:30 -05:00
Mark Paluch
b3a63f6a67 DATACASS-4 - Polishing.
Fix anchor for entity callbacks.
2019-07-01 15:17:59 +02:00
Mark Paluch
993a82f088 DATACASS-672 - Polishing.
Reflect dropped Serializable requirement on primary key classes in documentation.
2019-07-01 12:30:46 +02:00
Mark Paluch
792e201a34 DATACASS-672 - Fix composite key property population when creating the enclosing entity through constructor.
We now properly populate composite key properties when the key object is set through the entity constructor. Previously, key properties where left uninitialized (properties were not populated) when the key object was created in the code path to be injected as entity constructor argument. Key properties were only set in the case where the key also was be constructed with constructor arguments.
2019-07-01 12:30:46 +02:00
Greg Turnquist
a6f3986214 DATACASS-659 - Polishing. 2019-06-28 16:18:54 -05:00
Greg Turnquist
3d0d93ff75 DATACASS-659 - Only main branch runs based on upstream cause. 2019-06-28 16:14:20 -05:00
Greg Turnquist
744ee4802a DATACASS-659 - Polishing. 2019-06-24 13:25:36 -05:00
Greg Turnquist
4575056759 DATACASS-659 - Configure user.name and user.home for CI jobs. 2019-06-24 10:19:25 -05:00
Mark Paluch
f8d87e24bd DATACASS-611 - Add query derivation for delete queries.
We now support query derivation for delete queries using delete…By in method declarations.

interface PersonRepository extends Repository<Person, String> {

  void deleteWithoutResultByLastname(String lastname);

  boolean deleteByLastname(String lastname);
}
2019-06-18 17:20:41 +02:00
Mark Paluch
4f93fb830b DATACASS-454 - Extend @Query to declare idempotent CQL queries.
String-based queries can now be marked as idempotent. Also, SELECT queries defined via @Query are also considered idempotent to make these retryable.

interface PersonRepository extends Repository<Person, String> {

    @Query("SELECT * FROM person WHERE lastname = ?0;") // idempotent by default
    Person findByLastname(String lastname);

    @Query(value = "UPDATE person SET lastname = ?0", idempotent = Query.Idempotency.IDEMPOTENT)
    void updatePerson(String name);

}
2019-06-18 15:03:24 +02:00
Mark Paluch
8064a6d1dd DATACASS-642 - Consider quoted identifiers in EntityQueryUtils and CqlIdentifier.
EntityQueryUtils now considers quoted identifiers when extracting table names.
2019-06-18 14:15:09 +02:00
Christoph Strobl
f4b243fcfe DATACASS-649 - After release cleanups. 2019-06-14 15:12:52 +02:00
Christoph Strobl
1f2acf02cb DATACASS-649 - Prepare next development iteration. 2019-06-14 15:12:51 +02:00
Christoph Strobl
20ed040cbb DATACASS-649 - Release version 2.2 RC1 (Moore). 2019-06-14 14:44:25 +02:00