Commit Graph

1515 Commits

Author SHA1 Message Date
John Blum
ef1ac0d987 Adds additional log output (logging) to the @EnableClusterAware functionality to give users a clear indication of what type of environment their Spring Boot application is running in.
Resolves gh-99.
2020-12-09 18:08:47 -08:00
John Blum
c7dd1869fa Add section on 'Gradle Dependency Management' under the 'Using Spring Boot for Apache Geode' section of the reference documentation. 2020-12-09 16:57:18 -08:00
John Blum
1bbaf2c0e4 Edit README to refer to the 1.4.0 (GA) release and 1.4.1-SNAPSHOT in the 1.4.x release series. 2020-12-09 14:08:15 -08:00
John Blum
52cbcb65b4 Prepare next development iteration.
Set Spring Boot version to 2.4.1-SNAPSHOT.

Set vesion to 1.4.1-SNAPSHOT.
2020-12-09 13:54:04 -08:00
John Blum
25957fb809 Release 1.4.0 (GA). 2020-12-09 13:18:07 -08:00
John Blum
502ff49878 Edit changelog and add 1.4.0 release notes. 2020-12-09 13:14:06 -08:00
John Blum
03fb54d83a Upgrade to Freefair Lombok Gradle Plugin 5.3.0. 2020-12-09 12:56:04 -08:00
John Blum
ee6c1dc1cc Upgrade to Spring Test for Apache Geode 0.0.21.RELEASE. 2020-12-09 12:47:55 -08:00
John Blum
0d22601c51 Upgrade to Spring Session BOM 2020.0.1. 2020-12-09 12:47:11 -08:00
John Blum
6dc063c321 Upgrade to Spring Data Ockham-SR1.
Upgrade to Spring Data for Apache Geode 2.4.1.

Upgrade to Spring Data BOM 2020.0.1 (Ockham-SR1).
2020-12-09 12:44:36 -08:00
John Blum
580d6082a7 Upgrade to Spring Boot 2.4.0. 2020-12-09 12:43:31 -08:00
John Blum
a3c525d92d Upgrade to Spring Framework 5.3.1. 2020-12-09 12:43:14 -08:00
John Blum
bf8ba67adc Upgrade to Mockito 3.6.28. 2020-12-09 12:41:16 -08:00
John Blum
a840c6a18d Polish the Async Inline Caching Sample Guide based on review and feedback.
Add (URL) links to the Sample Guide and Code Example in the 'Asynchronous Inline Caching' section of the 'Caching with Apache Geode' chapter in the reference documentation.

Correct the Code Example URL in the samples.adoc for the Asynchronous Inline Caching Sample.
2020-12-09 11:21:13 -08:00
John Blum
1a33f03e3a Edit and complete the Async Inline Caching Sample Guide.
Refactor the Async Inline Caching Sample Code to include (Asciidoc) documentation markers.

Change the batch time interval in the AEQ batch-size configuration/strategy bean definition to 15 minutes.

Rename the GolfTournament created in the SpringBootApplication class to 'The Masters'.

Refactor the isFinished(..) and isNotFinished() methods in the PgaTourService class to accept a nullable GolfTournament argument.

Refactor the GolferController class to declare the REST API web service endpoints to use '/api/golf/tournament/' as the base Webapp context.
2020-12-09 01:09:29 -08:00
John Blum
816a441d6e Fix syntax error (misspelled class name) in a code snippet in the Inline Caching Sample Guide. 2020-12-08 19:54:00 -08:00
John Blum
e32fc75643 Replace the use of the deprecated 'bootJar' Gradle task, 'mainClassName' property with 'mainClass'. 2020-12-08 09:44:19 -08:00
John Blum
f4eec7724d Add compile-only dependency on findbugs in the Async Inline Caching Sample to avoid the compiler warning 'unknown enum constant When.MAYBE'. 2020-12-07 22:17:31 -08:00
John Blum
a61c28f525 Refactor the Async Inline Caching Spring Geode Sample Spring Boot application (code).
Change the default AEQ batch size to 25 and enable AEQ batch conflation.

