Commit Graph

115 Commits

Author SHA1 Message Date
John Blum
4cfef1516f Upgrade Sample Maven POMS to Spring Boot 2.4.0-M2 and SBDG 1.4.0-SNAPSHOT. 2020-08-18 01:05:24 -07:00
John Blum
b04246246b Remove 'spring.data.gemfire.management.use-http' property configuration and JVM argument for Boot client.
The 'spring.data.gemfire.management.use-http' property was set in application.properties.
2020-08-12 13:41:11 -07:00
John Blum
305ca74262 Fix HTTP URL to Apache Shiro's project sit in Javadoc. 2020-08-07 15:50:27 -07:00
John Blum
0e55c44570 Switch from System.err message output to using a SLF4J Logger.
Resolves gh-81.
2020-08-07 15:21:02 -07:00
John Blum
093083be95 Polish Security Sample Tests.
Resolves gh-81.
2020-08-07 15:04:43 -07:00
John Blum
bb8c9a5b81 Polish Security Sample Code.
Resolves gh-81.
2020-08-07 15:04:43 -07:00
Patrick Johnson
16abdea031 Add Security Sample Guide and Code.
Resolves gh-81.
2020-08-07 15:04:43 -07:00
John Blum
c2f1ae3e92 Set 'spring.data.gemfire.management.use-http' property to 'false'. 2020-08-07 15:04:15 -07:00
John Blum
71746afb53 Change Getting Started Sample artifact version to 1.4.0-SNAPSHOT matching the project version. 2020-08-04 15:46:54 -07:00
John Blum
b40975c2c1 Adapt to Properties configuration changes in Spring Boot 2.4.0-SNAPSHOT.
See Spring Boot Issues related to Spring Profiles: https://github.com/spring-projects/spring-boot/labels/theme%3A%20profiles

And: https://github.com/spring-projects/spring-boot/labels/theme%3A%20config-data
2020-07-28 19:33:40 -07:00
John Blum
36fac32d9c Upgrade Sample Guides, Maven POM build files to Spring Boot 2.3.1.RELEASE.
Sets SBDG version to 1.3.1.BUILD-SNAPSHOT.
2020-07-27 01:11:05 -07:00
John Blum
5ca11cbc44 Declare 'com.google.code.findbugs:jsr305' as a compileOnly/testCompileOnly depedency to cleanup Gradle build warnings.
Without this dependency the Gradle build logs warnings about:

> Task :spring-geode-autoconfigure:compileTestJava
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
...
2020-07-23 14:57:01 -07:00
John Blum
5994d6b6a3 Upgrade to FreeFair Lombok Gradle Plugin 5.1.0. 2020-06-10 23:48:29 -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
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
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
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
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
e4194d400b Add additional Asciidoc tags to capture the entire WAN Gateway configuration for documentation (guide) purposes.
Resolves gh-80.
2020-04-19 16:57:31 -07:00
John Blum
1173803b4f Add Asciidoc tags to the Multi-Site Caching example source code for documentation (guide) purposes.
Resolves gh-80.
2020-04-17 12:47:08 -07:00
John Blum
8b1d862fb5 Improve Multi-Site (WAN) Caching Sample Integration Tests resiliency.
Include an additional Spring @Configuration class exclusively for testing that registers a Geode CacheListener to wait for the cache Region EntryEvent to occur.  When the ClientCache Registers Interest (all keys) and receives the cache Region (CustomersByName) EntryEvent, then it signifies the WAN Gateways (Sender and Receiver) has replicated the Region EntryEvent between disparate sites.  Client 1 creates the Region EntryEvent that Client 2 expects to see in its cache.

Resolves gh-80.
2020-04-17 12:46:36 -07:00
John Blum
138a8c961d Remove unnecessary @ClientCacheApplication annotation declaration from GeodeClientConfiguration class.
SBDG auto-configures a ClientCache instance by default!

Annotate the GeodeClientConfiguration class with @Configuration.

