Commit Graph

23 Commits

Author SHA1 Message Date
John Blum
2ce660c421 Refactor dependencies and ensure the log4j-to-slf4j dependency gets excluded.
Remove testCompile slf4j dependencies.
2018-09-19 10:28:33 -07:00
John Blum
3661d58a69 Polish. 2018-09-18 22:50:14 -07:00
John Blum
88b0baf7a6 Add integration tests asserting Session expiration mechanics against live Spring Session provider. 2018-08-29 12:24:16 -07:00
John Blum
b99c67ee96 Improve caching provider auto-configuration to respect 'spring.cache.type'.
Resolves gh-11.
2018-08-29 11:26:58 -07:00
John Blum
170c4da2df Extend o.s.d.g.tests.integration.IntegrationTestSupport to clean up the test context. 2018-08-29 10:47:19 -07:00
John Blum
5335c82781 Add support to apply the 'spring.session.timeout' property or the 'server.servlet.session.timeout' property when the 'spring.session.timeout' property is not set.
Neither 'spring.session.timeout' nor 'server.servlet.session.timeout' are applied when the 'spring.session.data.gemfire.session.expiration.max-inactive-interval-seconds' property is set.
2018-08-29 10:47:19 -07:00
John Blum
18c4a578c1 Add (conditional, negation) support for Spring Boot's 'spring.session.store-type' property. 2018-08-27 17:38:29 -07:00
John Blum
279c6ea83f Fix test failures related to Spring Session auto-configuration. 2018-08-27 13:10:16 -07:00
John Blum
ce5519f06c Add Spring Boot auto-configuration support for Spring Session using Apache Geode or Pivotal GemFire as the Session state management provider.
Resolves gh-3.
2018-08-24 00:44:01 -07:00
John Blum
d659271613 Re-order testCompile dependencies.
Remove commented code (dependency declarations).
2018-08-22 15:13:21 -07:00
John Blum
fa452b8801 Remove Spring libs-snapshot Maven Repository declarations.
Move all extension properties for dependency version overrides to build.gradle.
2018-08-22 15:07:11 -07:00
John Blum
db95c418eb Remove explicit IntellIJ IDEA (IDE) Gradle configuration for integrationTest source directory location. 2018-08-22 14:54:22 -07:00
John Blum
c3e002e3b5 Re-arrange SDG @Region annotation and Lombok @Data annotation. 2018-08-22 14:47:28 -07:00
John Blum
4188f4381d Refactor test case and setup to be more resilient to race conditions with Apache Geode/Pivotal GemFire CQ event delivery. 2018-08-15 12:58:30 -07:00
John Blum
16c8478d8a Change GemFireClientConfiguration to import the SubscriptionEnabledClientServerIntegrationTestsConfiguration class rather than extend it. 2018-08-14 18:06:00 -07:00
John Blum
c227cf7977 Replace Boolean.getBoolean(..) property resolution for client/server SSL enablement to use Spring's Environment.
Rename spring.boot.data.gemfire.security.ssl.environment.post-processor.disabled to spring.boot.data.gemfire.security.ssl.post-processor.enabled.

Resolves GitHub Issue #9.
2018-07-13 20:34:43 -07:00
John Blum
aa7002acd7 Replace Boolean.getBoolean(..) property resolution for client auth enablement to use Spring's Envionment.
Rename spring.boot.data.gemfire.security.auth.environment.post-processor.disabled property to spring.boot.data.gemfire.security.auth.environment.post-processor.enabled.

Resolves GitHub Issue #9.
2018-07-13 20:33:02 -07:00
John Blum
e3a873ccdd Annotate caching integration tests with Spring's @DirtiesContext annotation to refresh the Spring ApplicationContext on subsequent test class execution. 2018-06-24 20:29:50 -07:00
John Blum
1aad7adff6 Annotate the Book class, 'new' property with the Spring Data @Transient annotation to prevent serialization. 2018-06-24 20:29:50 -07:00
John Blum
cacb832e1c Add unit tests asserting the behavior of Java Object.toString() used in various contexts, such as Optionals and Streams. 2018-06-22 12:55:01 -07:00
John Blum
cd5399a3c3 Add integration test asserting neither Apache Geode nor Pivotal GemFire is configured as the cache provider in Spring's Cache Abstraction when another caching provider (i.e. CacheManger) has been declared and configured in the Spring context. 2018-06-22 02:29:42 -07:00
John Blum
4066dd054f Switch project dependency management to using Spring Boot Dependencies BOM to manage all project dependencies and versions. 2018-06-20 14:12:37 -07:00
John Blum
330dc7fec3 Rename modules.
Rename geode-spring-boot to spring-geode.

Rename geode-spring-boot-autoconfigure to spring-geode-autoconfigure.

Rename geode-spring-boot-starter to spring-geode-starter.

Rename gemfire-spring-boot-starter to spring-gemfire-starter.

Resolves GitHub Issue #6.
2018-06-19 18:35:09 -07:00