Commit Graph

416 Commits

Author SHA1 Message Date
John Blum
73c900d4e8 Add tryDelete(:File) method to try to delete a given File in a given number of attempts and wait duration between attempts. 2020-08-27 16:26:08 -07:00
John Blum
4ab9090350 Change GemFireResourceCollectorApplicationListener constructor argument to DEFAULT_SEARCH_DIRECTORY. 2020-08-27 15:58:16 -07:00
John Blum
ece0601034 Prepare next development iteration.
Set Spring Data BOM (Release Train) to Neumann.BUILD-SNAPSHOT.

Set Spring Data for Apache Geode & VMware/Pivotal GemFire to 2.3.4.BUILD-SNAPSHOT.

Set version to 0.0.19.BUILD-SNAPSHOT.
2020-08-18 14:38:18 -07:00
John Blum
2a73160357 Release 0.0.18.RELEASE. 2020-08-18 14:31:44 -07:00
John Blum
c7f1d316fc Align Maven POM with Gradle build properties for dependency versions. 2020-08-18 14:24:45 -07:00
John Blum
3d01e38a92 Upgrade to Gradle 6.6. 2020-08-17 23:26:52 -07:00
John Blum
d95fb26022 Upgrade to Spring Data Neumann-SR3.
Upgrade to Spring Data for Apache Geode & VMware/Pivotal GemFire 2.3.3.RELEASE.

Upgrade to Spring Data Release Train Neumann-SR3.
2020-08-17 23:25:49 -07:00
John Blum
9d9a59475b Upgrade to Spring Boot 2.3.3.RELEASE. 2020-08-17 23:24:35 -07:00
John Blum
61c8503797 Upgrade to Mockito 3.5.0. 2020-08-17 23:22:49 -07:00
John Blum
9c2de3e285 Upgrade to Spring Build Conventions Gradle Plugin 0.0.34.RELEASE. 2020-08-17 23:21:30 -07:00
John Blum
eb8eafe111 Add mock functionality and support for Cache.getGatewaySenders() and Cache.getGatewaySender(id:String). 2020-08-17 23:13:38 -07:00
John Blum
ab8af5abfa Add mock functionality and support for Cache.getGatewayReceivers(). 2020-08-17 23:10:48 -07:00
John Blum
2d92d65831 Add mock functionality and support for Cache.getAsyncEventQueues() and Cache.getAsyncEventQueue(id:String). 2020-08-17 23:08:42 -07:00
John Blum
cc19ff04e0 Edit README and add a link to the Apache Geode Wiki documenting all Geode Artifacts in the section, 'Cleaning up after GemFire/Geode during Integration Tests'. 2020-07-28 11:25:54 -07:00
John Blum
015b80c5ab Edit README and format source code examples. 2020-07-27 19:07:01 -07:00
John Blum
6f3e5fc1b4 Edit README and add documentation for the '@EnableGemFireResourceCollector' annotation. 2020-07-27 18:58:51 -07:00
John Blum
e9b0e070bf Edit README and add documentation on controlling the GemFire/Geode mocked objects scope and lifecycle using Spring TestContext events. 2020-07-27 17:52:06 -07:00
John Blum
dccbe27b2f Edit README and add documentation on how to mock unsupported GemFire/Geode object operations (e.g. Region.putIfAbsent(key, value)). 2020-07-27 17:22:49 -07:00
John Blum
e7c3b1fc2d Edit README and review/revise documentation on Unit Tests, Mocking and Mock Regions with mock data. 2020-07-27 16:52:07 -07:00
John Blum
d2bd431e43 Replace all references to 'Pivotal GemFire' with 'VMware GemFire'. 2020-07-26 22:30:20 -07:00
John Blum
f87fbb3fcb Prepare next development iteration.
Set Spring Data to Neumann-BUILD-SNAPSHOT.

Set Spring Data for Apache Geode & VMware GemFire to 2.3.3.BUILD-SNAPSHOT.

Set Spring Data Build to 2.3.3.BUILD-SNAPSHOT.

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

Set version to 0.0.18.BUILD-SNAPSHOT.
2020-07-26 22:12:13 -07:00
John Blum
4fe736fd9d Release 0.0.17.RELEASE. 2020-07-26 22:02:25 -07:00
John Blum
ee35939418 Upgrade to Spring Build Conventions Gradle Plugin 0.0.33.RELEASE. 2020-07-26 21:53:10 -07:00
John Blum
22fa682070 Add 'com.google.code.findbugs:jsr305' compileOnly dependency to cleanup Gradle build warning involving javax.annotation.meta.When annotation. 2020-07-26 21:46:43 -07:00
John Blum
e50324c12b Upgrade to Gradle 6.5.1. 2020-07-26 21:40:03 -07:00
John Blum
bb9cb11b3e Upgrade to Spring Data Neumann-SR2.
Upgrade to Spring Data for Apache Geode & VMware GemFire 2.3.2.RELEASE.

Upgrade to Spring Data Build (Parent) 2.3.2.RELEASE.

Upgrade to Spring Data Release Train Neumann-SR2.
2020-07-26 21:36:41 -07:00
John Blum
cd7f8ec5fd Upgrade to Spring Boot 2.3.2.RELEASE. 2020-07-26 21:34:49 -07:00
John Blum
ae25a178bd Upgrade to Spring Framework 5.2.8.RELEASE. 2020-07-26 21:34:07 -07:00
John Blum
7cc623710f Upgrade to VMware GemFire 9.10.2. 2020-07-26 21:33:02 -07:00
John Blum
0f3968503b Upgrade to Mockito 3.4.4. 2020-07-26 21:29:11 -07:00
John Blum
3961cce1c8 Add test cases proving the OOTB, unsupported putAll(:Map<?, ?>) and putIfAbsent(key, value) Map methods of Region can be mocked by end-users. 2020-07-26 21:22:03 -07:00
John Blum
32c664db07 Remove uses of deprecated Mockito APIs. 2020-07-26 21:22:03 -07:00
John Blum
9c693001fd Change return type of setField(..) from Object to T.
Annotate makeAccessibleReturnConstructor(:Constructor) with @SuppresssWarnings('rawtypes').
2020-07-26 21:22:03 -07:00
John Blum
a2bc65b408 Edit Javadoc. 2020-06-17 20:11:49 -07:00
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