Commit Graph

458 Commits

Author SHA1 Message Date
John Blum
a44eb40bdc Upgrade to JUnit 4.13.1. 2020-11-03 11:36:04 -08:00
John Blum
3458654cae Upgrade to AssertJ 3.18.0. 2020-11-03 11:33:59 -08:00
John Blum
376e89b38d Edit Gradle build file description. 2020-11-03 10:46:24 -08:00
John Blum
77ac40d653 Add @Configuration class for Locator only.
Add @Configuration class for Manager only.
2020-11-03 10:41:10 -08:00
John Blum
49a580fe93 Prepare next development iteration.
Set Spring Data version to Neumann-BUILD-SNAPSHOT.

Set Spring Data for Apache Geode & VMware Tanzu GemFire version to 2.3.5.BUILD-SNAPSHOT.

Set Spring Data Build version to 2.3.5.BUILD-SNAPSHOT.

Set Spring Data Release Train version to Neumann-BUILD-SNAPSHOT.
2020-09-16 20:04:27 -07:00
John Blum
f61b97ff3d Release 0.0.19.RELEASE. 2020-09-16 19:57:18 -07:00
John Blum
b40dd309bc Extend IntegrationTestsSupport. 2020-09-16 19:52:20 -07:00
John Blum
96eb72fadf Enable the FreeFair Lombok Gradle Plugin. 2020-09-16 19:44:24 -07:00
John Blum
e25cdb363c Provide mock stubbing support for GemfireRepository.count() method when GemFire Mock Objects is enabled. 2020-09-16 19:25:06 -07:00
John Blum
e0eaeacc60 Annotate mockRegionDataAccessOperations(..) with @SuppressWarnings('unchecked').
Annotate mockSelectResults() and mockLucenceIndexFactory(..) with @SuppressWarnings('unchecked').
2020-09-16 16:19:30 -07:00
John Blum
3a2811f52b Replace all references to 'VMware GemFire' with 'VMware Tanzu GemFire' in project Gradle/Maven build files and the docs (README). 2020-09-16 16:11:16 -07:00
John Blum
e67104ee6b Upgrade to Spring Data Neumann-SR4.
Upgrade to Spring Data for Apache Geode & VMware Tanzu GemFire 2.3.4.RELEASE.

Upgrade to Spring Data Build 2.3.4.RELEASE.

Upgrade to Spring Data Release Train Neumann-SR4.
2020-09-16 16:06:52 -07:00
John Blum
63750fac9f Upgrade to Spring Framework 5.2.9.RELEASE. 2020-09-16 16:01:14 -07:00
John Blum
2e4976efd8 Upgrade to Mockito 3.5.10. 2020-09-16 15:59:15 -07:00
John Blum
bade1add0b Upgrade to AssertJ 3.17.2. 2020-09-16 15:58:24 -07:00
John Blum
768cfc6fd2 Upgrade to Gradle 6.6.1. 2020-09-16 15:52:51 -07:00
John Blum
d484e2a6d3 Edit README and list all supported mock Region data access operations in 'Mocking Unsupported Region Operations' section. 2020-09-16 15:50:34 -07:00
John Blum
c4adce3839 Edit README and include additional Map/Region data access operations mock support. 2020-09-16 15:44:39 -07:00
John Blum
f144f98271 Mock the Map/Region.values() operation. 2020-09-16 15:25:37 -07:00
John Blum
efed3af760 Use doAnswer(..) instead of thenAnswer(..) Mockito mock stubbing for mock Region.remove(key). 2020-09-16 14:59:31 -07:00
John Blum
8c32143918 Mock the Region.removeAll(:Collection<K>) operation. 2020-09-16 14:50:12 -07:00
John Blum
e453578340 Mock the Map/Region.putAll(:Map<K, V>) operation. 2020-09-16 14:33:07 -07:00
John Blum
22e950c19a Use doAnswer(..) instead of thenAnser(..) Mockito mock stubbing for mock Region.put(key, value). 2020-09-16 13:48:03 -07:00
John Blum
e718b595f6 Mock the Region.localInvalidate(key) operation; call mock Region.invalidate(key). 2020-09-16 13:35:57 -07:00
John Blum
ab686fe92c Mock the Region.localClear() operation; call mock Region.clear(). 2020-09-16 13:32:07 -07:00
John Blum
1a10296740 Mock the Map/Region.keySet() operation. 2020-09-16 13:23:37 -07:00
John Blum
f5fe40dfcd Mock the Map/Region.isEmpty() operation. 2020-09-16 13:14:24 -07:00
John Blum
051447a76d Mock the Region.getParentRegion() operation for sub-Regions. 2020-09-16 12:51:02 -07:00
John Blum
74634337fb Mock the Map.getOrDefault(key, defaultValue) operation. 2020-09-16 12:20:28 -07:00
John Blum
2e94141994 Use doAnser(..) instead of thenAnser(..) Mockito mock stubbing for getSubregions(..) and subregions(..) operations on mock Region. 2020-09-16 12:13:05 -07:00
John Blum
f896abd33b Refactor all mock Region data access operations into a separate method. 2020-09-16 12:08:59 -07:00
John Blum
16c7ddeeb9 Mock the Region.getAll(:Collection<K>) operation. 2020-09-16 12:02:46 -07:00
John Blum
028f9c16da Use doAnswer(..) instead of thenAnser(..) Mockito mock stubbing for Map/Region.get(key). 2020-09-15 19:42:58 -07:00
John Blum
ea2241847a Mock the Map.forEach(:BiConsumer<K, V>) operation. 2020-09-15 19:35:55 -07:00
John Blum
06cdda618d Mock the Region.containsValueForKey(key) operation. 2020-09-15 19:11:41 -07:00
John Blum
e7c106f4ca Mock the Map/Region.containsValue(value) operation. 2020-09-15 18:58:05 -07:00
John Blum
ed94c009bb Write test for the Map/Region.containsKey(key) operation. 2020-09-15 18:58:05 -07:00
John Blum
301deb1330 Mock the Map/Region.clear() operation. 2020-09-15 18:50:46 -07:00
John Blum
528818b9fd Mock SelectResults.iterator().
Change access modifier on GemFireMockObjectsSupport.mockSelectResults() to private.
2020-08-28 15:07:36 -07:00
John Blum
f2779cd8d7 Mock ClientCache.getQueryService(poolName:String).
Mock QueryService.newQuery(:String).

Mock Query.execute(..).

Mock SelectResults<?>, ObjectType and CollectionType.
2020-08-28 14:50:10 -07:00
John Blum
cb28c5f4df If trying to delete a file fails then schedule the file to be deleted on exit. 2020-08-28 10:41:13 -07:00
John Blum
d9b3ac9ce3 Recurse on collectGemFireResources(:File) when deleting a target GemFire/Geode directory.
Replaces FileSystemUtils.deleteRecursive(:File).

Edit Javadoc.
2020-08-27 16:29:09 -07:00
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