Resolves gh-80.
2020-04-17 12:46:36 -07:00
John Blum
0efed96dcd Add example code for Multi-Site Caching Sample.
Resolves gh-80.
2020-04-15 22:54:46 -07:00
John Blum
af8e7f757c Upgrade Samples Parent Maven POM to Spring Boot 2.3.0.M4. 2020-04-09 15:29:00 -07:00
John Blum
b1e74db29a Add generated Maven POM for the Getting Started Sample.
Resolved gh-75.
2020-03-18 13:29:07 -07:00
John Blum
a3e7a22152 Add generated parent Maven POM for spring-geode-samples module.
Resolves gh-75.
2020-03-18 13:28:40 -07:00
John Blum
9331d4913b Add Gradle build infrastructure code to generate Maven POMs for Samples.
This includes a parent Maven POM template and an example Maven POM template for the Getting Started Sample.

Resolves gh-75.
2020-03-18 13:27:51 -07:00
John Blum
665355aa92 Upgrade to FreeFair Lombok Gradle Plugin 5.0.0-rc2. 2020-02-22 23:50:31 -08:00
John Blum
183b8f5486 Close the 'runner' tag.
Annotate the CrmApplication class with @SuppressWarnings('unused').
2020-02-21 15:44:34 -08:00
John Blum
8447eaad10 Update Copyright to 2020. 2020-02-19 23:04:23 -08:00
John Blum
952b7554ab Remove use of internal Apache Geode API o.a.g.internal.concurrent.ConcurrentHashSet class.
Replace with java.util.HashSet wrapped with java.util.Collections.synchronizedSet(:Set).

Resolve gh-70.
2020-01-24 21:07:48 -08:00
John Blum
924b1d7f89 Upgrade to Lombok Gradle Plugin 4.1.6. 2020-01-16 18:56:19 -08:00
John Blum
afbbfe9991 Upgrade to FreeFair Lombok Gradle Plugin 4.1.2. 2019-10-17 15:46:10 -07:00
John Blum
28012a1880 Replace all spring-cloudcache-starter* dependency declarations with spring-gemfire-starter*.
Resolves gh-63.
2019-10-17 12:04:44 -07:00
John Blum
d1d02065b4 Disable SSL auto-configuration. 2019-09-27 17:06:44 -07:00
John Blum
25c4f0d929 Switch PCC service instance name from 'pccService' to 'pccServiceOne'.
Resolves gh-54.
2019-09-27 16:30:00 -07:00
John Blum
4712339100 Temporarily include the 'spring-geode-starter-actuator' dependency (commented out) for deployment to PCF when using PCC.
This is needed until https://github.com/cloudfoundry/java-buildpack-metric-writer/issues/6 is resolved.

Resolves gh-54.
2019-09-27 16:30:00 -07:00
John Blum
6dad3e7cb0 Add Integration Tests for the 'Getting Started' Sample, Spring Boot CrmApplication class.
Resolves gh-54.
2019-09-24 02:05:59 -07:00
John Blum
ec9574288f Add Bash & Gfsh shell scripts to configure and bootstrap an Apache Geode cluster for the client/server topology arrangement and step #3 in the 'Getting Started' Guide.
Resolves gh-54.
2019-09-24 02:05:59 -07:00
John Blum
730110dc55 Add Example Code demonstrating how to get started with SBDG.
Resolves gh-54.
2019-09-24 02:05:59 -07:00
John Blum
8e30b4ddd2 Improve CQ Auto-configuration by assessing the availability of a server or cluster first before enabling and auto-configuring CQ functionality.
This added capabilities relies on the new ClusterAwareConditions.

Resolves gh-53.
2019-09-12 14:28:59 -07:00
John Blum
bc6e423ed0 Disable SSL auto-configuration for all Spring Geode Sample tests. 2019-09-10 01:12:35 -07:00
John Blum
e7f99fd1e5 Log Apache Geode SSL configuration and state at 'error'. 2019-09-09 23:30:02 -07:00