Commit Graph

382 Commits

Author SHA1 Message Date
John Blum
36795103e7 Rename @EnableGemFireGarbageCollector annotation to @EnableGemFireResourceCollector.
Rename all associated and appropriate uses of 'garbage' to 'resources'.

Resolves gh-21.
2020-06-17 20:07:28 -07:00
John Blum
ad2c6c0f11 Set Spring Data version to Neumann-BUILD-SNAPSHOT. 2020-06-17 19:28:46 -07:00
John Blum
5276bc4cf5 Upgrade to Spring Boot 2.3.1.RELEASE. 2020-06-17 19:28:11 -07:00
John Blum
64d5a7e208 Upgrade to Spring Framework 5.2.7.RELEASE. 2020-06-17 19:27:23 -07:00
John Blum
add1454e3d Upgrade to VMware GemFire 9.10.1. 2020-06-17 19:24:29 -07:00
John Blum
bb63670d65 Format source code.
Edit Javadoc.
2020-06-17 19:19:59 -07:00
John Blum
af6340f8a0 Set the default 'destroyEventTypes' to AfterTestClassEvent.class. 2020-06-17 19:15:55 -07:00
John Blum
15077eb5f4 Rename @EnableGemFireMockObjects.destroyOnEvent annotation attribute to 'destroyOnEvents'.
Add additional test cases for the GemFireMockObjectsConfiguration class testing the ApplicationListener and BeanPostProcessor bean configurations.
2020-06-17 19:09:15 -07:00
John Blum
06aeaa62cf Add Unit Tests for GemFireGarbageCollectorApplicationListener.
Resolves gh-21.
2020-06-17 17:18:58 -07:00
John Blum
ddfbfb3852 Add Unit Tests for GemFireGarbageCollectorConfiguration.
Resolves gh-21.
2020-06-17 17:18:49 -07:00
John Blum
ed9ac261f4 Set default GemFire Gargabe Collector event type to AfterTestClassEvent.class.
Add accessor methods for gemfireGarbageCollectorEventTypes and tryCleanDiskStoreFiles configuration settings.

Resolves gh-21.
2020-06-17 15:11:01 -07:00
John Blum
a4e6892a55 Add isEmpty(:File) method to determine whether a file or a directory is empty.
A file is empty if the file size (length) is 0 bytes.  A directory is empty if it contains no files.
2020-06-17 15:04:56 -07:00
John Blum
140b423f70 Add nullSafeLength(:File) method to safely invoke file.length() protexting against a null File reference. 2020-06-17 15:04:56 -07:00
John Blum
6a6cd7c136 Add new @EnableGemFireGarbageCollector annotation and logic to collect and cleanup after GemFire/Geode, deleting all files and directories in the filesystem left over after a GemFire/Geode process terminates.
Resolves gh-21.
2020-06-17 15:04:56 -07:00
John Blum
56dc4ffec6 Extend SDG's AbstractAnnotationConfigSupport base class. 2020-06-15 16:35:38 -07:00
John Blum
75db4b496a Edit Javadoc. 2020-06-15 16:34:29 -07:00
John Blum
ede0b99e28 Correct Generics signature.
Format source code.
2020-06-15 16:33:55 -07:00
John Blum
6008ab237e Prepare next development iteration.
Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.3.2.BUILD-SNAPSHOT.

Upgrade to Spring Data Build 2.3.2.BUILD-SNAPSHOT.

Upgrade to Spring Data Release Train Neumann-BUILD-SNAPSHOT.

Set version to 0.0.17.BUILD-SNAPSHOT.
2020-06-11 00:18:21 -07:00
John Blum
7c24e1cef3 Release 0.0.16.RELEASE. 2020-06-11 00:09:19 -07:00
John Blum
7abc25333e Upgrade to Gradle 6.5. 2020-06-10 23:59:56 -07:00
John Blum
b348a1d27b Set Spring Data version to Neumann-RELEASE.
Set Spring Data for Apache Geode & Pivotal GemFire version to 2.3.0.RELEASE.

Set Spring Data Build version to 2.3.0.RELEASE.

Set Spring Data Release Train version to Neumann-RELEASE.
2020-06-10 23:58:04 -07:00
John Blum
96e9b05750 Add Spring TestExecutionListener implementation to destroy all GemFire/Geode Mock Objects when configured TestContextEvents by type are fired during the test execution lifecycle.
Resolves gh-20.
2020-05-21 21:47:02 -07:00
John Blum
4f4cfad6c2 Create enumeration of all Spring TestContext framework, TestContextEvent types.
Resolves gh-20.
2020-05-21 21:45:52 -07:00
John Blum
39f36ce9d0 Add Spring ApplicationListener implementation to destroy all GemFire/Geode Mock Objects when configured ApplicationEvents are fired in a Spring context.
Resolves gh-20.
2020-05-21 21:45:13 -07:00
John Blum
ff49f11a02 Add Unit Tests for GemFireMockObjectsBeanPostProcessor. 2020-05-21 21:43:21 -07:00
John Blum
fbb39b97b9 Add Unit Tests for GemFireMockObjectsApplicationContextInitializer. 2020-05-21 21:42:46 -07:00
John Blum
4761c0ade5 Edit Javadoc. 2020-05-21 21:40:26 -07:00
John Blum
21761a789c Move GemFireMockObjectsBeanPostProcessor to org.springframework.data.gemfire.tests.mock.beans.factory.config. 2020-05-21 21:40:26 -07:00
John Blum
af9237eeb1 Add 'destroyOnEvent' configuration annotation attribute.
The 'destoryOnEvent' EnableGemFireMockObjects annotation attribute configures specific Spring ApplicationEvent types (Class) that will trigger the destruction of all GemFire/Geode Mock Objects.

