Commit Graph

742 Commits

Author SHA1 Message Date
John Blum
af95b61eaa Add chapter on Declarative Configuration. 2019-09-12 01:12:27 -07:00
John Blum
2d9c4410a0 Add chapter on Auto-configuration. 2019-09-12 01:12:27 -07:00
John Blum
554331a356 Add @EnableClusterDefinedRegions, @EnableGatewayReceiver and @EnableGatewaySender(s) annotations to the list of Annotations provided by SDG in the 'Explicit Configuration' section. 2019-09-12 01:12:27 -07:00
John Blum
d13d34e6d9 Add section title for the complete set of SBDG Auto-configuration classes.
Correct spelling in 'SpringSessionPropertiesAutoConfiguration' class name.
2019-09-12 01:09:38 -07:00
John Blum
43ec48a5e4 Rename configuration.adoc to configuration-externalized.adoc to reflect the title. 2019-09-12 01:09:38 -07:00
John Blum
ed3eea4c1d Edit chapter on 'Externalized Configuration'. 2019-09-12 01:09:38 -07:00
John Blum
7992b3e893 Edit Javadoc. 2019-09-12 01:09:38 -07:00
John Blum
25cf033095 Format source code; Optimize imports. 2019-09-12 01:09:38 -07:00
John Blum
a616bc52e7 Correct 'beanName' variable spelling in Lambda expression of the clientCacheMemberNameConfigurer and peerCacheMemberNameConfigurer bean definitions.
Optimize imports.
2019-09-12 01:09:38 -07:00
John Blum
a8e29f7065 Provide ability to reset Cluster-Aware Configuration Condition state. 2019-09-12 01:09:38 -07:00
John Blum
c1d7424de1 Add @EnableClusterAware annotation configuration support allowing developers to seamlessly switch between local and client/server development environments.
Resolves gh-52.
2019-09-12 01:09:38 -07:00
John Blum
9bb6f6b0ea Fix documentation anchor reference. 2019-09-12 01:08:28 -07:00
John Blum
2fb96d0644 Update README.adoc to refer to the 1.2.0.M2 version in the reference documentation. 2019-09-12 01:05:54 -07:00
John Blum
7d8ef43f06 Prepare next development iteration.
Set Spring Framework version to 5.2.0.BUILD-SNAPSHOT.

Set Spring Boot version to 2.2.0.BUILD-SNAPSHOT.

Set Spring Data for Apache Geode & Pivotal GemFire version to 2.2.0.BUILD-SNAPSHOT.

Set Spring Data Release Train version to Moore-BUILD-SNAPSHOT.

Set Spring Session BOM version to Corn-BUILD-SNAPSHOT.

Set Spring Session for Apache Geode & Pivotal GemFire version to 2.2.0.BUILD-SNAPSHOT.

Set version to 1.2.0.BUILD-SNAPSHOT.
2019-09-12 00:57:01 -07:00
John Blum
1daa95be7b Release 1.2.0.M2. 2019-09-12 00:40:41 -07:00
John Blum
43ce66bac4 Prepare the 1.2.0.M2 release.
Upgrade to Spring Framework 5.2.0.RC2.

Upgrade to Spring Boot 2.2.0.M6.

Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.2.0.RC3.

Upgrade to Spring Data Release Train Moore-RC3.

Upgrade to Spring Session BOM Corn-M4.

Upgrade to Spring Session for Apache Geode & Pivotal GemFire 2.2.0.M4.

Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.8.RELEASE.
2019-09-12 00:28:23 -07:00
John Blum
0bd1eab2a9 Update changelog with 1.2.0.M2 release notes. 2019-09-12 00:26:15 -07:00
John Blum
119dda0459 Update README.adoc with the 1.1.1.RELEASE and 1.1.2.BUILD-SNAPSHOT versions in the reference documentation.
Edit the 'Examples' section for grammatical errors.
2019-09-11 22:59:22 -07:00
John Blum
18c4195cad Update changelog with 1.1.1.RELEASE notes. 2019-09-11 22:58:00 -07:00
John Blum
9732d5e7f8 Remove the 'javax.cache:cache-api runtime dependency from the starters.
The JSR-107, JCache API is no longer a required runtime dependency for Spring Data for Apache Geode & Pivotal GemFire as of SDG Moore-RC3/2.2.0.RC3 release.

See https://jira.spring.io/browse/DATAGEODE-225 & https://jira.spring.io/browse/SGF-808 for more details.

Resolves gh-45.
2019-09-10 22:10:10 -07:00
John Blum
980ad35a6f Change Apache Geode documentation version to 1.9.
Change Pivotal GemFire documentation version to 9.8.
2019-09-10 21:50:50 -07:00
John Blum
83c036a42c Edit the 'Security' and 'Pivotal CloudFoundry' chapters regarding client authentication. 2019-09-10 21:47:18 -07:00
John Blum
4b06829671 Fix URL reference to Pivotal Cloud Cache documentation. 2019-09-10 21:45:34 -07:00
John Blum
9afd854290 Add Gradle extension property for overriding the Spring Session BOM version. 2019-09-10 20:45:15 -07:00
John Blum
0dc82ea588 Add documentation on running a Spring Boot application in PCF using PCC as a specific, assigned user.
Resolves gh-44.
2019-09-10 20:36:36 -07:00
John Blum
31c918ffbc Improve Client Security Auto-configuration to allow users to configure the runtime user of their Spring Boot applications running in Pivotal CloudFoundray (PCF) when using Pivotal Cloud Cache (PCC).
Note: configuring the runtime user of a Spring Boot app outside of CloudFoundry is already supported.  Simply set the 'spring.data.gemfire.security.username' and 'spring.data.gemfire.security.password' properties.

