Commit Graph

714 Commits

Author SHA1 Message Date
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
John Blum
38e2f6186f Switch from direct compile-time dependency on 'org.springframework.data:spring-data-geode-test' to using the ':spring-geode-starter-test' module. 2019-08-23 01:56:36 -07:00
John Blum
4b64e46fe6 Remove unnecessary 'org.springframework.boot:spring-boot-starter-jetty' and 'org.springframework.shell:spring-shell' runtime dependencies. 2019-08-23 01:46:43 -07:00
John Blum
9b34604482 Rename test class to be descriptive about testing the Look-Aside Caching Pattern. 2019-08-23 00:30:12 -07:00
John Blum
1d02bae14b Change home page Web Service endpoint from ping() to description, 'Inline Caching Example'. 2019-08-23 00:28:29 -07:00
John Blum
93c50ba621 Add home page Web Service endpoint with description, 'Look-Aside Caching Example'. 2019-08-23 00:25:30 -07:00
John Blum
ab85124b69 Remove unnecessary 'org.springframework.boot:spring-boot-starter-jetty' runtime dependency. 2019-08-23 00:22:52 -07:00
John Blum
82881e2f73 Switch direct [test] compile dependency on 'org.springframework.data:spring-data-geode-test' to 'spring-geode-starter-test'. 2019-08-23 00:18:54 -07:00
John Blum
c2cd6fd0a0 Fix incorrect scope on the 'org.springframework.data:spring-data-geode-test' dependency in the 'spring-geode-starter-test' module.
Fix incorrect scope on the 'org.springframework.data:spring-data-gemfire-test' dependency in the 'spring-gemfire-starter-test' module.

Resolves gh-50.
2019-08-22 22:46:26 -07:00
John Blum
5c5032e4a2 Exclude the 'javax.servlet:javax.servlet-api' transitive dependency from 'geode-core'.
Exclude the 'javax.servlet:javax.servlet-api' transitive dependency except from in the 'spring-geode-starter-session' and 'spring-gemfire-starter-session' modules.

Remove unnecessary 'javax.servlet:javax.servlet-api' provided dependency in 'spring-geode-autoconfigure'.

Remove unnecessary 'org.springframework.boot:spring-boot-starter-tomcat' runtime dependency from 'spring-geode-samples-caching-httpsession'.

Remove unnecessary 'javax.cache:cache-api' and 'org.springframework.shell:spring-shell' runtime dependencies from 'spring-geode-samples-caching-inline'.

Remove unnecessary 'javax.cache:cache-api' and 'org.springframework.shell:spring-shell' runtime dependencies from 'spring-geode-samples-caching-lookaside'.

Remove unnecessary 'javax.cache:cache-api' runtime dependency from 'spring-geode-samples-caching-near'.

Resolves gh-47.
2019-08-22 22:46:26 -07:00
John Blum
c2e311c47f Add Spring Boot Starters for Pivotal Cloud Cache.
Resolves gh-46.
2019-08-21 14:30:47 -07:00
John Blum
2684f08c20 Edit README and include Documentation references for the 1.2.0.M1 release. 2019-08-21 14:14:05 -07:00
John Blum
422d06d1a6 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 Release Train version to Moore-BUILD-SNAPSHOT.

Set Spring Data for Apache Geode & Pivotal GemFire version to 2.2.0.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.
2019-08-21 14:00:27 -07:00
John Blum
2895d4f50e Release 1.2.0.M1. 2019-08-21 12:57:38 -07:00
John Blum
ce67b08800 Prepare version 1.2.0.M1.
Set Spring Framework version to 5.2.0.RC1.

Set Spring Boot version to 2.2.0.M5.

Set Spring Data Release Train version to Moore-RC2.

Set Spring Data for Apache Geode & Pivotal GemFire version to 2.2.0.RC2.

Set Srping Session BOM version to Corn-M3.

Set Spring Session for Apache Geode & Pivotal GemFire version to 2.2.0.M3.
2019-08-21 12:36:47 -07:00
John Blum
bdd8525e3b Update changelog with 1.2.0.M1 release notes. 2019-08-21 12:26:22 -07:00
John Blum
7e4a5987a0 Edit README and include Documentation references for version 1.2.0.BUILD-SNAPSHOT. 2019-08-21 11:58:03 -07:00
John Blum
f2a88d7f0b Remove exclusion on 'org.apache.logging.log4j:log4j-to-slf4j'.
Add exclusion on 'org.apache.logging.log4j:log4j-core.'

Resolves gh-42.
2019-08-21 11:56:32 -07:00
John Blum
c1ca997b56 Remove exlusion on 'org.apache.logging.log4j:log4j-to-slf4j' and add exclusion on 'org.apache.logging.log4j:log4j-core'.
Resolves gh-42.
2019-08-21 11:56:32 -07:00
John Blum
12b457d35f Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.7.RELEASE. 2019-08-21 11:56:32 -07:00
John Blum
de8791564f Fixup Gradle build file to properly exclude the 'org.apache.logging.log4j:log4j-core' dependency transitively pulled in by the 'org.springframework.data:spring-data-geode-test' dependency.
Remove the exlusion on 'org.apache.logging.log4j:log4j-to-slf4j' in the 'org.springframework.boot:spring-boot-starter-test' dependency.

Resolves gh-42.
2019-08-21 11:56:32 -07:00
John Blum
1e0a3bacfd Upgrade to Spring BUILD-SNAPSHOT versions. 2019-08-21 11:56:32 -07:00
John Blum
34a69aa159 Refactor logging dependencies for SBDG Starters Gradle build files.
Remove the exclude on 'org.apache.logging.log4j:log4j-to-slf4j'.

Add an exclude on 'org.apache.logging.log4j:log4j-core'.

Resolves gh-42.
2019-08-21 11:56:32 -07:00
John Blum
c218795e8d Refactor logging dependencies in SBDG Module Gradle build files.
Remove the exclude for 'org.apache.logging.log4j:log4j-to-slf4j'.

Add an exclude for 'org.apache.logging.log4j:log4j-core'.

Resolves gh-42.
2019-08-21 11:56:32 -07:00
John Blum
c7963259f1 Update dependencies.
Upgrade to Mockito 3.0.0.

Upgrade to Pivotal GemFire 9.8.3.
2019-08-21 11:56:32 -07:00
John Blum
6708a9e26b Update dependencies.
Upgrade to Pivotal GemFire 9.8.2.

Upgrade to Spring Boot 2.2.0.M4.

Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.5.RELEASE.

Upgrade to Spring Session BOM Corn-M2.
2019-08-21 11:56:32 -07:00
John Blum
ed8b4cd37a Update dependencies.
Upgrade to Spring Framework 5.2.0.M3.

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

Upgrade to Spring Data Release Train Moore-RC1.

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

Upgrage to Spring Test for Apache Geode & Pivotal GemFire 0.0.4.RELEASE.
2019-08-21 11:56:32 -07:00
John Blum
0801ded485 Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.2.BUILD-SNAPSHOT. 2019-08-21 11:56:32 -07:00
John Blum
73dc80a653 Set Spring Data Release Train version to Moore-BUILD-SNAPSHOT. 2019-08-21 11:56:32 -07:00