Commit Graph

521 Commits

Author SHA1 Message Date
John Blum
b1fdb5962e Add TestContextApplicationEventPublisherAdapter class adapting the Spring TestContext framework and API as an instance of the ApplicationEventPublisher interface. 2021-03-22 20:08:41 -07:00
John Blum
9e03dc03c6 Add GeodeContextCustomizer and factory used to customize the Spring ApplicationContext setup during Integration Tests involving Apache Geode. 2021-03-22 20:07:46 -07:00
John Blum
3b5208c213 Add (experimental) DependencyOf annotation type and associated DependencyOfBeanFactoryPostProcessor class.
The @DependencyOf annotation is the inverse of Spring's @DependsOn annotation enabling a bean to declare itself as a dependency for another bean in the Spring ApplicationContext (container).
2021-03-22 20:05:34 -07:00
John Blum
08350ab997 Rename the AbstractApplicationContextCacheLifecycleListenerAdapter class to AbstractApplicationEventPublisherCacheLifecycleListenerAdapter.
Refactor the TestContextCacheLifecycleListenerAdapter class making it a proper Singleton (i.e. a final class with private constructor).

Add isOpen(:GemFireCache) method to TestContextCacheLifecycleListenerAdapter.

Rename cacheReferences to cacheInstances.
2021-03-22 19:48:53 -07:00
John Blum
59488b0a54 Move TestContextEventType enumeration to the org.springframework.data.gemfire.tests.extensions.spring.test.context.event package. 2021-03-22 19:42:38 -07:00
John Blum
dfd0d8e324 Move the GemFireUnitTest annotation to the org.springframework.data.gemfire.tests.unit.annotation package. 2021-03-22 19:37:36 -07:00
John Blum
103cb930ba Refactor codebase.
Apply Spring @NonNull & @Nullable annotations to the API.
2021-03-22 19:37:36 -07:00
John Blum
54e8b1ecde Refactor codebase.
Apply Spring @NonNull and @Nullable annotations to the API.
2021-03-22 19:37:36 -07:00
John Blum
29100747a3 Upgrade to Spring Data Ockham-SR6.
Upgrade to Spring Data BOM 2020.0.6 / Ockham-SR6.

Upgrade to Spring Data for Apache Geode & VMware Tanzu (Pivotal) GemFire 2.4.6.
2021-03-22 19:37:36 -07:00
John Blum
dd6fa7f88a Upgrade to Spring Boot 2.4.4. 2021-03-22 19:37:36 -07:00
John Blum
9828dc997d Upgrade to Spring Framework 5.3.5. 2021-03-22 19:37:36 -07:00
John Blum
c8b0173fbd Upgrade to VMware Tanzu (Pivotal) GemFire 9.10.6. 2021-03-22 19:37:36 -07:00
John Blum
14fa273445 Improve test context/infrastructure logic to reliably determine whether the GemFire/Geode cache instance was properly closed.
This test logic is necessary to prevent interference between tests, particularly for integration tests involving live GemFire/Geode objects, especially since GemFire/Geode is rife with Singletons.

For example, SSL configuration settings linger between tests if the cache is not fully closed (when all resources are adequately released) in a timely manner.
2021-03-22 19:36:56 -07:00
John Blum
3d13306ace Rename IntegrationTestsSupport.clearAllBeanFactoryLocators() method to closeAllBeanFactoryLocators(). 2021-03-18 12:34:13 -07:00
John Blum
dab4fca83e Upgrade to Mockito 3.8.0. 2021-02-22 13:44:06 -08:00
John Blum
c13c5f1ea4 Upgrade to Gradle 6.8.2. 2021-02-18 17:28:42 -08:00
John Blum
e1c8ad845a Upgrade to JUnit 4.13.2. 2021-02-18 17:02:53 -08:00
John Blum
e29b951e80 Upgrade to Spring Data 2020.0.6-SNAPSHOT.
Upgrade to Spring Data BOM 2020.0.6-SNAPSHOT.

Upgrade to Spring Data Build Parent 2.4.6-SNAPSHOT.

Upgrade to Spring Data for Apache Geode 2.4.6-SNAPSHOT.

Upgrade to Spring Data for VMware Tanzu (Pivotal) GemFire 2.4.6-SNAPSHOT.
2021-02-18 17:01:49 -08:00
John Blum
1942e545bc Upgrade to Spring Boot 2.4.3. 2021-02-18 16:59:05 -08:00
John Blum
978e48ed7a Upgrade to Spring Framework 5.3.4. 2021-02-18 16:58:27 -08:00
John Blum
872ca9d227 Upgrade to Spring Build Conventions Gradle Plugin 0.0.37. 2021-02-02 12:10:47 -08:00
John Blum
c7d1b56968 Upgrade to Lombok 1.18.18. 2021-02-02 12:09:04 -08:00
John Blum
cbfa432c5a Prepare next development iteration.
Set Spring Data BOM version to 2020.0.4-SNAPSHOT / Ockham-SR4.

Set Spring Data Build Parent version to 2.4.4-SNAPSHOT.