Synchronize the Set of players (Golfers) and List of Pairings in the GolfTournament class.

Add a getPlayers() method to the GolfTournament class returning the Golfers registered to play in the GolfTournament.

Simply the isFinished() method in the GolfTournament class.

Add the in(:Golfer) and signScorecard() methods to the GolfTournament.Pairing class.

Rename the GolfTournamentService class to PgaTourService.

Rename the GolfTournamentController class to GolferController.
2020-12-07 22:17:42 -08:00
John Blum
e515149bc5 Combine the cache-view.html and database-view.html into the golf-tournament-view.html for the Async Inline Caching Sample Spring Boot application. 2020-12-07 22:17:31 -08:00
John Blum
b98cf59e0a Add additional GemFire/Geode DiskStore files to .gitignore. 2020-12-07 22:15:17 -08:00
John Blum
dab156e73a Add a (Web) UI to the Async Inline Caching Sample Spring Boot application (code). 2020-12-07 22:15:17 -08:00
John Blum
3342f32263 Refactor the Async Inline Caching Sample code.
Change the @EnableCachingDefinedRegions annotation, serverRegionShortcut attribute to RegionShortcut.REPLICATE. AEQs cannot be configured for 'LOCAL' Regions.

Import the new AsyncInlineCachingRegionConfiguration declaring the Golfers Region and Template for the Peer Cache application configuration arrangement.

Add 'spring.autoconfigure.exclude' on Spring Data Geode Repositories Auto-Configuration in application-server.properties.

Add AsyncInlineCachingRegionConfiguration class explicilty declaring a 'Golfers' REPLICATE Region bean and a SD Template for the 'Golfers' Region.

Remove the @Region mapping anotation declaration from the Golfer model class.

Fix bug in the GolfCourse.withHole(..) builder method to 'add' to the List of holes rather than 'set' the par for hole, which leads to an IndexOutOfBoundsException.

Replace the custom, private 'nullSafeMap(:Map)' and 'sort(:List)' methods with SDG's CollectionUtils class methods in the GolferService class.

Change the 'Schedule' for the GolfTournamentService class, play() method to have an initialDelay of 5 seconds.
2020-12-07 22:15:17 -08:00
John Blum
dc7d35706c Edit Javadoc in Async Inline Caching Sample code.
Use SDG's CollectionUtils class instead of Apache Shiro's CollectionUtils class in the GolfCourse model class.

Implement the toString() method in terms of the GolfTournament 'name'.
2020-12-07 22:15:17 -08:00
John Blum
b73e149ea1 Create a Spring Boot application allowing a user to review Spring's property resolution precedence. 2020-12-07 22:14:27 -08:00
John Blum
770b99f1e2 Extend o.s.d.g.tests.integration.IntegrationTestsSupport. 2020-12-01 17:12:45 -08:00
John Blum
93bd2b97df Add Integration Tests for Spring Geode Sample on Async Inline Caching configured with Queue Batch Time Interval. 2020-12-01 17:00:22 -08:00
John Blum
1086895f8f Add Integration Tests for Spring Geode Sample on Async Inline Caching configured with Queue Batch Size. 2020-12-01 16:59:22 -08:00
John Blum
ad77707d6f Create base Spring Geode Sample Example application on Async Inline Caching. 2020-12-01 16:58:30 -08:00
John Blum
be01322025 Create base Spring Geode Sample Guide (documentation) on Async Inline Caching. 2020-12-01 16:56:27 -08:00
John Blum
cbbf8d9335 Wrap listener metadata state changes in a try-finally block inside the AEQ listener processEvents(:List<AsyncEvent>) method. 2020-12-01 16:47:34 -08:00
John Blum
2089db6864 Add dependency management (version) for 'org.awaitility:awaitility'.
Set Awaitility to version 4.0.3 at present.
2020-12-01 16:10:53 -08:00
John Blum
cccadf68aa Add metadata and state to track the RepositoryAsyncEventListener.processEvents(:List<AsyncEvent>) method invocations.
Specifically, the listener state will track:

