John Blum
2b2e03a764
Define Spring Converter interface extension to convert from JSON into an Object (POJO).
2020-06-10 12:21:35 -07:00
John Blum
db0a00e452
Rename toPdxArray(:byte[]) to toPdx(:byte[]).
2020-06-10 12:21:35 -07:00
John Blum
e05c627e13
Refactor toJson(:Region) to serialize the values from the Region using the AbstractObjectArrayToJsonConverter class and CacheUtils.collectValues(:Region) method.
2020-06-10 12:21:35 -07:00
John Blum
53dda1265b
Remove unused and unnecessary code.
2020-06-09 20:47:04 -07:00
John Blum
f83880ea97
Reset ClusterAwareCondition.
2020-06-09 15:20:08 -07:00
John Blum
1501d7fac6
Fix bug with cache data import when using @EnableClusterAware.
...
Resolves gh-90.
2020-06-09 14:10:10 -07:00
John Blum
895378be70
Add Spring Lifecycle-aware CacheDataImporterExporter implementation.
...
Resolves gh-90.
2020-06-09 14:10:04 -07:00
John Blum
cb291c844e
Enable JSON data formatting on export.
...
Resolves gh-89.
2020-06-09 14:09:57 -07:00
John Blum
288b6bb7ec
Fix bug in cache data export caused by Apache Geode's JVM Shutdown Hook.
...
Resolves gh-88.
2020-06-08 15:19:10 -07:00
John Blum
b07ca31e51
Add file system appropriate file path separator to Resource location on export.
2020-06-08 15:16:28 -07:00
John Blum
95c0009cdc
Rename 'peerRegion(..)' bean definition method and 'peerRegion' local variable to 'booksRegion'.
2020-06-08 15:11:15 -07:00
John Blum
6fbc40daa8
Adapt CacheUtils to identify client LOCAL Regions when collecting (getting) all values from the Region in collectValues(:Region).
...
Add new isProxyRegion(:Region) method to safely determine if the Region is a PROXY.
Add new isRegionWithPool(:Region) method to safely determine if the Region has been configured with a Pool, imply the Region is owned by a client (i.e. ClientCache).
Edit Javadoc.
2020-06-08 15:08:14 -07:00
John Blum
80c34d2198
Correct grammer, misspellings and wording in the Docker chapter.
2020-06-05 08:57:38 -07:00
John Blum
9333f72850
Correct grammar, misspellings and wording in the Apache Geode API extensions chapter.
2020-06-05 08:57:38 -07:00
John Blum
0ab5e0ffee
Rename 'booksWasLoaded' test case method to 'booksWereLoaded'.
2020-06-04 17:19:16 -07:00
John Blum
5bcf39f208
Change ClientCache object reference type to GemFireCache.
2020-06-04 11:31:06 -07:00
John Blum
12048914c6
Add example Spring Boot, Apache Geode ClientCache application used to connect to an Apache Geode cluster running in a Docker Container.
...
Resolves gh-86.
2020-06-04 02:09:27 -07:00
John Blum
5a5edb9e67
Add chapter to reference documentation on running Apache Geode in Docker.
...
Resolves gh-86.
2020-06-04 02:08:43 -07:00
John Blum
df69b414cc
Enable the Gradle Lombok Plugin.
...
Switch 'org.assertj:assertj-core' and 'org.projectlombok:lombok' from 'testCompile' dependencies to 'compile'.
2020-06-04 02:06:39 -07:00
John Blum
4bb5d84ea4
Edit index.adoc.
2020-06-03 12:08:56 -07:00
John Blum
08e7bf7cd1
Add chapter to reference documentation on SBDG's Apache Geode API Extensions.
...
Resolves gh-84.
2020-06-03 11:34:43 -07:00
John Blum
ad7a41920a
Edit Javadoc.
...
Declare @throws Javadoc tag for IllegalStateException, which is thrown if a cache instance is not resolvable when require() is called.
2020-06-02 21:17:27 -07:00
John Blum
85084c8753
Edit README to refer to 1.1.7.RELEASE and 1.1.8.BUILD-SNAPSHOT in 1.1.x as well as 1.2.7.RELEASE and 1.2.8.BUILD-SNAPSHOT in 1.2.x, respectively.
2020-05-22 14:14:08 -07:00
John Blum
8aea5ce76d
Edit changelog and include release notes from the 1.2.7.RELEASE.
2020-05-22 14:11:39 -07:00
John Blum
9d2e1c2617
Edit changelog and include release notes from the 1.1.7.RELEASE.
2020-05-22 14:10:35 -07:00
John Blum
21b6e8758f
Configure destruction of GemFire/Geode Mock Objects on Spring ApplicationContext ContextClosedEvents.
2020-05-22 01:41:30 -07:00
John Blum
75b7362737
Upgrade to Spring Boot 2.3.0.RELEASE in SBDG Samples parent Maven POM.
2020-05-22 01:39:16 -07:00
John Blum
9416c50048
Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.16.BUILD-SNAPSHOT.
2020-05-22 01:38:31 -07:00
John Blum
58122de507
Annotate LoggingAutoConfiguration with @ConditionalOnMissingBean to disable auto-configuration when a user has explicitly declared GemFire/Geode logging configuration.
...
As user explicitly declares GemFire/Geode logging configuration when s/he annotates his/her main Spring Boot application class or an application specific @Configuration class picked up by Spring Boot with SDG's @EnableLogging annotation.
Resolves gh-85.
2020-05-19 17:44:57 -07:00
John Blum
22aaead3cb
Declare explicit GemFire/Geode logging configuration for all tests in test resources application.properties.
...
Remove @EnableLogging annotation and 'logLevel' attriubute (e.g. on @ClientCacheApplication/@CacheServerApplication annotations) logging configuration from all test classes.
2020-05-19 17:44:57 -07:00
John Blum
fc80371cfd
Add Integration Tests asserting the configuration of PDX in the context of Spring Boot.
...
Adds 3 test cases covering:
* Auto-configuration of SDG's MappingPdxSerializer.
* Configuration of a user-defined PdxSerializer applied via auto-configuration.
* Manually configured PdxSerializer overriding SBDG PDX auto-configuration.
2020-05-19 15:22:00 -07:00
John Blum
7320463abc
Upgrade to Gradle 6.4.1.
2020-05-18 21:38:05 -07:00
John Blum
c0d858d982
Add instructions on how to run the Look-Aside Caching example using the 'gradlew' command from the command-line as well as the IDE.
2020-05-18 10:34:30 -07:00
John Blum
754989b568
Fix broken include with source code reference.
2020-05-18 01:13:41 -07:00
John Blum
6253000ee5
Annotate the Look-Aside Caching GeodeConfiguration class with the @EnableClusterAware annotation.
...
Remove the explicit 'clientRegionShortcut' configuration from the @EnableCachingDefinedRegions annotation specifying a client 'LOCAL' Region.
2020-05-18 00:41:24 -07:00
John Blum
898b3351fa
Configure the 'bootRun' Gradle Task to run the Look-Aside Caching example.
2020-05-18 00:39:37 -07:00
John Blum
050679d7cf
Add application.properties for the Look-Aside Caching example to configure the Spring application name and GemFire/Geode log-level.
...
Edit Javadoc.
2020-05-18 00:32:47 -07:00
John Blum
2af2443620
Add instructions on how to run the Inline Caching example using the 'gradlew' command from the command-line as well as the IDE.
2020-05-18 00:29:16 -07:00
John Blum
edeb05ab70
Configure the 'bootRun' Gradle Task to run the Inline Caching example.
2020-05-18 00:19:54 -07:00
John Blum
fdff3b354a
Configure the 'bootRun' Gradle Task to run the HttpSession Caching example.
2020-05-18 00:16:05 -07:00
John Blum
9900541cfe
Set the 'spring.application.name' property to 'InlineCachingApplication'.
2020-05-18 00:05:29 -07:00
John Blum
c3dc0336cf
Configure the 'spring.data.gemfire.cache.log-level' property in terms of 'gemfire.log-level' and default to 'error'.
2020-05-18 00:03:46 -07:00
John Blum
11222e249d
Change Integer.valueOf(..) call to Integer.parseInt(..).
2020-05-18 00:01:04 -07:00
John Blum
d84b2d77dc
Add instructions on how to run the HttpSession Caching example using the 'gradlew' command from the command-line as well as the IDE.
2020-05-17 23:54:46 -07:00
John Blum
fda6362f00
Annotate the BootGeodeHttpSessionCachingApplication class with the @EnableClusterAware annotation.
...
Remove the 'Sessions' Region data policy configuration from application.properties.
2020-05-17 23:54:46 -07:00
John Blum
d31f53cdb3
Add instructions on how to run the Boot Auto-Configuration example using the 'gradlew' command from the command-line as well as the IDE.
...
Add instructions on how to configure the Loggers and log-level when running the example.
2020-05-17 23:54:46 -07:00
John Blum
aadeadaf39
Add instructions on how to run the Boot Actuator example client and server using the 'gradlew' command from the command-line as well as the IDE.
...
Add instructions on how to configure the Loggers and log-levels when running the example.
2020-05-17 23:54:30 -07:00
John Blum
84ade7ee10
Annotate the Sample Boot Actuator BootGeodeClientApplication class with the @EnableClusterAware annotation.
2020-05-17 23:52:51 -07:00
John Blum
be6928e781
Configure the 'bootRun' Gradle Task to run the client for the Boot Actuator Sample.
...
Add a 'runServer' Gradle Task definition to run the server.
2020-05-17 23:52:51 -07:00
John Blum
56c9279ee7
Upgrade to Spring Boot 2.3.0.RELEASE.
2020-05-15 12:35:37 -07:00