John Blum
8da5755ed8
Update copyright to 2019.
...
Resolves gh-19.
2019-03-21 18:07:02 -07:00
John Blum
4bdebc0bab
Fix ordering.
2019-03-21 17:31:24 -07:00
John Blum
285eac9cba
Add integration tests testing the configuration of Spring Boot with Apache Geode / Pivotal GemFire using properties and @ConfigurationProperties classes.
...
Resolves gh-14.
2019-03-20 18:24:00 -07:00
John Blum
6e6b280e3b
Add configuration processor to support auto-completion / content-assist of well-known Spring Session properties, especially when using Apache Geode or Pivotal GemFire as the Session state caching provider.
...
Resolves gh-14.
2019-03-19 14:40:09 -07:00
John Blum
fb6fc6c93c
Fix failing tests.
2019-01-29 15:05:00 -08:00
John Blum
2e263257f2
Workaround issue caused by org.springframework.cloud:spring-cloud-services-starter-service-registry.
...
Resolves gh-21.
2019-01-29 14:39:34 -08:00
John Blum
4b7d642e23
Add 'this' qualifier to the corresponding class instance fields in the TestSecurityManager username and password property accessors.
2019-01-17 12:23:43 -08:00
John Blum
5651a07742
Rename GemFireSessionClientConfiguration to SessionGemFireClientConfiguration.
...
Rename GemFireSessionServerConfiguration to SessionGemFireServerConfigurtion.
2018-12-03 17:59:05 -08:00
John Blum
6b40830686
Fix test failures due to upgrade of Spring Test for Apache Geode/Pivotal GemFire to 1.0.0.M6.
2018-12-03 17:47:31 -08:00
John Blum
404fc3da71
Add integration test asserting the proper auto-configuration of Spring Session with Apache Geode/Pivotal GemFire using the client/server topology in a Web application and Web client.
2018-12-03 13:39:44 -08:00
John Blum
f356c0f3cc
Extend o.s.d.g.tests.integration.IntegrationTestsSupport to clean up mock objects and allocated GemFire/Geode resources.
2018-10-06 16:36:38 -07:00
John Blum
b6c75bd981
Reset Spring Test for Apache Geode/Pivotal GemFire version to 0.0.1.M4.
2018-10-06 12:19:05 -07:00
John Blum
43245b68aa
Add integration tests asserting that Spring Session for Apache Geode/Pivotal GemFire is not auto-configured when the Spring ApplicationContext is not a WebApplicationContext.
2018-10-05 18:36:28 -07:00
John Blum
b4cdd7547b
Annotate the SpringSessionAutoConfiguration class to be conditional on a Servlet-based web application.
2018-10-05 18:21:12 -07:00
John Blum
d896b85720
Edit Javadoc.
2018-10-02 16:44:57 -07:00
John Blum
8c2380cde9
Add auto-configuration to set the cache/member name based on the 'spring.application.name' property.
...
Resolves gh-12.
2018-10-02 16:44:07 -07:00
John Blum
7199f3c3a1
Add Spring @Conditional annotation (SpringBootCondition) to enable/disable Spring bean configuration based on missing properties.
2018-10-02 16:10:16 -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
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
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