John Blum
ddf01371cc
Add mock object support for manually mocking Apache Geode/Pivotal GemFire Gateway (WAN) objects.
2018-09-18 18:27:39 -07:00
John Blum
fb71fce848
Add mock object support for manually mocking Apache Geode/Pivotal GemFire CacheServer objects.
2018-09-18 18:27:08 -07:00
John Blum
d5308633bc
Add AsyncEventQueue ID as the AsyncEventQueue mock object name.
...
Edit Javadoc.
2018-09-18 18:26:28 -07:00
John Blum
fab30904b0
Add mock object support for manually mocking Apache Geode/Pivotal GemFire AsyncEventQueue objects.
2018-09-18 16:36:30 -07:00
John Blum
142169e175
Polish.
2018-09-18 16:09:46 -07:00
John Blum
7ec1ed33ff
Upgrade to Mockito 2.22.0.
...
Upgrade to Spring Boot 2.1.0.M3.
2018-09-18 16:01:45 -07:00
John Blum
ac0752d080
Prepare next development version.
2018-08-29 09:03:23 -07:00
John Blum
673d659f4b
Release 0.0.1.M3.
2018-08-29 08:59:01 -07:00
John Blum
0782bc2205
Add processBeforeBuild(:SpringApplicationBuilder) and processBeforeRun(:SpringApplication) methods.
2018-08-29 08:53:22 -07:00
John Blum
0d4a38490d
Prepare next development iteration.
2018-08-28 18:25:39 -07:00
John Blum
5f6cf81596
Release 0.0.1.M2.
2018-08-28 18:22:26 -07:00
John Blum
c65e142924
Move SpringBootApplicationIntegrationTestsSupport from org.springframework.data.gemfire.tests.integration.config to org.springframework.data.gemfire.tests.integration.
2018-08-28 18:20:58 -07:00
John Blum
440a0146d6
Upgrade to AssertJ 3.11.1.
2018-08-28 17:27:48 -07:00
John Blum
14dfe57975
Set spring-boot.version to 2.1.0.M2.
...
Add dependency management for Spring Boot Starter.
2018-08-28 17:22:12 -07:00
John Blum
f99d16364c
Add exclusions on Spring Boot Starter Logging.
2018-08-28 17:13:17 -07:00
John Blum
03d48cc437
Declare optional, provided dependency on Spring Boot Starter.
2018-08-28 17:12:07 -07:00
John Blum
228a5bc0eb
Add SpringBootApplicationIntegrationTestsSupport class to configure and bootstrap Spring ApplicationContexts uses Spring Boot during integration testing.
2018-08-28 17:01:27 -07:00
John Blum
6d0e294a57
Declare provided depdendency on Spring Boot Starter.
2018-08-28 17:00:48 -07:00
John Blum
d42c255d7c
Upgrade to Gradle 4.10.
2018-08-28 17:00:24 -07:00
John Blum
a8190ae205
Add protected setApplicationContext(:ConfigurableApplicationContext):ConfigurableApplicationContext method.
2018-08-28 16:50:17 -07:00
John Blum
7b8614f545
Prepare next development iteration.
2018-08-22 11:55:47 -07:00
John Blum
2caa5b5358
Release 0.0.1.M1.
2018-08-22 11:47:10 -07:00
John Blum
294c985317
Re-order managed dependencies.
2018-08-21 20:15:49 -07:00
John Blum
a46239669c
Upgrade to AssertJ 3.11.0.
...
Upgrade to Lombok 1.18.2.
Upgrade to Mockito 2.21.0.
Upgrade to Spring Framework 5.1.0.RC2.
Upgrade to Spring Boot 2.1.0.M2.
Upgrade to Spring Data for Apache Geode 2.1.0.RC2.
Upgrade to Spring Data for Pivotal GemFire 2.1.0.RC2.
Upgrade to Spring Data Relese Train Lovelace-RC2.
2018-08-21 20:05:06 -07:00
John Blum
346e6cc555
Correct org.springframework.data:spring-test-data-geode dependency as org.springframework.data:spring-data-geode-test.
2018-08-21 19:55:10 -07:00
John Blum
f772d19b1b
Remove spring-boot-starter-test dependency and replace with individual test artitfact dependencies.
2018-08-21 19:55:10 -07:00
John Blum
4430e43880
Remove IntelliJ IDEA (IDE) specific configuration.
2018-08-21 19:55:10 -07:00
John Blum
7ce544f762
Upgrade to Spring Build Conventions Gradle Plugin 0.0.17.RELEASE.
2018-08-21 19:55:10 -07:00
John Blum
632561b475
Implement o.s.context.ApplicationListener<ContextClosedEvent> to workaround changes in Spring Framework 5.1.0.RC2 related to @EventListener infrastructure handling.
2018-08-21 19:55:10 -07:00
John Blum
cb7a1e37fc
Deprecate the SubscriptionEnabledClientServerIntegrationTestsConfiguration class.
2018-08-21 19:55:10 -07:00
John Blum
d65dd679c2
Add overloaded waitOn(..) method to supply Condition, duration and interval.
2018-08-21 19:55:10 -07:00
John Blum
7718b8d8b2
Fix waitOnServerToStart(..) return statement to correctly return 'connected.get()'.
2018-08-21 19:55:09 -07:00
John Blum
8bd76409f8
Refactor the clientCachePoolSocketConnectTimeoutBeanPostProcessor bean definition to be conditional on the presence of the setSocketConnectTimeout(:int) method on the ClientCacheFactoryBean class.
2018-08-21 19:55:02 -07:00
John Blum
62acd73133
Refactor and compose the ClientCache DEFAULT Pool and any explicit Pool Socket connect timeout configuration handlers into a single BeanPostProcessor.
...
Register the ClientMembershipListener in a void, @PostConstruct, SubscriptionEnabledClientServerIntegrationTestsConfiguration class method.
Re-implement isProxyClientRegion(..) to short circuit if the ClientRegionFactoryBean.poolName is set.
Remove the unneeded isProxyClientRegion(:ClientRegionShortcut) method.
Rename isProxyClientRegion(..) to isClientProxyRegion(..).
2018-08-14 16:46:26 -07:00
John Blum
86dd856b6b
Edit Javadoc.
2018-08-14 16:36:04 -07:00
John Blum
75772ee1d4
Re-implement findAvailablePort() to setReuseAddress to true before creating and binding the Socket.
...
Re-implement waitForServerToStart(host:String, port:int) to call waitOn(:Condition, duration).
2018-08-14 16:34:55 -07:00
John Blum
f83692b82e
Rename clearAllSpringApacheGeodeAndPivotalGemFireDotPrefixedSystemProperties to clearAllGemFireGeodeAndSpringDotPrefixedSystemProperties.
2018-08-14 16:32:30 -07:00
John Blum
889368868e
Reverse order of client-server connectivity verification by first handling the memberJoined event followed by successful Subscription Queue initialization.
...
Add methods to override the default Socket connect timeout and general timeout via extension.
Add ClientCacheConfigurer to configure the ClientCache, DEFAULT Pool Socket.connect(..) timeout.
Add BeanPostProcessor to configure any PoolFactoryBean.socketConnectTimeout.
2018-08-14 00:42:16 -07:00
John Blum
e3bc02d419
Add static @Configuration class to configure an embedded Locator & Manager service, enabled via a Spring profile.
...
Additionally, enable GemFire/Geode logging at 'config'.
2018-08-13 15:28:34 -07:00
John Blum
640218dc1f
Add Condition on propertyPlaceholderConfigurer bean definition verifying that Spring Boot is absent before registering the bean.
2018-08-13 13:13:39 -07:00
John Blum
5fd1382a50
Rename shouldVerifyGemFireServerIsRunning(..) to doVerifyGemFireServerIsRunning(..).
...
Rename isBeanOfImportance(..) to isVeryImportantBean(..).
Format source code.
2018-08-13 13:13:39 -07:00
John Blum
80d09144b4
Add static PropertySourcesPlaceholderConfigurer bean definition for resolving Spring @Value annotation property placeholders.
2018-08-13 13:13:30 -07:00
John Blum
68b25ebdb9
Add overridable, protected processBeforeRefresh(:ConfigurableApplicationContext):ConfigurableApplicationContext method and call in the newApplicationContext(..) method before the ApplicationContext is refreshed.
2018-08-13 13:02:07 -07:00
John Blum
138b0b57aa
Rename clearAllSpringGeodeGemFireDotPrefixedSystemProperties to clearAllSpringApacheGeodeAndPivotalGemFireDotPrefixedSystemProperties.
2018-08-13 13:00:21 -07:00
John Blum
61823ec845
Upgrade to Gradle 4.9.
2018-08-08 18:56:38 -07:00
John Blum
20b822d52f
Upgrade to Apache Maven 3.5.4.
2018-08-08 18:56:28 -07:00
John Blum
64764d2829
Upgrade to Mockito 2.19.1.
...
Upgrade to Pivotal GemFire 9.5.1.
Upgrade to Spring Framework 5.1.0.RC1.
Upgrade to Spring Boot 2.1.0.M1.
Upgrade to Spring Data for Apache Geode 2.1.0.RC1.
Upgrade to Spring Data for Pivotal GemFire 2.1.0.RC1.
Upgrade to Spring Data Release Train Lovelace-RC1.
2018-08-08 18:51:42 -07:00
John Blum
c174f008fe
Fix Region AttributesMutator initialization bug.
...
The bug was caused by the mocking logic in Region.getAttributes(), which lazily initializes the RegionAttributes upon first access, and by extension, the Region AttributesMutator only gets intialized after the Region.getAttributes() method is invoked. Therefore, if Region.getAttributesMutator() is called before Region.getAttributes() and any AttributesMutator method is invoked then a NullPointerException is thrown.
2018-08-08 18:42:40 -07:00
John Blum
eae35daef5
Fix closeApplicationContext() JUnit after test case method test callback to use @After annotation rather than @AfterClass.
2018-06-21 17:30:58 -07:00
John Blum
3488c5c41f
Upgrade to Gradle 4.8.
2018-06-21 17:14:18 -07:00