Commit Graph

281 Commits

Author SHA1 Message Date
John Blum
474bb07ebe Upgrade to Apache Geode 1.9.2. 2019-10-29 12:58:18 -07:00
John Blum
8423aa800a Prepare next development iteration. 2019-10-01 13:28:16 -07:00
John Blum
50744d0dcd Release 0.0.9.RELEASE. 2019-10-01 13:12:13 -07:00
John Blum
5a6ef67ab2 Edit project name and description. 2019-10-01 13:07:12 -07:00
John Blum
b9b9f51f9c Add Apache Geode Logger with a log-level of 'ERROR'. 2019-10-01 13:04:21 -07:00
John Blum
b630faf84f Add optional Logback and Log4j (to SLF4J) dependencies to the runtime classpath for testing. 2019-10-01 12:55:13 -07:00
John Blum
1dafc6f067 Upgrade to Spring Data Parent BOM 2.2.0.RELEASE. 2019-10-01 12:39:31 -07:00
John Blum
34506111a3 Add 'spring-framework.version' extenstion property to set (override) the Spring Framework version as necessary. 2019-10-01 12:38:53 -07:00
John Blum
a9329b350c Override Spring Boot's 2.1.8.RELEASE dependency management version of Spring Framework and set to 5.2.0.RELEASE. 2019-10-01 12:31:51 -07:00
John Blum
08f328defa Upgrade to Spring Build Conventions Gradle Plugin 0.0.27.RELEASE. 2019-10-01 12:30:12 -07:00
John Blum
a341db3818 Update dependencies.
Upgrade to Apache Geode 1.9.1.

Upgrade to Project Lombok 1.18.10.

Upgrade to Mockito 3.1.0.

Upgrade to Pivotal GemFire 9.8.4.

Upgrade to Spring Framework 5.2.0.RELEASE.

Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.2.0.RELEASE.

Upgrade to Spring Data Release Train Moore-RELEASE.
2019-10-01 12:27:55 -07:00
John Blum
a284628304 Prepare next development iteration. 2019-09-11 11:29:06 -07:00
John Blum
54eee8a4d7 Release 0.0.8.RELEASE. 2019-09-10 22:47:43 -07:00
John Blum
a304e31012 Upgrade to Spring Boot 2.1.8.RELEASE. 2019-09-10 22:39:30 -07:00
John Blum
859f510200 Switch clearing all Java, Apache Geode, Pivotal GemFire and Spring System Properties to after test class. 2019-09-09 19:24:51 -07:00
John Blum
9f87352a5e Rename closeAnyExistingGemFireCacheInstanceBeforeTestExecution() as closeAnyGemFireCacheInstanceBeforeTestExecution().
Rename closeAnyExistingSocketConfigurationBeforeTestExecution() as closeAnySocketConfigurationBeforeTestExecution().

Rename closeAnyExistingSslConfigurationBeforeTestExecution() as closeAnySslConfigurationBeforeTestExecution().

Rename stopAnyExistingGemFireLocatorBeforeTestExecution() as stopAnyGemFireLocatorBeforeTestExecution().
2019-09-09 19:24:25 -07:00
John Blum
5380c49356 Exclude IntelliJ IDEA out/ directory from source controlled files. 2019-09-09 19:12:30 -07:00
John Blum
4aa64fa637 Destroy all GemFire Mock Objects after each test case. 2019-09-09 19:10:59 -07:00
John Blum
e38fdeb32f Add null assertion for PoolManager.find('TEST') in tearDown(). 2019-09-09 19:01:54 -07:00
John Blum
2d72115fa9 Move GemFireObjectCreationTriggeredByGemFirePropertyConfigurationIntegrationTests to org.springframework.data.gemfire.tests. 2019-09-09 18:49:37 -07:00
John Blum
0653003f28 Move MockClientCacheDefaultPoolRegisteredWithPoolManagerUnitTests to org.springframework.data.gemfire.tests. 2019-09-09 18:49:37 -07:00
John Blum
36a0271505 Edit Javadoc; Optimize Imports. 2019-09-09 18:49:37 -07:00
John Blum
56cf069384 Eagerly create, initialize and register the 'DEFAULT' Pool with the o.a.g.cache.client.PoolManager when spying on the ClientCacheFactory and create() is called. 2019-09-09 18:49:37 -07:00
John Blum
9d2484855d Cleanup all SSL configuration and state in Apache Geode. 2019-09-09 01:39:03 -07:00
John Blum
b5f0bf1e09 Add Test Framework support for Mock Pool registration with the Apache Geode o.a.g.cache.client.PoolManager. 2019-09-03 18:36:10 -07:00
John Blum
3beec6db30 Optimize imports. 2019-09-03 14:02:38 -07:00
John Blum
6ce9982a25 Add Test Framework setup support for stopping all Apache Geode Locators before test execution. 2019-09-03 14:00:29 -07:00
John Blum
4d00feb32c Fix race condition when concurrently accessing cached GemFire Mock Objects Collection. 2019-09-03 11:13:35 -07:00
John Blum
3fbb088bf9 Prepare next development iteration. 2019-08-13 16:34:18 -07:00
John Blum
aca0d018e1 Release 0.0.7.RELEASE. 2019-08-13 16:25:26 -07:00
John Blum
29374c0ad0 Set version to 0.0.7.BUILD-SNAPSHOT. 2019-08-13 16:01:34 -07:00
John Blum
d0b83a3afa Upgrade to Spring Data Parent (Maven BOM) 2.1.10.RELEASE. 2019-08-13 16:00:44 -07:00
John Blum
5b0b4a586d Fix bug in overloaded spyOn(..) methods for o.a.g.cache.CacheFactory and o.a.g.cache.client.ClientCacheFactory object, which leads to a org.mockito.exceptions.misusing.UnfinishedStubbingException.
This problem was exposed in SSDG's test suite when mocking the ClientCache and initializing PDX.

