Commit Graph

167 Commits

Author SHA1 Message Date
John Blum
8ff823b268 Add configuration for the 'spring.data.gemfire.pool.servers' property to automatically connect client and server in client/server integration tests. 2018-11-05 22:41:41 -08:00
John Blum
cf300f6224 Prepare next development iteration. 2018-11-05 19:33:48 -08:00
John Blum
aaf2287d3c Release 0.0.1.M5. 2018-11-05 19:28:51 -08:00
John Blum
c09f1f722c Add @Before test case setup method to enable GemFire/Geode OQL query debugging.
Add @AfterClass test class tear down method to unregister all GemFire/Geode DataSerializers.

Move integration tests support methods for creating directories, converting class and package names to resource pathnames, locating Spring application context XML configuration files, logging System properties and configuring GemFire/Geode logging from the ClientServerIntegrationTestsSupport class to the IntegrationTestsSupport class.
2018-11-05 19:20:34 -08:00
John Blum
2274eb82ed Upgrade to Spring Framework 5.1.2.RELEASE.
Upgrade to Spring Boot 2.1.0.RELEASE.

Upgrade to Spring Data Build (parent) 2.1.2.RELEASE.

Upgrade to Spring Data for Apache Geode 2.1.2.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.2.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR2.

Upgrade to Project Lombok 1.18.4.
2018-11-05 19:04:58 -08:00
John Blum
ec90ef6c08 Upgrade to Pivotal GemFire 9.5.2.
Upgrade to Spring Boot 2.1.0.RC1.

Upgrade to Spring Data Release Train Lovelace-SR1.
2018-11-05 18:57:16 -08:00
John Blum
e195db161b Upgrade to Spring Build Conventions Gradle Plugin 0.0.20.RELEASE. 2018-10-25 18:24:06 -07:00
John Blum
a665b2ff44 Upgrade to Spring Framework 5.1.1.RELEASE.
Upgrade to Spring Data for Apache Geode 2.1.1.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.1.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR1.
2018-10-15 15:47:57 -07:00
John Blum
8f6b7d6364 Guard against null access on ClientCache.getCurrentServers() by initializing the 'DEFAULT' Pool. 2018-10-06 16:28:17 -07:00
John Blum
2077e9faf0 Add additional test case asserting the ClientCache was mocked successfully. 2018-10-06 15:35:18 -07:00
John Blum
1240c950c7 Upgrade to Spring Build Conventions Gradle Plugin 0.0.19.RELEASE. 2018-10-05 18:05:09 -07:00
John Blum
408d499592 Upgrade to Spring Framework 5.1.0.RELEASE.
Upgrade to Spring Boot 2.1.0.M4.

Upgrade to Spring Data for Apache Geode 2.1.0.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.0.RELEASE.

Upgrade to Spring Data Build 2.1.0.RELEASE.

Upgrade to Spring Data Release Train 2.1.0.RELEASE.

Upgrade to Mockito 2.23.0.
2018-10-05 18:01:08 -07:00
John Blum
e372410f29 Add capability to configure the Spring Boot, SpringApplicationBuilder.contextClass(..). 2018-10-05 17:53:00 -07:00
John Blum
7c99575ed4 Add mock object for o.a.g.distributed.DistributedMember. 2018-10-02 15:39:07 -07:00
John Blum
75825e0c92 Prepare next developement iteration. 2018-09-20 00:20:16 -07:00
John Blum
403c7c4101 Release 0.0.1.M4. 2018-09-20 00:15:32 -07:00
John Blum
d9a28fdea3 Upgrade to AssertJ 3.11.1.
Upgrade to Mockito 2.22.0.

Upgrade to Spring Boot 2.1.0.M3.
2018-09-20 00:13:38 -07:00
John Blum
8d82fd8807 Do not mock Pool.socketConnectTimeout and Pool.subscriptionTimeoutMultiplier with SD Kay. 2018-09-19 17:50:56 -07:00
John Blum
66e3c1e46b Add lenient MockSettings for mock RegionAttributes. 2018-09-19 17:06:05 -07:00
John Blum
c77ee37c70 Do not mock GatewayReceiver.hostnameForClients with SD Kay. 2018-09-19 16:06:29 -07:00
John Blum
8625d89a9c Fix mock ServerMetrics getMaxConnections() and getSubscriptionConnectionCount() return values. 2018-09-19 13:04:22 -07:00
John Blum
a233949add Add mocking support for o.a.g.cache.server.CacheServer.getLoadProbe() and o.a.g.cache.server.CacheServer.setLoadProbe(:ServerLoadProbe). 2018-09-19 12:03:52 -07:00
John Blum
4ea6c3921d Add MockSettings to all mock objects.
Set mock objects to lenient and not strict stubbing.
2018-09-19 11:19:52 -07:00
John Blum
9e51e631c7 Fix missing mock hostnameForClients return value.
Prevent mocking for null ClientSubscriptionConfig and ServerLoadProbe objects.
2018-09-19 10:58:01 -07:00
John Blum
8eb2321dca Fix unnecessary Region mocking when no Regions exist. 2018-09-19 10:20:44 -07:00
John Blum
797eda1494 Refactor mockGemFireCache(..) and make public; add null check and mock the GemFireCache when mockGemFireCache argument is null.
Add mockResourceManager(..) method.
2018-09-19 09:20:23 -07:00
John Blum
9523d37272 Add mock object support for mocking Apache Geode/Pivotal GemFire Cache, Distributed System, ResourceManager and Region objects. 2018-09-19 09:01:43 -07:00
John Blum
d3dcb94c78 Edit Javadoc. 2018-09-18 20:53:27 -07:00
John Blum
bc53c115a5 Add mock object support for mocking Apache Geode/Pivotal GemFire Index objects. 2018-09-18 20:51:51 -07:00
John Blum
a02ee5ec99 Add mock object support for mocking Apache Geode/Pivotal GemFire DiskStore objects. 2018-09-18 20:51:29 -07:00
John Blum
bc04b02b3a Add mock object support for manually mocking Apache Geode/Pivotal GemFire Pool objects. 2018-09-18 18:28:07 -07:00
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