Commit Graph

1545 Commits

Author SHA1 Message Date
John Blum
9c52e5c7cf Release 1.4.1. 2021-01-15 20:42:08 -08:00
John Blum
f53817bde7 Edit changelog and add 1.4.1 release notes. 2021-01-15 20:39:47 -08:00
John Blum
4090cf4ebd Add 'strictMatch' annotation attribute to the @EnableClusterAware annotation.
Using 'strictMatch' enables fail-fast behavior so that users can configure their Spring Boot, Apache Geode ClientCache applications to fail on startup if no cluster is available across any environment.

Additionally, enhanced the log output to give users better information about the runtime environment and whether an Apache Geode-based cluster was found and available.

Resolves gh-99.
2021-01-15 19:45:47 -08:00
John Blum
62848e9277 Polish the SecureClusterAwareConfigurationIntegrationTests.
Resolves gh-57.
2021-01-15 12:51:57 -08:00
John Blum
4a20f7be61 Support awareness and discovery of secure (Auth and SSL eanbled) Apache Geode clusters using @EnableClusterAware annotation functionality.
Improves log details about the runtime environment (e.g. cloud, standalone/self-managed).

Resolves gh-57.

Resolves gh-99.
2021-01-15 01:32:48 -08:00
John Blum
d08525708b Move Cluster Configuration Integration Tests to the org.springframework.geode.boot.autoconfigure.cluster.config package. 2021-01-14 21:57:04 -08:00
John Blum
f997c3e590 Add overloaded doOperationSafely(:ExceptionThrowingOperation<?>, :Supplier<?>) method to the ObjectUtils class.
Edit Javadoc.
2021-01-13 21:18:35 -08:00
John Blum
7191e658ab Re-instate Conditionals on the CloudFoundry and Kubernetes platforms. 2021-01-13 21:18:35 -08:00
John Blum
32954221cb Update documentation references for Apache Geode, VMware Tanzu Application Service for VMs (Pivotal CloudFoundry (PCF)) and VMware Tanzu GemFire for VMs (Pivotal Cloud Cache (PCC)).
Sets Apache Geode documentation version reference to 113.

Sets VMW TAS 4 VMs / PCF documentation version reference to 2-10.

Set VMW GF 4 VMs / PCC documentation version reference to 1-13.
2021-01-13 21:18:35 -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
06c46042f5 Upgrade to Testcontainers 1.15.1. 2021-01-12 18:15:03 -08:00
John Blum
9bbdf96447 Upgrade to Spring Session for Apache Geode 2.4.1. 2021-01-12 18:13:55 -08:00
John Blum
75195983de Upgrade to Spring Data Ockham-SR2.
Upgrade to Spring Data BOM 2020.0.2/Ockham-SR2.

Upgrade to Spring Data for Apache Geode 2.4.2.
2021-01-12 18:13:06 -08:00
John Blum
71078a0f4b Upgrade to Spring Boot 2.4.1. 2021-01-12 18:10:59 -08:00
John Blum
fbc2433c94 Upgrade to Spring Framework 5.3.2. 2021-01-12 18:10:37 -08:00
John Blum
e323253a9c Upgrade to Pivotal Cloud Cache 1.13.0. 2021-01-12 18:09:00 -08:00
John Blum
99068fce0a Upgrade to Mockito 3.7.0. 2021-01-12 18:07:29 -08:00
John Blum
8e1d99d305 Upgrade to Byte Buddy 1.10.19. 2021-01-12 18:06:37 -08:00
John Blum
7f95fe7089 Upgrade to Apache Geode 1.13.1. 2021-01-12 18:04:58 -08:00
John Blum
3b6de033c5 Upgrade to Gradle 6.8. 2021-01-12 18:03:58 -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
05e5a75037 Refactor the @EnableClusterAware configuration and conditional logic to determine whether an Apache Geode based cluster is available or not.
Applied Spring's @NonNull and @Nullable annotations to the API.

Added a NotKubernetesEnvironmentCondition class to the ClusterNotAvailableConfiguration class.

Added a @Conditional on the NotKubernetesEnvironmentCondition class annotated IsNotKubernetesEnvironmentCondition class to the ClusterNotAvailableConfiguration.AllClusterNotAvailableConditions class.

Removed all @ConditionalOnCloudPlatform annotated Condition classes in the ClusterAvailableConfiguration.AnyClusterAvailableCondition class, for both CloudFoundry and Kubernetes.

Edit Javadoc.

Resolves gh-99.
2020-12-11 13:22:19 -08:00
John Blum
481953e347 Edit README to refer to 1.3.7.RELEASE and 1.3.8.BUILD-SNAPSHOT in the 1.3.x release series. 2020-12-11 01:17:43 -08:00
John Blum
bfe5748820 Edit README to refer to 1.2.12.RELEASE and 1.2.13.BUILD-SNAPSHOT in the 1.2.x release series. 2020-12-11 01:16:53 -08:00
John Blum
e44903693f Edit changelog and include 1.3.7.RELEASE notes. 2020-12-11 01:15:46 -08:00
John Blum
690b5dcb40 Edit changelog and include 1.2.12.RELEASE notes. 2020-12-11 01:15:09 -08:00
John Blum
e2609d066c Add prototype implementation of the Spring Cloud Bindings BingindsPropertyProcessor interface.
Resolves gh-100.
2020-12-10 12:08:01 -08:00
John Blum
6dc0bbc02e Add version property for spring-cloud-bindings. 2020-12-10 11:06:49 -08:00
John Blum
bda7d284dd Add new 'spring-geode-cloud' module.
This SBDG module will contain all features and functionality requried for cloud computing and to run Spring Boot (SBDG) applications in a cloud context/environment connected to VMware Tanzu GemFire for VMS or K8S.
2020-12-10 11:06:16 -08:00
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