Essentially, with use of the lazy Supplier for GemFireCache object creation, STDG was effectively stubbing on the clientCacheFactorySpy (e.g. clientCacheFatorySpy.setPdxSerializer(..)) inside of another stub call, clientCacheFactorySpy.create().
2019-08-13 15:57:04 -07:00
John Blum
5e7f142653 Prepare next development iteration. 2019-08-13 02:53:09 -07:00
John Blum
56e444771a Release 0.0.6.RELEASE. 2019-08-13 02:42:59 -07:00
John Blum
b96b2e7f9e Upgrade to Spring Boot 2.1.7.RELEASE. 2019-08-13 02:39:28 -07:00
John Blum
5e6bdc7adb Update dependencies.
Upgrade to AssertJ 3.13.2.

Upgrade to Mockito 3.0.0.

Upgrade to Pivotal GemFire 9.5.4.

Upgrade to Spring Framework 5.1.9.RELEASE.

Upgrade to Spring Boot 2.1.6.RELEASE (Maven POM).

Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.1.10.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR10.
2019-08-05 11:38:19 -07:00
John Blum
6830d1591e Add Maven POM editor Gradle build file to configure the generated project pom.xml correctly. 2019-07-25 19:48:05 -07:00
John Blum
6a1968ba23 Switch to OpenJDK 8 for Travis CI builds. 2019-07-25 14:24:56 -07:00
John Blum
2272f3e95a Add support to mock the GemFireCache.getName() property based on the GemFire distribution configuration properties when using the factories to create cache instances. 2019-07-25 14:09:17 -07:00
John Blum
317e074c84 Lazily create the GemFireCache instance when spying on the o.a.g.cache.CacheFactory as well as the o.a.g.cache.client.ClientCacheFactory.
This change effectively uses a java.util.function.Supplier to lazily request the 'single' cache instance or create a new cache instance when either CacheFactory.create() or ClientCacheFactory.create() is called.
2019-07-25 13:49:45 -07:00
John Blum
34908200d6 Upgrade to Spring Build Conventions Gradle Plugin 0.0.26.RELEASE. 2019-07-02 20:16:52 -07:00
John Blum
91b95a331d Prepare next development iteration. 2019-07-02 20:14:20 -07:00
John Blum
7d6a8c2ede Release 0.0.5.RELEASE. 2019-07-02 20:06:48 -07:00
John Blum
0444f8a1e7 Add documentation for the new test Logback, Log Appender supporting class. 2019-07-02 20:02:02 -07:00
John Blum
309fcdf288 Upgrade to Spring Boot 2.1.6.RELEASE. 2019-06-28 16:22:27 -07:00
John Blum
cb0a0e02ed Add testing support for logging and capturing log events.
Adds a custom, SLF4J, Logback Appender named 'TestAppender' to listen for and record log events (ILoggingEvent) in a Stack.
2019-06-28 16:17:09 -07:00
John Blum
839a1c650f Add optional 'ch.qos.logback.logback-classic' dependency. 2019-06-28 16:15:13 -07:00
John Blum
e179fa2678 Add dependency management for 'ch.qos.logback:logback-classic'. 2019-06-28 16:14:15 -07:00
John Blum
8ea0c79f68 Update README describing the mock Region data and cache Region callback support. 2019-06-17 15:51:34 -07:00