Commit Graph

1892 Commits

Author SHA1 Message Date
John Blum
bccec35d5c Replace all JUnit assertions with AssertJ.
Resolves gh-296.
2021-09-17 16:38:44 -07:00
John Blum
20fb6af9a5 Remove use of the Hamcrest library.
Replace JUnit Assertions with AssertJ.

Resolves gh-296.
2021-09-17 16:38:26 -07:00
John Blum
ddcd01910e Extend the STDG o.s.d.g.tests.integration.IntegrationTestsSupport abstract base class in all Integration-based Tests.
This applies to test classes in particular that bootstrap and configure Apache Geode in a Spring ApplicationContext using the JUnit4 SpringRunner class.

Resolves gh-296.
2021-09-17 16:38:03 -07:00
John Blum
a584b4066c Refactor the o.s.d.g.listener.StubErrorHandler class.
Implement java.lang.Iterable.

Resolves gh-296.
2021-09-17 12:58:43 -07:00
John Blum
a9d8dfc33e Remove old SDG test framework classes.
Refactor and cleanup test classes in the SDG test suite using the old SDG test framework to now use STDG.

Resolves gh-296.
2021-09-17 12:58:43 -07:00
John Blum
0a782e03fe Declare Spring Test for Apache Geode 0.0.25 test dependency.
Declare org.springframework.data:spring-data-geode-test:0.0.25 library as a test compile dependency for SDG, used to implement all SDG Unit & Integration Tests.

Resolves gh-296.
2021-09-17 12:58:43 -07:00
John Blum
dec2bb5d1e Refactor the UsingAnnotationConfigWithBeanDefinitionOverridingDisabledIntegrationTests class to move the DisableBeanDefinitionOverridingApplicationContextInitializer class to the top-level. 2021-09-17 11:24:46 -07:00
John Blum
c42d6be7ae Create Spring ApplicationContextInitializer implementation and supporting class to disable bean definition overriding.
This ApplicationContextInitializer can be primarily used for testing purposes, especially to mimic the default behavior of the Spring container in a Spring Boot application context.
2021-09-17 11:23:39 -07:00
John Blum
82eaf2e261 Fix compiler warnings.
Optimize imports.
2021-09-17 11:01:46 -07:00
Mark Paluch
e904c63a72 After release cleanups.
See #529
2021-09-17 09:52:21 +02:00
Mark Paluch
03388712de Prepare next development iteration.
See #529
2021-09-17 09:52:18 +02:00
Mark Paluch
49a0d29f0f Release version 2.6 M3 (2021.1.0).
See #529
2021-09-17 09:44:56 +02:00
Mark Paluch
696cfff1c3 Prepare 2.6 M3 (2021.1.0).
See #529
2021-09-17 09:44:34 +02:00
John Blum
c56746d24d Add Integration Test asserting the behavior of SDG Annotation-based configuration when Spring container bean definition overriding is disabled.
https://stackoverflow.com/questions/69202828/error-bean-definition-overriding-clientgemfirepropertiesconfigurer
2021-09-16 11:13:50 -07:00
Mark Paluch
0827568b8f Upgrade to Maven Wrapper 3.8.2.
See #532
2021-09-10 15:37:58 +02:00
John Blum
a92a78b7f2 Implement new GatewaySender, enforceThreadsConnectSameReceiver configuration property.
Resolves gh-480.

Resolves gh-389.
2021-09-03 12:35:09 -07:00
John Blum
76bbfcab68 DATAGEODE-344 - Implement mustGroupTransactionEvents in GatewaySenderWrapper.
Resolves gh-389.
2021-09-03 12:35:09 -07:00
John Blum
757ede0f09 DATAGEODE-342 - Implement startWithCleanQueue in GatewaySenderWrapper.
Resolves gh-389.
2021-09-03 12:35:09 -07:00
John Blum
efb6316a1b DATAGEODE-337 - Polish.
Resolves gh-41.

Resolves gh-389.
2021-09-03 12:35:02 -07:00
Udo Kohlmeyer
cd79555066 DATAGEODE-337 - LookupRegionMutationIntegrationTest fails due to parallel AEQ on REPLICATE Region.
Adapts to API changes in Apache Geode 1.14, specifically fixing broken tests (i.e LookupRegionMutationIntegrationTests) which configured a REPLICATE Region with a "parallel" AEQ that is no longer supported in 1.14 forward.