* The number of processEvents(:List<AsyncEvent>) method invocations.
* Whether the processEvents(..) method has ever been invoked.
* And, whether the processEvents(..) method has been invoked since the last check.

Introduces a protected doProcessEvents(:List<AsyncEvent>) method and changes processEvents(:List<AsyncEvent>) method to final.
2020-12-01 16:09:43 -08:00
John Blum
c25100ebe7 Add 'withSerialQueue()' builder method to configure the AEQ as a serial queue. 2020-12-01 15:50:47 -08:00
John Blum
cd28eb19a8 Change signature of the generated AsyncEventQueue (AEQ) ID.
This fixes a bug that manifests through GemFire/Geode's Management infrastructure, specifically with the MBean's ObjectName used to managed the AEQs across the cluster.
2020-12-01 10:46:59 -08:00
John Blum
27c907336a Change assertion error message in AsyncEventError class constructor.
Rename class member reference to the default AsyncEventError handler from DEFAULT_EVENT_ERROR_HANDLER to DEFAULT_ASYNC_EVENT_ERROR_HANDLER.
2020-12-01 10:42:39 -08:00
John Blum
ecedb4cd90 Edit README to refer to 1.3.6.RELEASE and 1.3.7.BUILD-SNAPSHOT in the 1.3.x release series. 2020-11-19 14:01:22 -08:00
John Blum
de5cad2b29 Edit changelog and include 1.3.6.RELEASE notes. 2020-11-19 14:00:16 -08:00
John Blum
488dedd0de Edit TIP to include a reference to the specific documentation on Synchronous, Inline Caching. 2020-11-18 19:54:48 -08:00
John Blum
4ea2b62560 Add documentation on using the 'spring-geode-bom' in the 'Using Spring Boot for Apache Geode' section. 2020-11-18 12:39:30 -08:00
John Blum
e7b1501e78 Set Spring Boot version to 2.4.0-SNAPSHOT in Samples Maven POM. 2020-11-17 21:28:28 -08:00
John Blum
dc8be004e3 Upgrade to Gradle 6.7.1. 2020-11-17 21:13:56 -08:00
John Blum
16d378b223 Upgrade to Spring Build Conventions Gradle Plugin 0.0.35.RELEASE. 2020-11-17 20:21:38 -08:00
John Blum
39150e6b77 Declare and configure repositories for all projects. 2020-11-17 11:11:48 -08:00
John Blum
4344fe64f6 Edit README to refer to 1.4.0-RC1 in the 1.4.x release series. 2020-11-10 14:16:42 -08:00
John Blum
08702fa5ae Edit README to refer to 1.3.5.RELEASE and 1.3.6.BUILD-SNAPSHOT in the 1.3.x release series. 2020-11-10 14:15:59 -08:00
John Blum
0e230d99a0 Edit README to refer to 1.2.11.RELEASE 1.2.12.BUILD-SNAPSHOT in the 1.2.x release series. 2020-11-10 14:15:10 -08:00
John Blum
37fd126a89 Edit README to refer to 1.1.11.RELEASE and 1.1.12.BUILD-SNAPSHOT in the 1.1.x release series. 2020-11-10 14:14:26 -08:00
John Blum
13c5f8d046 Prepare next development iteration.
Set Spring Boot version to 2.4.0-SNAPSHOT.

Set version to 2.4.0-SNAPSHOT.
2020-11-10 13:01:30 -08:00
John Blum
feb678c2ab Release 1.4.0-RC1. 2020-11-10 12:33:18 -08:00