Commit Graph

1235 Commits

Author SHA1 Message Date
John Blum
2b05bc5919 Add AbstractResourceReader base class defining operations common to all ResourceReaders.
Resolves gh-92.
2020-07-07 11:18:33 -07:00
John Blum
2437b0247e Define ResourceReader interface for reading data from a resource identified by a Resource handle.
Ressolves gh-92.
2020-07-07 11:16:36 -07:00
John Blum
01696b15af Refactor and polish JSON and base cache data import/export support. 2020-06-25 17:02:56 -07:00
John Blum
4947705f1d Upgrade to Spring Boot 2.3.1.RELEASE. 2020-06-16 16:17:48 -07:00
John Blum
1439b7caf5 Edit README to refer to 1.2.8.RELEASE and 1.2.9.BUILD-SNAPSHOT in the 1.2.x release line. 2020-06-16 15:02:35 -07:00
John Blum
d84978082b Edit README to refer to 1.1.8.RELEASE and 1.1.9.BUILD-SNAPSHOT in the 1.1.x release line. 2020-06-16 15:01:54 -07:00
John Blum
ad83eef6f3 Edit changelog and include 1.2.8.RELEASE notes. 2020-06-16 15:00:52 -07:00
John Blum
59f749ab90 Edit changelog and include 1.1.8.RELEASE notes. 2020-06-16 14:59:40 -07:00
John Blum
0375955755 Edit README to refer to the 1.3.0.RELEASE and 1.3.1.BUILD-SNAPSHOT bits. 2020-06-11 01:58:25 -07:00
John Blum
8a5db8e467 Prepare next development iteration.
Upgrade to Spring Framework 5.2.7.RELEEASE.

Upgrade to Spring Boot 2.3.1.BUILD-SNAPSHOT.

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

Upgrade to Spring Data Release Train Neumann-SR1.

Set version to 1.3.1.BUILD-SNAPSHOT.
2020-06-11 01:29:55 -07:00
John Blum
e17f0aba69 Release 1.3.0.RELEASE. 2020-06-11 01:11:13 -07:00
John Blum
cca94c37f3 Edit changelog and add 1.3.0.RELEASE notes. 2020-06-11 01:03:37 -07:00
John Blum
46737c78b2 Upgrade to Gradle 6.5. 2020-06-11 00:37:03 -07:00
John Blum
f7611fd16d Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.16.RELEASE. 2020-06-11 00:36:10 -07:00
John Blum
5994d6b6a3 Upgrade to FreeFair Lombok Gradle Plugin 5.1.0. 2020-06-10 23:48:29 -07:00
John Blum
97c2f4ab9d Upgrade to Testcontainers 1.14.3. 2020-06-10 23:45:45 -07:00
John Blum
308178ade7 Upgrade to Byte Buddy 1.10.11. 2020-06-10 23:34:33 -07:00
John Blum
5318782bfb Fix bug to handle cache data import into client LOCAL Regions when no PDX type registry exists.
Resolves gh-91.
2020-06-10 23:16:11 -07:00
John Blum
98ee687a78 Include JacksonJsonToObjectConverter, Spring Converter implementation to convert/map JSON to a POJO using Jackson's ObjectMapper. 2020-06-10 22:24:50 -07:00
John Blum
dd439fe300 Include ObjectPdxInstanceAdapter class to adapt a regular Object (POJO) as an instance of PdxInstance. 2020-06-10 20:03:02 -07:00
John Blum
f6e6a957dc Include PdxFieldNotWritableException, RuntimeException class to indicate a PDX field on a PdxInstance is not modifiable. 2020-06-10 20:01:33 -07:00
John Blum
91a10a8ca1 Move PdxInstance identifier/identity resolution logic from JsonCacheDataImporterExporter to PdxInstanceWrapper. 2020-06-10 12:39:21 -07:00
John Blum
0a3c2bb7ab Refactor from(:PdxInstance) factory method to handle PdxInstanceWrapper arguments.
The from(:PdxInstance) method should not wrap a PdxInstance more than once.

Format source code.
2020-06-10 12:21:35 -07:00
John Blum
450cc58d82 Format source code. 2020-06-10 12:21:35 -07:00
John Blum
139d52918c Add factory method to unwrap a PdxInstanceWrapper returning the underlying, delegate PdxInstance. 2020-06-10 12:21:35 -07:00
John Blum
e8a8486f33 Edit Javadoc. 2020-06-10 12:21:35 -07:00
John Blum
a0b4f60c77 Define Spring Converter interface extension to convert from JSON into an Object array (array of POJOs). 2020-06-10 12:21:35 -07:00
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