John Blum
6f7ceabc31
Upgrade to AssertJ 3.21.0.
2021-09-20 15:16:36 -07:00
John Blum
fcafd5ca46
Add additional overloaded closeGemFireCacheWaitOnCacheClosedEvent(..) methods to control how the GemFireCache object (instance) is closed using a java.util.function.Function.
2021-09-20 11:55:45 -07:00
John Blum
fef16bf957
Add overloaded closeGemFireCacheWaitOnCacheClosedEvent(..) methods accepting a Supplier for a GemFireCache object to close.
2021-09-20 11:55:23 -07:00
John Blum
84442946bd
Unregister all Functions from Apache Geode's FunctionService after test class/suite execution.
2021-09-16 22:57:04 -07:00
John Blum
61316b8631
Change all JUnit declared @BeforeClass Spring and Apache Geode object and resource cleanup to occur after test (class/suite) execution using JUnit's @AfterClass.
...
Edit Javadoc.
2021-09-16 22:56:50 -07:00
John Blum
e188e9f48e
Add test class cleanup method to delete all Apache Geode/VMware GemFire process .pid files.
2021-09-15 18:16:18 -07:00
John Blum
5cef6cdbd6
Rename closeAnyGemFireCacheInstanceBeforeTestExecution() method to claseAnyGemFireCacheBeforeTestExecution().
2021-09-15 18:15:20 -07:00
John Blum
3efceeb494
Add overloaded newApplicationContext(..) method to accept a Function to further initialize and process the new ApplicationContext created in the SpringApplicationContextIntegrationTestsSupport class.
2021-09-14 23:37:12 -07:00
John Blum
f24c1a7690
Add containsBean(:String) method to the SpringApplicationContextIntegrationTestsSupport class.
2021-09-14 23:32:33 -07:00
John Blum
876ad6ec52
Add getBeansOfType(Class<T>) method to the SpringApplicationContextIntegrationTestsSupport class.
2021-09-14 23:32:01 -07:00
John Blum
666555a220
Suppress (unchecked) compiler warning in GemFireMockObjectsSupport.
2021-09-14 11:55:36 -07:00
John Blum
770b3c85cf
Add getters and setter for the autowiored/injected Spring ConfigurableApplicationContext object reference in IntegrationTestsSupport.
2021-09-14 11:52:14 -07:00
John Blum
b1de07519b
Add capability to unregister all Functions registered with the FunctionService on destruction of the GemFire Mock Objects.
2021-09-14 11:00:32 -07:00
John Blum
87a7bc8e49
Fix bug with DistributedSystem Properties handling in mock object configuration.
2021-09-13 14:39:48 -07:00
John Blum
a6fa87638e
Refer to Apache Geode properties by name using DistributionConfig constants.
2021-09-13 13:22:56 -07:00
John Blum
933721a969
Mock the Pool.getQueryService() method.
2021-09-13 12:09:01 -07:00
John Blum
227f96e900
Add capability to remember (refer to) and resolve a reference to any (latest) GemFireCache object created by the Apache Geode mock objects test framework.
2021-09-13 12:07:33 -07:00
John Blum
ee16dd37ad
Add mock support for CacheServer groups configuration.
2021-09-10 17:41:01 -07:00
John Blum
20e401e94f
Fix bugs in mock Index logic regarding (mock) Region references.
2021-09-10 17:26:14 -07:00
John Blum
70cf67cf45
Fix bugs in mock Lucene objects functionality.
2021-09-10 16:51:28 -07:00
John Blum
598a520dbe
Refactor mockLuceneIndexFactory(..) method logic.
2021-09-10 16:16:08 -07:00
John Blum
5b78c3d856
Format source code.
2021-09-10 15:12:07 -07:00
John Blum
e398b8a23b
Add mock support for MembershipAttributes configuration on RegionAttributes for a Region.
2021-09-10 15:08:17 -07:00
John Blum
fc98bd0fd4
Add mock support for the Apache Geode CacheTransactionManager API.
2021-09-10 11:17:48 -07:00
John Blum
8f31eb4f1b
Add overloaded signal(..) method to accept an arbitrary Object value to send to the server.
2021-09-10 10:44:19 -07:00
John Blum
bc1fcd6cd1
Add startGeodeServer(..) alias method for the startGemFireServer(..) method in the ForkingClientServerIntegrationTestsSupport class.
2021-09-09 11:17:10 -07:00
John Blum
a39f40841d
Refresh the Spring ApplicationContext in the runSpringApplication(..) method of the ClientServerIntegrationTestsSupport class.
2021-09-09 11:13:02 -07:00
John Blum
2ff96e5c6f
Add static block() method in ClientServerIntegrationTestsSupport to prevent forked, non-daemon JVM processes used in testing from prematurely terminating.
2021-09-09 11:05:04 -07:00
John Blum
9dcd1ed8ea
Change mock GatewayReceiver.getPort() to generate a random port between start and end ports.
2021-09-09 10:43:30 -07:00
John Blum
74da92a993
Change mock GatewayReceiver 'running' property to be the negation of 'manualStart'.
2021-09-09 10:38:36 -07:00
John Blum
149dcfe035
Enable mocking for GatewayReceiver.getHostnameForSenders().
2021-09-09 10:33:04 -07:00
John Blum
60c2ec5fe7
Change managed Set of GatewayReceivers from ConcurrentSkipListSet to a synchronized HashSet.
...
org.apache.geode.cache.wan.GatewayReceiver does not implement java.lang.Comparable and is not naturally ordered (sortable) and therefore cannot be stored in a ConcurrentSkipListSet without a custom Comparator.
2021-09-09 10:12:49 -07:00
John Blum
f1e594b10f
Add configuration support to configure the Singleton property of the mock GemfireCache using Java (JVM) System properties.
2021-09-08 18:01:05 -07:00
John Blum
395d55ae1d
Add mock configuration for the peer Cache gatewayConflictResolver object property.
2021-09-08 15:15:09 -07:00
John Blum
6889b3c696
Add mock configuration for the ClientCacheFactory's (DEFAULT Pool) and Pool's socketFactory property.
2021-09-08 14:13:00 -07:00
John Blum
4c86e7c93e
Add mock configuration for the ClientCacheFactory's (DEFAULT Pool) and Pool's serverConnectionTimeout property.
2021-09-08 13:47:22 -07:00
John Blum
061b281ae9
Add support to resolve RegionAttributes from ClientRegionShortcut and RegionShortcut.
...
Add support to resolve the DistributedSystem name from GemFire properties.
Change the method signatures of mockClientRegionFactory(..) and mockRegionFactory(..).
2021-09-08 13:04:10 -07:00
John Blum
1fde5eaec0
Switch port allocation to find availavble port and reserve.
2021-09-08 12:52:49 -07:00
John Blum
fced306b12
Add null-safe static utility method used to close a given Spring ApplicationContext.
2021-09-08 12:52:49 -07:00
John Blum
3aefdaa81b
Cleanup compiler warnings.
...
Format source code.
2021-09-08 12:41:22 -07:00
John Blum
01f5925927
Upgrade to Apache Geode 1.13.4.
2021-09-01 16:53:27 -07:00
John Blum
eba11d87fc
Upgrade to Spring Data Pascal-SR5-SNAPSHOT.
...
Upgrade to Spring Data BOM 2021.0.5-SNAPSHOT.
Upgrade to Spring Data Build Parent 2.5.5-SNAPSHOT.
Upgrade to Spring Data for Apache Geode 2.5.5-SNAPSHOT.
Upgrade to Spring Data for VMware Tanzu (Pivotal) GemFire 2.5.5-SNAPSHOT.
2021-09-01 16:53:18 -07:00
John Blum
eb3fb1bf58
Upgrade to Spring Boot 2.5.4.
2021-09-01 16:47:04 -07:00
John Blum
39f5a9e42d
Upgrade to Spring Framework 5.3.9.
2021-09-01 16:46:27 -07:00
John Blum
25b445e5ac
Upgrade to VMware Tanzu (Pivotal) GemFire 9.10.9.
2021-09-01 16:46:01 -07:00
John Blum
9efdfcec48
Upgrade to Mockito 3.12.4.
2021-09-01 16:45:26 -07:00
John Blum
2202658780
Upgrade to AssertJ 3.20.2.
2021-09-01 16:44:25 -07:00
John Blum
399d08eb4c
Upgrade to Spring Build Conventions Gradle Plugin 0.0.38.
2021-09-01 16:36:06 -07:00
John Blum
e263c50b5f
Upgrade to Gradle 6.9.
2021-06-14 16:37:16 -07:00
John Blum
a7c0a08385
Upgrade to Spring Boot 2.5.1.
2021-06-14 16:36:15 -07:00