Set Spring Data for Apache Geode version to 2.4.4-SNAPSHOT.

Set version to 0.0.23-SNAPSHOT.
2021-01-25 14:06:54 -08:00
John Blum
dd069ce18d Release 0.0.22. 2021-01-25 14:00:08 -08:00
John Blum
0c8ee6b610 Upgrade to Gradle 6.8.1. 2021-01-25 13:53:59 -08:00
John Blum
54de60cc18 Upgrade to Spring Data Ockham-SR3.
Upgrade to Spring Data BOM 2020.0.3 / Ockham-SR3.

Upgrade to Spring Data Build Parent 2.4.3.

Upgrade to Spring Data for Apache Geode & VMware Tanzu (Pivotal) GemFire 2.4.3.
2021-01-25 13:53:20 -08:00
John Blum
58c0c25f27 Upgrade to AssertJ 3.19.0. 2021-01-25 13:52:17 -08:00
John Blum
e73b84d377 Set auth credentials when present to autheticate with Spring libs-snapshot Repository. 2021-01-22 12:26:54 -08:00
John Blum
618357f83d Add Maven Central Repository to buildscript to resolve build dependencies. 2021-01-22 12:21:42 -08:00
John Blum
46d6c7f5d7 Upgrade to Spring Build Conventions Gradle Plugin 0.0.36. 2021-01-22 12:18:42 -08:00
John Blum
311046669a Upgrade to Gradle 6.8. 2021-01-19 12:10:25 -08:00
John Blum
895036ae11 Upgrade to Spring Data 2020.0.3-SNAPSHOT.
Upgrade to Spring Data Build Parent 2.4.3-SNAPSHOT.

Upgrade to Spring Data for Apache Geode & VMware Tanzu (Pivotal) GemFire 2.4.3-SNAPSHOT.
2021-01-19 12:10:01 -08:00
John Blum
e6f264e9b4 Upgrade to Spring Boot 2.4.2. 2021-01-19 12:07:35 -08:00
John Blum
8f53a2db9c Upgrade to Spring Framework 5.3.3. 2021-01-19 12:06:29 -08:00
John Blum
17fea75152 Upgrade to Mockito 3.7.7. 2021-01-19 12:04:27 -08:00
John Blum
80bd2d19ab Add RegionSpyingBeanPostProcessor class to spy on Region beans managed in a Spring TestContext for testing purposes. 2020-12-11 13:46:45 -08:00
John Blum
df5635f925 Prepare next development iteration.
Set Spring Data version to Ockham-SNAPSHOT.

Set Spring Data for Apache Geode & VMware Tanzu (Pivotal) GemFire version to 2.4.2-SNAPSHOT.

Set Spring Data Build Parent version to 2.4.2-SNAPSHOT.

Set Spring Data BOM version to 2020.0.2-SNAPSHOT.
2020-12-11 13:46:45 -08:00
John Blum
5d28098663 Release 0.0.21.RELEASE. 2020-12-11 13:46:45 -08:00
John Blum
d6f1a02a24 Declare 'java-module-name' build property required by Java 9 Module System. 2020-12-11 13:47:01 -08:00
John Blum
4ccc042ba4 Fix artifactId for Spring Data Maven BOM.
Change 'spring-data-releasetrain' to 'spring-data-bom'.
2020-12-11 13:46:45 -08:00
John Blum
6bbf106483 Upgrade to Freefair Lombok Gradle Plugin 5.3.0. 2020-12-11 13:46:45 -08:00
John Blum
df0d5b50be Remove the spring-data-gemfire-test module.
Remove support for VMware Tanzu (Pivotal) GemFire.
2020-12-11 13:46:45 -08:00
John Blum
233ddb21d9 Upgrade to Gradle 6.7.1. 2020-12-11 13:46:45 -08:00
John Blum
03604742fa Enable Maven dependency management for Apache Geode. 2020-12-11 13:46:45 -08:00
John Blum
ce87293dde Disable (comment out) the Spring Framework and Spring Data version extension overrides. 2020-11-19 10:29:43 -08:00
John Blum
8711415285 Upgrade to Spring Data Ockham-SR1.
Upgrade to Spring Data for Apache Geode & VMware Tanzu (Pivotal) GemFire 2.4.1.

Upgrade to Spring Data Build (Parent) 2.4.1.

Upgrade to Spring Data BOM 2020.0.1.

Rename 'springDataReleaseTrainVersion' Gradle property to 'springDataBomVersion'.

Rename 'spring-data-releasetrain.version' Maven property to 'spring-data-bom.version'.
2020-11-19 10:26:18 -08:00
John Blum
7560de6baa Upgrade to Spring Boot 2.4.0. 2020-11-19 10:19:56 -08:00
John Blum
d70daa5d9d Upgrade to Spring Framework 5.3.1. 2020-11-19 10:19:22 -08:00
John Blum
780ef93a23 Upgrade to VMware Tanzu (Pivotal) GemFire 9.10.5. 2020-11-19 10:18:09 -08:00
John Blum
9f79c63d29 Upgrade to AssertJ 3.18.1. 2020-11-19 10:16:58 -08:00