Resolves gh-44.
2019-09-10 20:36:36 -07:00
John Blum
69250d1e30 Add capability to find an optional user by name.
Resolves gh-44.
2019-09-10 12:29:32 -07:00
John Blum
3c0a0daa32 Remove unnecessary exclude on ContinuousQueryAutoConfiguration class. 2019-09-10 01:30:03 -07:00
John Blum
bc6e423ed0 Disable SSL auto-configuration for all Spring Geode Sample tests. 2019-09-10 01:12:35 -07:00
John Blum
3e417a9ce8 Refactor EnableSecurityCondition to extend AllNestedConditions.
Wrap existing Security conditions (e.g. Cloud Platform, spring.data.gemfire.security properties) in a SecurityTriggersCondition class extending AnyNestedCondition.

Declare nested Condition on the 'spring.boot.data.gemfire.security.auth.environment.post-processor.enabled' property fixing bug with the non-guarded application of the @EnableSecurity annotation.

Edit Javadoc.

Optimize imports.
2019-09-10 01:01:36 -07:00
John Blum
f3bdbedfd7 Refactor EnableSslCondition to extend AllNestedConditions.
Wrap existing SSL conditions (e.g. trusted.keystore, spring.data.gemfire.security.ssl properties) in a SslTriggersCondition class extending AnyNestedCondition.

Declare nested Condition on the 'spring.boot.data.gemfire.security.ssl.environment.post-processor.enabled.property' fixing bug with the non-guarded application of the @EnableSsl annotation.

Change order of trusted.keystore scan in TrustedKeyStoreIsPresentCondition to be classpath, working directory then home directory, reflecting the documentation.

Remove System.err.printf statements.

Remove non-qualified 'ssl-keystore' and 'ssl-trustore' properties.

Edit Javadoc.

Optimize imports.
2019-09-10 00:59:36 -07:00
John Blum
366e5d634b Add Integration Tests asserting the proper behavior of the complex conditional configuration support provided by Spring Boot using @Conditional annotations.
This test configuration is not unlike the SslAutoConfiguration.
2019-09-09 23:30:31 -07:00
John Blum
e7f99fd1e5 Log Apache Geode SSL configuration and state at 'error'. 2019-09-09 23:30:02 -07:00
John Blum
202e59b9d2 Edit Javadoc; Optimize imports. 2019-09-09 11:35:56 -07:00
John Blum
22925f136f Optimize imports. 2019-09-03 21:28:08 -07:00
John Blum
5379d9164d Edit 'Building Embedded (Peer & Server) Cache Applications' and 'Building Locator Application' sections. 2019-09-03 21:20:26 -07:00
John Blum
6e64704fd8 Correct spelling in 'putAndGetCustomerIsSuccessful' test case method. 2019-09-03 15:47:16 -07:00
John Blum
4169611821 Correct spacing; Use tabs, not spaces. 2019-09-03 15:46:16 -07:00
John Blum
2fc6a28de2 Format source code; Optimize imports. 2019-09-03 14:39:52 -07:00
John Blum
8febb7cab4 Mock the SDG o.s.d.g.LocatorFactoryBean. 2019-09-03 14:36:35 -07:00
John Blum
f39f480a1a Format source code; Optimize imports. 2019-09-03 13:01:55 -07:00
John Blum
d16e36a38f Extend o.s.d.g.tests.integration.IntegrationTestsSupport.
Format source code.

Optimize imports.
2019-09-03 13:01:22 -07:00
John Blum
e5859e8ebf Upgrade to Spring Test for Apache Geode & Pivotal GemFire (STDG) 0.0.8.BULD-SNAPSHOT. 2019-09-03 12:50:37 -07:00
John Blum
263206a3c0 Add LocatorConfigurer to LocatorApplication configuration class to disable Apache Geode Cluster Configuration.
Add Before and After cleanup() method to remove any Locator runtime files and directories.
2019-09-03 12:50:04 -07:00
John Blum
ea3889174a Edit documentation and add section on Apache Geode Locator-based applications configured and bootstrapped with Spring Boot. 2019-09-03 10:56:38 -07:00
John Blum
195f929da1 Edit documentation on ClientCache applications. 2019-09-01 11:26:10 -07:00
John Blum
e26e417972 Add Spring Boot appplication main class for configuring and bootstrapping an Apache Geode or Pivotal GemFire Locator in a clustered topology. 2019-09-01 11:25:05 -07:00
John Blum
a16018bcb2 Add support for 'locators' and 'remote-locators' properties configuration on Spring Boot, Apache Geode Locator applications when using the @UseLocators annotation. 2019-09-01 10:58:58 -07:00
John Blum
00cdbcc925 Format source code. 2019-09-01 10:55:38 -07:00
John Blum
51c4a9659b Add documentation variable for 'spring-data-commons' website. 2019-09-01 10:54:51 -07:00