Commit Graph

1579 Commits

Author SHA1 Message Date
John Blum
54f22c45f3 Upgrade to Spring Build Conventions Gradle Plugin 0.0.37. 2021-02-22 19:30:33 -08:00
John Blum
5d6623b337 Upgrade to Gradle 6.8.2. 2021-02-22 19:29:58 -08:00
John Blum
c1c4f02e68 Edit README to refer to 1.3.9.RELEASE and 1.3.10.BUILD-SNAPSHOT. 2021-02-22 19:29:33 -08:00
John Blum
bafcbb086f Edit changelog and include the 1.3.9.RELEASE notes. 2021-02-22 19:28:39 -08:00
John Blum
fcf3273dc0 Declare Spring 'release' Repository to resolve the 'org.springframework.cloud:spring-cloud-bindings' dependency.
Change description to 'Spring Cloud for Apache Geode'.
2021-01-24 21:47:25 -08:00
John Blum
6070ccb1fc Declare Spring 'release' Repository to ressolve all Spring documentation resources required to build project documentation. 2021-01-24 21:36:09 -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
48388af398 Upgrade to Spring Build Conventions Gradle Plugin 0.0.36. 2021-01-24 21:30:20 -08:00
John Blum
0fe8caa1de Upgrade to Gradle 6.8.1. 2021-01-24 21:16:53 -08:00
John Blum
66d798efa1 Edit README to refer to the 1.4.2 (GA) release and 1.4.3-SNAPSHOT versions in the 1.4.x release series. 2021-01-24 21:14:52 -08:00
John Blum
aa2f1ad9b7 Prepare next development iteration.
Set Spring Boot version to 2.4.3-SNAPSHOT.

Set version to 1.4.3-SNAPSHOT.
2021-01-24 21:00:29 -08:00
John Blum
5bd24d01a2 Release 1.4.2. 2021-01-22 18:22:19 -08:00
John Blum
6de7eb30f7 Edit changelog and add 1.4.2 release notes. 2021-01-21 20:20:49 -08:00
John Blum
1eca100389 Upgrade to Mockito 3.7.7. 2021-01-21 20:01:27 -08:00
John Blum
6f87a8a082 Remove punctuation in log messages. 2021-01-21 19:48:29 -08:00
John Blum
f6acac11b2 Declare @DirtiesContext to avoid conflicts in logger/logging cofiguration between tests in a Spring Boot (Test) context. 2021-01-21 15:45:52 -08:00
John Blum
a54c2bfb34 Add KubernetesClusterNotAvailableConfigurationIntegrationTests class.
Test and assert client Region DataPolicy configuration (PROXY).

Test and assert Environment configuration does not set the 'spring.data.gemfire.cache.client.region.shortcut' property.

Add preconditions for a Kubernetes runtime environment and logging set to INFO.
2021-01-21 14:50:11 -08:00
John Blum
3fcbf9c784 Rename CloudFoundryClusterAvailableConfigurationIntegrationTests to CloudFoundryClusterNotAvailableConfigurationIntegrationTests.
Test and assert client Region DataPolicy configuration (PROXY).

Test and assert Environment configuration does not set the 'spring.data.gemfire.cache.client.region.shortcut' property.

Add precoditions for a CloudFoundry runtime environment and logging not set to INFO.
2021-01-21 14:49:55 -08:00
John Blum
bb417f8ae0 Improve matches(..) method override to configure the clusterAvailable state on runtime environment match and iff cluster availability was not already determined.
Remove all logging from the overridden matches(..) method.

Override the configureTopology(..) method to do nothing.

Override the logConnectedRuntimeEnvironment(..) and logUnconnectedRuntimeEnvironment(..) to log appropriate messages for cloud runtime environments.

Refactor the StandaloneClusterAvailableCondition match to only act when not in a cloud runtime envrionment.
2021-01-21 14:42:48 -08:00
John Blum
2066de0f84 Add logRuntimeEnvironment(..) to centralize logging for the runtime environment in ClusterAwareConfiguration.
Remove logging from configureTopology(..) and add call to logRuntimeEnvironmet(..) from doMatch(..).

Add ClusterAwareCondition.set(:Boolean) class method to allow Condition subclasses to set the clusterAvailable state; refactor reset() to call set(null).

Edit Javadoc.
2021-01-21 14:42:36 -08:00
John Blum
d091be0498 Add assertion asserting the 'spring.data.gemfire.cache.client.region.shortcut' property is still set to 'LOCAL' even when 'strictMatch' is 'true' and no cluster is available. 2021-01-20 14:44:51 -08:00
John Blum
df2dcfbeff Add documentation on the @EnableClusterAware annotation, strictMatch attribute. 2021-01-20 14:30:30 -08:00
John Blum
c8ddfa73f4 Polish local variable names in the ClusterAwareConfiguration.ClusterAwareCondition class methods. 2021-01-20 14:15:36 -08:00
John Blum
bba6e61011 Add additional assertions asserting that the 'Books' (client) Region DataPolicy is configured correctly.
Additionally, assert that the 'spring.data.gemfire.cache.client.region.shortcut' is not set (and specifically not set to 'LOCAL').
2021-01-20 14:10:28 -08:00
John Blum
06a19a0787 Add Logger configuration for 'org.springframework.geode.config.annotation.ClusterAwareConfiguration'. 2021-01-20 14:08:14 -08:00
John Blum
be76266a9e Edit 'Caching with Apache Geode' chapter by moving references to the Guide and Sample code for 'Inline Caching' under the 'Synchronous Inline Caching' sub-section. 2021-01-20 11:42:21 -08:00
John Blum
f56565bad7 Edit README to refer to 1.3.8.RELEASE and 1.3.9.BUILD-SNAPSHOT in the 1.3.x release series. 2021-01-19 17:28:26 -08:00
John Blum
29bec96470 Edit changelog and include 1.3.8.RELEASE notes. 2021-01-19 17:27:44 -08:00
John Blum
5673e28e39 Edit README to refer to 1.2.13.RELEASE and 1.2.14.BUILD-SNAPSHOT in the 1.2.x release series. 2021-01-19 17:27:00 -08:00
John Blum
168f980a99 Edit changelog and include 1.2.13.RELEASE notes. 2021-01-19 17:26:12 -08:00
John Blum
78263e19b1 Edit README to refer to 1.4.1 release and 1.4.2-SNAPSHOT in the 1.4.x release series. 2021-01-15 21:12:31 -08:00
John Blum
e2b747b186 Upgrade to Spring Data Ockham-SR3.
Upgrade to Spring Data BOM 2020.0.3 / Ockham-SR3.

Upgrade to Spring Data for Apache Geode 2.4.3.
2021-01-15 20:58:51 -08:00
John Blum
16ca112a75 Upgrade to Spring Framework 5.3.3. 2021-01-15 20:57:25 -08:00
John Blum
47e0a17044 Prepare next development iteration.
Set Spring Boot version to 2.4.2.

Set version to 1.4.2-SNAPSHOT.
2021-01-15 20:56:25 -08:00
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