See GEODE-8079 (https://issues.apache.org/jira/browse/GEODE-8079).

Resolves gh-41.

Resolves gh-389.
2021-09-03 12:17:08 -07:00
John Blum
93baa689ea DATAGEODE-340 - Add enumerated value for GemFire/Geode 'redis-enabled' property introduced in Apache Geode 1.14.
Resolves gh-389.
2021-09-03 12:16:54 -07:00
John Blum
4bf4cdbc50 DATAGEODE-340 - Remove enumerated value for GemFire/Geode 'cluster-configuration-dir' property deprecated in Apache Geode 1.14.
Resolves gh-389.
2021-09-03 12:16:47 -07:00
John Blum
04cd4dde27 Upgrade to Apache Log4J 2.14.0.
Resolves gh-389.
2021-09-03 12:16:27 -07:00
John Blum
608d5a3180 Upgrade to Apache Geode 1.14.0.
Resolves gh-389.

Resolves DATAGEODE-340.
2021-09-03 12:13:46 -07:00
John Blum
5dab6bf020 Change default Index type from HASH to FUNCTIONAL (Range).
Resolves gh-531.
2021-08-20 12:07:22 -07:00
John Blum
06cd39e0e5 Correct CQ example (and specfically, the CQ OQL query) in the reference documentation. 2021-08-19 21:05:25 -07:00
Jens Schauder
554b367509 After release cleanups.
See #522
2021-08-12 15:16:23 +02:00
Jens Schauder
916b0e9d33 Prepare next development iteration.
See #522
2021-08-12 15:16:21 +02:00
Jens Schauder
96d758071b Release version 2.6 M2 (2021.1.0).
See #522
2021-08-12 15:03:17 +02:00
Jens Schauder
f6090208c3 Prepare 2.6 M2 (2021.1.0).
See #522
2021-08-12 15:02:56 +02:00
John Blum
5e4261e4fe Upgrade to Apache Geode 1.13.4.
Resolves gh-526.
2021-08-09 12:45:32 -07:00
John Blum
544656ea76 Refactor SDG Maven POM to include a Maven Profile to remotely (Jenkins) build and run SDG on JDK/JRE 16.
Refactor SDG Jenkinsfile to include the 'remote-java16' Maven Profile in Java 16 Jenkins CI builds.

Resolves gh-497.
2021-07-20 14:41:28 -07:00
John Blum
cf90fc184f Refactor SDG Maven POM to declare and configure Maven Surefire Plugin for Java 8 builds (yet).
Resolves gh-497.
2021-07-20 14:40:37 -07:00
John Blum
f7c364c23c Refactor SDG Maven POM to conditionally apply JRE 16 JVM options and Maven Toolchains to Maven Plugins based on a Maven Profile.
Resolves gh-497.
2021-07-20 14:40:28 -07:00
John Blum
705979c2be Use JavaVersion class in ProcessExecutor to conditionally add JVM options (e.g. --add-opens) based on JRE version.
Resolves gh-497.
2021-07-20 10:01:10 -07:00
John Blum
3e9c8a7f46 Define JavaVersion abstract class to determine the current Java (JDK/JRE) version.
Resolves gh-497.
2021-07-20 10:01:10 -07:00
John Blum
e9dd4d7bb4 Change access modifier on static class member hasValue(..) methods in AbstractAnnotationConfigSupport to public in order to work correctly on JDK/JRE 16.
Resolves gh-497.
2021-07-20 10:01:10 -07:00
John Blum
f110354540 Refactor remaining SDG test classes to run on Java 16.
Resolves gh-497.
2021-07-20 10:01:10 -07:00
John Blum
1875deeafe Remove use of the (protected) java.util.Calendar class in SDG causing problems when building/running with JDK/JRE 16.
Resolves gh-497.
2021-07-20 10:01:10 -07:00
John Blum
63454ba7ee Set --add-opens JVM option for java.util classes (e.g. UUID) to workaround Apache Geode issues on Java 16.
Resolves gh-497.
2021-07-20 10:01:10 -07:00
John Blum
358c3c9e9e Set the --add-opens JVM option for java.nio classes (e.g. DirectByteBuffer) to workaround Apache Geode issues on Java 16.
Configure Maven Toolchains Plugin and the Maven Surefire Plugin to use Maven Toolchains with JDK 16.

Resolves gh-497.
2021-07-20 10:01:10 -07:00
Jens Schauder
685b70e561 After release cleanups.
See #506
2021-07-16 14:19:58 +02:00
Jens Schauder
9d0c41f0cc Prepare next development iteration.
See #506
2021-07-16 14:19:56 +02:00
Jens Schauder
4f18c68757 Release version 2.6 M1 (2021.1.0).
See #506
2021-07-16 14:09:25 +02:00
Jens Schauder
8fe2e940bf Prepare 2.6 M1 (2021.1.0).
See #506
2021-07-16 14:08:59 +02:00
Jens Schauder
7f2ed1052b Updated changelog.
See #506
2021-07-16 14:08:36 +02:00
Jens Schauder
3c3fc6b6d4 Updated changelog.
See #513
2021-07-16 10:48:18 +02:00
John Blum
999e52f50c Apply eviction to caching-defined Regions using @EnableEviction annotation configuration.
Resolves gh-519.
2021-07-14 16:28:48 -07:00
John Blum
9d65677d1c Apply expiration to caching-defined Regions using @EnableExpiration annotation configuration.
Resolves gh-518.
2021-07-14 15:42:15 -07:00
John Blum
d07cff9b65 Fix mock Region to mock RegionAttributes association.
Mock RegionAttributes should be a 'Singleton' object, however, Region.getAttributes() was returning a new (mock) RegionAttributes on every invocation.
2021-07-14 15:42:10 -07:00