Commit Graph

167 Commits

Author SHA1 Message Date
John Blum
bbe477faa9 Upgrade Spring Geode Samples Maven POMs to Spring Boot 2.6.7 and SBDG 1.6.7-SNAPSHOT. 2022-04-21 11:56:52 -07:00
John Blum
0cb758b746 Upgrade Spring Geode Samples Maven POMs to Spring Boot 2.6.6 and SBDG 1.6.6-SNAPSHOT. 2022-03-31 11:27:45 -07:00
John Blum
c65780a57b Upgrade to Spring Geode Samples parent Maven POM to Spring Boot 2.6.5. 2022-03-24 19:27:26 -07:00
John Blum
54a0b669c2 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.6.5-SNAPSHOT and SBDG 1.6.5-SNAPSHOT. 2022-03-02 16:26:47 -08:00
John Blum
9821a1e277 Update Copyright for 2022. 2022-03-02 16:16:01 -08:00
John Blum
f4f1e4a6b8 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.6.4 and SBDG 1.6.4-SNAPSHOT. 2022-02-28 13:37:59 -08:00
John Blum
78e9e72c50 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.6.3 and SBDG 1.6.3-SNAPSHOT. 2022-01-21 10:33:01 -08:00
John Blum
0f5ce28300 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.6.2 and SBDG 1.6.2-SNAPSHOT. 2022-01-10 10:48:32 -08:00
John Blum
6f570939b0 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.6.0. 2021-11-19 11:34:17 -08:00
John Blum
bb2bac21f9 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.6.0-RC1. 2021-10-21 22:01:27 -07:00
John Blum
582c03b025 Set Spring Geode Samples parent Maven POM to Spring Boot 2.6.0-SNAPSHOT. 2021-09-28 17:37:41 -07:00
John Blum
69f073ad57 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.6.0-M3. 2021-09-28 16:30:29 -07:00
John Blum
841381d902 Update test Keystore for SSL based tests to use RSA certs. 2021-09-28 16:30:29 -07:00
John Blum
18c90e3774 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.6.0-M2. 2021-09-09 11:26:23 -07:00
John Blum
17ab5e15ee Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.6.0-M2 and SBDG 1.6.0-SNAPSHOT. 2021-08-19 16:49:48 -07:00
John Blum
c76a6ac165 Upgrade Spring Geode Sample parent Maven POM to Spring Boot 2.6.0-M1 and SBDG 1.6.0-SNAPSHOT. 2021-07-22 15:37:01 -07:00
John Blum
ea0755a437 Upgrade Spring Geode Samples (parent) Maven POM to Spring Boot 2.5.1 and SBDG 1.5.1-SNAPSHOT. 2021-06-14 17:27:33 -07:00
John Blum
bb228afec8 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.5.0-M3. 2021-04-09 15:36:06 -07:00
John Blum
cbb51289bf Move Spring Geode Security Sample test class to the example.app.security.tests package.
Declare both SBDG security auth and SSL environment post-proccessor enabled properties.
2021-03-30 12:08:35 -07:00
John Blum
55b8ca5373 Annotate Spring Geode Sample test classes with Spring Test Framework's @DirtiesContext annotation to avoid test conflicts. 2021-03-30 11:58:39 -07:00
John Blum
59b91376b0 Refactor the dataReadNotAllowed() test case method to use JUnit 4 Exception handling (try-catch with expected Exception) rather than JUnit 5's (Jupiter) assertThrows(..) method. 2021-03-30 00:08:39 -07:00
John Blum
591483c892 Set SBDG security SSL property to ensure auto-configuration of SSL is enabled and takes effect. 2021-03-25 03:21:10 -07:00
John Blum
c77f9b183b Annotate Spring Geode Security Sample test class with Spring's @DirtiesContext annotation.
This test uses GemFire/Geode SSL configuration and therefore needs to mark the ApplicationContext as dirty.
2021-03-24 15:51:06 -07:00
John Blum
34f199a360 Set Spring Geode Samples (parent) Maven POM to Spring Boot version 2.5.0-SNAPSHOT. 2021-03-22 22:11:26 -07:00
John Blum
ebb5d60ce9 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 2.5.0-M2. 2021-02-22 21:08:48 -08:00
John Blum
ad2ae7ec82 Set Samples Maven POM Spring Boot version to 2.5.0-SNAPSHOT.
Set Samples Maven POM SBDG version to 1.5.0-SNAPSHOT.
2021-02-19 00:28:09 -08:00
John Blum
6c02b0c04e Add new 'quick-start' module to the Spring Geode Samples.
The new 'quick-start' Spring Geode Sample/module backs the 'Get Started' example Spring Boot, Apache Geode application referenced in the README.
2021-01-26 22:28:45 -08:00
John Blum
fb9cadf0b0 Upgrade Spring Geode Samples using Maven POM to Spring Boot 2.4.3-SNAPSHOT. 2021-01-24 21:30:59 -08:00
John Blum
a59b2097bc Adapt to (internal) API changes in Apache Geode 1.13.1.
These changes are unavoidable at the momment given Apache Geode hides critical functionality (e.g. SSL config) behind an (so-called) 'internal' API.
2021-01-12 18:39:36 -08:00
John Blum
904743deaa Upgrade to org.springframework.boot:spring-boot-starter-parent:2.4.1. 2021-01-12 18:38:24 -08:00
John Blum
52d873cac1 Cleanup Gradle build files.
Remove commented out configuration.

Remove 'org.springframework.geode:spring-geode-starter-logging' module from the runtiem classpath in the Multi-Site Caching Sample.
2020-12-11 13:22:19 -08:00
John Blum
03fb54d83a Upgrade to Freefair Lombok Gradle Plugin 5.3.0. 2020-12-09 12:56:04 -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
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
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
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
e7b1501e78 Set Spring Boot version to 2.4.0-SNAPSHOT in Samples Maven POM. 2020-11-17 21:28:28 -08:00
John Blum
67f3fcb9c6 Upgrades Getting Started Sample Maven POM to Spring Boot 2.4.0-M4. 2020-10-21 13:11:09 -07:00
John Blum
09d15e87c2 Upgrade to FreeFair Lombok Gradle Plugin 5.2.1. 2020-09-18 02:33:58 -07:00
John Blum
2aaaea76bf Remove exclude from Apache Geode dependencies on 'org.apache.logging.log4j:log4j-core'.
Resolves gh-48.
2020-09-18 02:33:58 -07:00
John Blum
74c4bdbcd9 Remove exclude from Apache Geode dependencies on 'javax.servlet:javax.servlet-api'.
Resolves gh-49.
2020-09-18 02:33:58 -07:00