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
John Blum
de4d42fb29
Upgrade to Spring Build Conventions Gradle Plugin 0.0.32.RELEASE.
2020-05-15 12:35:07 -07:00
John Blum
dcfb7eb186
Add configuration property to enable/disable data imports.
2020-05-14 22:32:31 -07:00
John Blum
9e2baf987a
Remove unnecessary @SuppressWarnings annotation declarations.
2020-05-14 19:09:59 -07:00
John Blum
5b7437dad2
Update README to refer to version 1.3.0.RC1 in the 1.3.x release line.
2020-05-13 23:49:51 -07:00
John Blum
ca1f77df19
Prepare next development iteration.
...
Set Spring Data for Apache Geode & Pivotal GemFire version to 2.3.0.RELEASE.
Set Spring Data Release Train version to Neumann-RELEASE.
Set Spring Session for Apache Geode & Pivotal GemFire version to 2.3.0.RELEASE.
Set Spring Session BOM version to Dragonfruit-RELEASE.
Set version to 1.3.0.BUILD-SNAPSHOT.
2020-05-13 23:29:19 -07:00
John Blum
fb7d40e017
Release 1.3.0.RC1.
2020-05-13 23:08:56 -07:00
John Blum
51d64082fa
Edit changelog and add 1.3.0.RC1 release notes.
2020-05-13 23:04:16 -07:00
John Blum
d8b965d6f1
Upgrade to Testcontainers 1.14.1.
2020-05-13 22:51:16 -07:00
John Blum
00188b575c
Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.15.RELEASE.
2020-05-13 22:49:46 -07:00
John Blum
55076c59cd
Upgrade to Spring Session for Apache Geode & Pivotal GemFire 2.3.0.RC2.
...
Upgrade to Spring Session BOM Dragonfruit-RC2.
2020-05-13 22:49:10 -07:00
John Blum
661b0c1be2
Upgrade to Spring Data Neumann-RC2.
...
Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.3.0.RC2.
Upgrade to Spring Data Release Train Neumann-RC2.
2020-05-13 22:47:32 -07:00
John Blum
4642c66678
Upgrade to Byte Buddy 1.10.10.
2020-05-13 22:45:16 -07:00
John Blum
83c944a253
Add reference documentation for the new (JSON) Cache Data Import/Export feature.
...
Resolves gh-67.
2020-05-13 22:37:19 -07:00
John Blum
e67dc5e8d2
Switch to using SDG Annotation-based configuration for the "Books" Region on the client.
...
Technically, this means annotated the TestGeodeCientConfiguration with SDG's @EnableEntityDefinedRegions, which auto-magically defines and creates Region(s) from application entity classes.
Resolves gh-67.
2020-05-13 22:37:19 -07:00
John Blum
e3efabe476
Changes 'apache-geode-extensions' dependency from 'optional' to 'compile'.
2020-05-13 00:28:56 -07:00
John Blum
ae39191563
Fix invalid Javadoc tags.
2020-05-13 00:21:47 -07:00
John Blum
a63d792898
Add getAtIdentifier(:PdxInstance) method and strategy for resolving ids from PdxInstances.
...
Add postProcess(:PdxInstance) method to allow subclasses to override the method in order to post process the PdxInstance(s) generated from JSON.
Edit Javadoc.
Rename getIdField(:PdxInstance) to getId(:PdxInstance).
Resolves gh-67.
2020-05-13 00:13:26 -07:00
John Blum
2536585de9
Edit Javadoc.
...
Resolves gh-67.
2020-05-12 22:06:07 -07:00
John Blum
fa9b2e1ae6
Fix infinite recursion bug leading to a StackOverflowError.
...
Renamed the convertObjectToJson(:Object) method in the JSONFormatterPdxToJsonConverter class to convertPojoToJson(:Object).
Resolves gh-67.
2020-05-12 22:01:22 -07:00
John Blum
854a233b04
Rename PdxInstanceWrapperAspect to PdxInstanceWrapperRegionAspect.
...
Edit Javadoc.
Resolves gh-67.
2020-05-12 21:33:51 -07:00
John Blum
a6f07e88b0
Add Unit Tests for PdxInstanceWrapperAspect.
...
Resolve gh-67.
2020-05-12 21:29:32 -07:00
John Blum
f967675423
Add Spring Boot auto-configuration for cache data imports/exports.
...
Resolves gh-67.
2020-05-12 19:48:35 -07:00
John Blum
a513834fae
Add 'org.springframework.boot:spring-boot-starter-json' as test runtime dependency.
2020-05-12 19:45:49 -07:00
John Blum
39efd95a5c
Add protected, no-argument, default constructors.
2020-05-12 19:43:51 -07:00
John Blum
8fe13e01fb
Add descriptive convertJsonToPdx(..) conversion method.
...
Add protected jsonFormatterFromJson(..) method to encapsulate the invocation of the JSONFormatter.fromJSON(..) method.
Add wrap(:PdxInstance) method to wrap the PdxInstance generated from JSON in a new instance of PdxInstanceWrapper.
Resolves gh-67.
2020-05-12 19:41:06 -07:00
John Blum
eba12bad17
Configure Jackson ObjectMapper to find and register additional modules declared on the application's classpath.
...
Resolves gh-67.
2020-05-12 19:23:20 -07:00
John Blum
cc257f5ef9
Edit Javadoc.
...
Resolves gh-67.
2020-05-12 19:05:37 -07:00
John Blum
df466c0a62
Add PdxInstanceWrapper class to wrap (decorate) existing PdxInstances and more appropriately handle JSON to Object mappings returned by getObject().
2020-05-12 19:01:17 -07:00
John Blum
22b01985b7
Add Integration Tests for JsonCacheDataImporterExporter asserting the functionality in a client/server topology with a ClientCache.
...
Resolves gh-67.
2020-05-11 00:04:43 -07:00
John Blum
b1ec1dbab2
Delegate all cach instance operations to org.springframework.geode.util.CacheUtils.
2020-05-11 00:02:41 -07:00
John Blum
d4aa108414
Add abstract utility class for working with GemFire/Geode cache instances (ClientCache & peer Cache) and Regions.
2020-05-11 00:00:10 -07:00
John Blum
d8ede349cb
Add assertion that asserts a given Object (subject) is not null.
...
Edit Javadoc.
2020-05-10 22:28:28 -07:00
John Blum
f40685fb4e
Refactor JSONFormatterPdxToJsonConverter to handle missing type metadata in both PdxInstances and in JSON, which is required to reconstitute the Object.
...
Resolves gh-67.
2020-05-10 13:23:47 -07:00
John Blum
30a84eefdd
Add additional Integration Tests for JsonCacheDataImporterExporter class.
...
Added add test cases covering:
* exportImportWithRegionContainingMixOfObjectsAndPdxInstances
* geodeJsonFormatterCannotHandleTypedJsonObjects
* geodeJsonFormatterCannotRememberPdxInstanceClass
Edit Javadoc.
Resolves gh-67.
2020-05-10 00:26:59 -07:00
John Blum
7c65ad4320
Add PdxInstanceBuilder class used to create instances of PDX types (PdxInstance).
...
The Builder allows users to copy an existing PdxInstance to a new PdxInstance or create a PdxInstance from an Object.
2020-05-09 23:03:26 -07:00
John Blum
a4d452cfa4
Add SimpleCacheResolver class to resolve instances of GemFire/Geode ClientCaches and peer Caches.
2020-05-09 23:03:26 -07:00
John Blum
596ea093ba
Add null-safe asType(:Object, :Class) method to cast the given source Object into an instance of the given Class type.
2020-05-09 21:07:05 -07:00
John Blum
9dbd290322
Add Integration Tests for JsonCacheDataImporterExporter.
...
Resolves gh-67.
2020-05-08 01:45:05 -07:00