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
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