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
John Blum
ced62b9688
Prepare next development iteration.
2019-06-15 11:48:42 -07:00
John Blum
e763807631
Release 0.0.4.RELEASE.
2019-06-15 11:44:08 -07:00
John Blum
a5c941178f
Fix bug (NPE) with the Mock ClientSubscriptionConfig.
2019-06-15 11:37:00 -07:00
John Blum
a798e8ce00
Prepare next development iteration.
2019-06-14 18:57:38 -07:00
John Blum
4391449460
Release 0.0.3.RELEASE.
2019-06-14 18:51:54 -07:00
John Blum
570fcce9eb
Implement Region entry event triggers for CacheListeners, CacheLoaders and CacheWriters.
2019-06-14 18:45:31 -07:00
John Blum
0b01f6b240
Implement additional Region data access operations.
...
Implement Region.invalidate(key).
Implement Region.remove(key).
Re-implement Region.get(key), Region.getEntry(key) and Region.put(key) to handle invalidated keys (Region entries).
2019-06-14 14:37:11 -07:00
John Blum
6f4367e963
Update dependencies.
...
Upgrade to Mockito 2.28.2.
Upgrade to Spring Framework 5.1.8.RELEASE.
Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.1.9.RELEASE.
Upgrade to Spring Data Release Train Lovelace-SR9.
2019-06-14 09:34:54 -07:00
John Blum
c336bd5669
Update Copyright to 2019.
2019-06-09 18:45:06 -07:00
John Blum
ce53de4c61
Optimize imports.
2019-06-09 18:39:51 -07:00
John Blum
f8f619d1a2
Upgrade to Spring Data Release Train Lovelace-BUILD-SNAPSHOT.
...
Upgrade to Spring Data for Apache Geode/Pivotal GemFire 2.1.9.BUILD-SNAPSHOT.
2019-06-09 18:39:22 -07:00
John Blum
545db32f6c
Switch HTTP URLs to HTTPS in Apache License Headers.
2019-06-09 18:35:01 -07:00
John Blum
3458e7b506
Add integration tests asserting the proper interaction between an Apache Geode client and server process using the client/server integration test support.
2019-06-09 18:31:45 -07:00
John Blum
868d168b5b
Polish and format source code.
2019-06-09 18:30:47 -07:00
John Blum
dae841aff6
Configure environment with JDK (8) by setting JAVA_HOME.
...
Run build on Linux nodes.
2019-05-29 11:58:53 -07:00
John Blum
58a61d5ba6
Optimize imports.
2019-05-24 09:14:35 -07:00
John Blum
523d5f52d4
Remove the contextClass(:SpringApplicationBuilder) mmethod.
...
Add the newSpringApplicationBuilder(Class<?>[]) method.
Optimize imports.
2019-05-24 09:10:23 -07:00
John Blum
0ff45d4fd6
Disable the registration of the Mock Pool created by the Mock PoolFactory with the PoolManager.
2019-05-24 08:56:08 -07:00
John Blum
692455d2df
Add support to register the Mock Pool created by the Mock PoolFactory with the PoolManager.
2019-05-24 08:53:07 -07:00
John Blum
72ac07217e
Prepare next development iteration.
2019-05-13 16:53:33 -07:00
John Blum
c6dfd449fe
Release 0.0.2.RELEASE.
2019-05-13 16:45:58 -07:00
John Blum
881bce2a27
Add logging configuration for JUL, Log4j2 and SLF4J using Logback.
2019-05-13 16:43:38 -07:00
John Blum
6ff9bf518a
Rebase project Maven POM parent on Spring Data Parent 2.1.8.RELEASE.
2019-05-13 16:38:45 -07:00
John Blum
484ea45900
Upgrade dependencies.
...
Upgrade to Project Lombok 1.18.8.
Upgrade to Spring Framework 2.1.7.RELEASE.
Upgrade to Spring Data for Apache Geode/Pivotal GemFire 2.1.8.RELEASE.
Upgrade to Spring Data Release Train Lovelace-SR8.
2019-05-13 16:31:30 -07:00
John Blum
b05c01a1ea
Optimize imports.
2019-05-08 14:27:58 -07:00
John Blum
e2b4d9deea
Adapt to API and implementation changes in Apache Geode 1.9 (Pivotal GemFire 9.8) to extract the configured and provided gemfire.properties to (and using) the (Client)CacheFactory API from a Spring context (e.g. SDG).
2019-05-08 14:24:01 -07:00
John Blum
3ac182c765
Add test objects used in tests.
...
For example, the o.s.d.g.tests.objects.geode.security.TestSecurityManager is a test implementation of the o.a.g.security.SecurityManager interface.
2019-05-08 14:22:07 -07:00
John Blum
4a0e4b5ca4
Remove unnecessary 'throws Exception' declaration.
2019-05-08 14:20:43 -07:00
John Blum
a748cd9429
Add assertion asserting that the GemFireCache instance is not a GemFireCacheImpl (i.e. it is a mock).
2019-05-08 14:19:52 -07:00
John Blum
0517804fca
Add (commented) 'springDataReleaseTrainVersion' property for 'Moore-BULID-SNAPSHOT'.
2019-05-08 14:18:47 -07:00
John Blum
cfa6cd6332
Add Gradle extension (ext) definitions to override the Spring Framework and Spring Data versions.
2019-05-08 14:17:51 -07:00
John Blum
5355f2bd8a
Add concrete Unit and Integration Test class examples.
2019-05-07 17:59:33 -07:00
John Blum
48ccc00426
Edit README.adoc.
...
Include section in README on using STDG for Unit and Integration Testing of Apache Geode & Pivotal GemFire (PCC) applications in a Spring context.
2019-05-07 17:42:17 -07:00
John Blum
e5089813ff
Format source code.
...
Edit Javadoc.
2019-05-07 15:40:51 -07:00
John Blum
7907d2a667
Prepare next development iteration.
2019-05-06 15:12:07 -07:00
John Blum
87b6d5ad45
Release 0.0.1.RELEASE.
2019-05-06 15:00:49 -07:00
John Blum
838b45163a
Align Maven POM file with Gradle build file.
2019-05-06 14:58:36 -07:00
John Blum
000cb70152
Upgrade to Spring Data Parent POM 2.1.6.RELEASE.
2019-05-05 17:42:46 -07:00
John Blum
83824c8f2a
Upgrade to Gradle 5.4.1.
2019-05-05 17:39:50 -07:00