Commit Graph

2101 Commits

Author SHA1 Message Date
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
863a1cec8e Upgrade to Gradle 6.8.2. 2021-02-18 23:57:21 -08:00
John Blum
fdb200455b Edit typos and grammar in README. 2021-02-02 12:47:34 -08:00
John Blum
e0db4b4b04 Remove explicit dependency management for Byte Buddy and Mockito.
Let the Spring Boot BOM (dependency management) manage the versions of Byte Buddy and Mockito based on the baseline Spring Boot version.
2021-02-02 12:29:08 -08:00
John Blum
b710f73d37 Add reference documentation chapter on 'Testing'.
Resolves gh-102.
2021-02-01 22:26:49 -08:00
John Blum
f93d198d2d Add an example of Integration Testing with Apache Geode using Spring Boot Test and STDG frameworks in a Spring context for the 'Testing' chapter. 2021-02-01 22:01:05 -08:00
John Blum
9e4f3cca1f Add an example of Unit Testing with Apache Geode using Spring Boot Test and STDG frameworks in a Spring context for the 'Testing' chapter. 2021-02-01 22:01:05 -08:00
John Blum
32db612719 Declare 'org.springframework.geode:spring-geode-starter-test' as a test-compile dependency in the spring-geode-docs module. 2021-02-01 20:55:54 -08:00
John Blum
f26e55e10d State the project goals in documentation.
Resolves gh-101.
2021-02-01 14:51:07 -08:00
John Blum
eac66eac8b Upgrade to Spring Build Conventions Gradle Plugin 0.0.37. 2021-02-01 13:26:21 -08:00
John Blum
e591042e06 Edit README for spelling, grammar, conciseness, clarity, consistency and accuracy. 2021-01-27 09:27:59 -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
5f8d9b19b2 Edit README to include a new 'Get Started' section demonstrating a simple Spring Boot, Apache Geode application.
Edit the project description in the 'About' section.

Rename 'Project Goals' to 'Project Features' and edit the section content.

Rename 'Documentation' to 'Learn', matching spring.io/projects.

Revise the list of cited 'examples'.
2021-01-26 21:56:12 -08:00
John Blum
8d2073c2d9 Edit README and reorganize/restructure the Documentation section.
Add versions in descending order (most current/latest first).

Add new End-of-Life (EOL) version table.

Add additional bullet point to Project Goals for Unit & Integration Testing with STDG.
2021-01-25 15:29:48 -08:00
John Blum
ee242bece8 Refactor configureTopology(..) to delegate to configureEnvironment(:Environment).
The new 'configureEnvironment(:Environment) method attempts to add a custom PropertySource to the Environment if the Environment is configurable, otherwise proceeds in setting a Java System Property as before.

The idea is, the Environment is more recycable than Java System Properties, particularly if the Spring ApplicationContext is refreshed.

Renames DEFAULT_CLUSTER_CONDITION_MATCH to DEFAULT_CLUSTER_AWARE_CONDITION_MATCH.

Renames DEFAULT_CLUSTER_CONDITION_STRICT_MATCH to DEFAULT_CLUSTER_AWARE_CONDITION_STRICT_MATCH.
2021-01-25 13:16:35 -08:00
John Blum
c9996c29da Edit README to refer to 1.5.0-M1. 2021-01-24 23:53:58 -08:00
John Blum
f8a1e86be2 Prepare next development iteration.
Upgrade to Spring Boot 2.5.0-SNAPSHOT.

Set version to 1.5.0-SNAPSHOT.
2021-01-24 23:37:57 -08:00
John Blum
535b7db0b6 Release 1.5.0-M1. 2021-01-24 23:24:45 -08:00
John Blum
d2e3f6c618 Edit changelog and add 1.5.0-M1 release notes. 2021-01-24 23:22:29 -08:00
John Blum
f018bc8d37 Adapt to API changes and behavior in Jackson 2.12.x. 2021-01-24 22:41:56 -08:00
John Blum
64d1bf30c0 Add runtime dependency on 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'. 2021-01-24 22:41:19 -08:00
John Blum
b78fe11196 Edit README and add documentation references for 1.5.0-SNAPSHOT. 2021-01-24 22:12:38 -08:00
John Blum
1b38bb379e Upgrade to Spring Session BOM 2021.0.0-M1.
Upgrade to Spring Session for Apache Geode 2.5.0-M1.
2021-01-24 22:09:59 -08:00
John Blum
d6aebf181b Upgrade to Spring Data Pascal-M2.
Upgrade to Spring Data BOM 2021.0.0-M2/Pascal-M2.

Upgrade to Spring Data for Apache Geode 2.5.0-M2.
2021-01-24 22:08:09 -08:00
John Blum
6f2da0b1de Upgrade to Spring Boot 2.5.0-M1. 2021-01-24 22:06:01 -08:00
John Blum
8bbc9841ba Set version to 1.5.0-SNAPSHOT. 2021-01-24 22:05:19 -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