Add bean definition and declaration for the DestroyGemFireMockObjectsApplicationListener.

Add Unit Tests for the GemFireMockObjectsConfiguration class.

Resolves gh-20.
2020-05-21 21:40:26 -07:00
John Blum
53893bd49f Add support to suppress GemFire/Geode Mock Object destruction on ContextClosedEvents. 2020-05-19 21:59:22 -07:00
John Blum
ea46191256 Upgrade to Gradle 6.4.1. 2020-05-18 21:32:56 -07:00
John Blum
32a6c771ad Upgrade to Spring Boot 2.3.0.RELEASE. 2020-05-18 21:32:39 -07:00
John Blum
bd10bc0bea Upgrade to Spring Build Conventions Gradle Plugin 0.0.32.RELEASE. 2020-05-18 21:22:31 -07:00
John Blum
2e1153053b Remove Spring 'libs-snapshot' Repository declaration from dependency-management.gradle and change the Spring Plugins Repository buildscript repository declaration to 'plugins-snapshot' in build.gradle.
The Spring Boot Gradle Plugin is used to manage transitive dependencies, comes from the Spring 'plugins-snapshot' Repository.

This should enable '*-RELEASE' builds to work correctly even when Spring Boot is in milestone versions (M# and RC#).
2020-05-13 17:22:22 -07:00
John Blum
c1682f6cba Prepare next development iteration.
Set Spring Data for Apache Geode & Pivotal GemFire version to 2.3.1.BUILD-SNAPSHOT.

Set Spring Data Release Train version to Neumann-BUILD-SNAPSHOT.

Set version to 0.0.16.BUILD-SNAPSHOT.
2020-05-13 16:42:23 -07:00
John Blum
53da4d0ce2 Release 0.0.15.RELEASE. 2020-05-13 16:26:57 -07:00
John Blum
9fc308ef53 Exclude Spring Boot (ideally, 'provided') dependencies from generated Maven POM. 2020-05-13 16:23:48 -07:00
John Blum
483862d649 Declare a Repository definition for Spring's 'libs-snapshot' Maven Repository. 2020-05-13 15:31:11 -07:00
John Blum
0a80d8596e Upgrade to Spring Data Neumann-RELEASE.
Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.3.0.RELEASE.

Upgrade to Spring Data Release Train Neumann-RELEASE.
2020-05-13 15:09:24 -07:00
John Blum
6ccf73a583 Upgrade to Spring Boot 2.3.0.RC1.
Spring Boot is used for transitive dependency management.
2020-05-13 15:07:35 -07:00
John Blum
540b87d8ac Upgrade to Spring Framework 5.2.6.RELEASE. 2020-05-13 15:05:59 -07:00
John Blum
9d49b62be6 Upgrade to Pivotal GemFire 9.10.0. 2020-05-13 15:04:34 -07:00
John Blum
c6e1d78807 Upgrade to AssertJ 3.16.1. 2020-05-13 15:03:52 -07:00
John Blum
d43b96e328 Upgrade to Apache Geode 1.12.0. 2020-05-13 14:50:03 -07:00
John Blum
703e64a010 Add overloaded timedWait(..) methods taking a non-null java.time.Duration object.
Deprecate WaitCondition and introduce a new Condition interface.
2020-04-16 10:38:19 -07:00
John Blum
0b0150ee9c Add CONTRIBUTING.adoc. 2020-04-16 10:27:31 -07:00
John Blum
e2ce22e3e1 Update README to include shared, spring-projects GitHub Organization community health files. 2020-04-16 10:27:20 -07:00
John Blum
1c385b3f20 Prepare next development iteration.
Set Spring Data for Apache Geode & Pivotal GemFire version to 2.2.7.BUILD-SNAPSHOT.

Set Spring Data Parent Maven POM version to 2.2.7.BUILD-SNAPSHOT.

Set Spring Data Release Train version to Moore-BUILD-SNAPSHOT.

Set version to 0.0.15.BUILD-SNAPSHOT.
2020-04-15 13:48:01 -07:00
John Blum
47e672edb8 Release 0.0.14.RELEASE. 2020-04-15 13:42:42 -07:00
John Blum
1e5862b8b0 Prepare 0.0.14.RELEASE.
Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.2.6.RELEASE.

Upgrade to Spring Data Parent Maven POM 2.2.6.RELEASE.

Upgrade to Spring Data Release Train Moore-SR6.
2020-04-15 13:34:08 -07:00