Commit Graph

212 Commits

Author SHA1 Message Date
John Blum
c569a3de5f Edit Javadoc.
Resolves gh-5.
2018-10-23 19:58:23 -07:00
John Blum
03f7c2f9b5 Change the specification and interface contract for SessionExpirationPolicy.expireAfter(:Session):Duration to allow null return values.
A null return value will signal GemFire/Geode to use the default Region Entry Idle Timeout (TTI) Expiration Policy configured for the Sessions Region.

Resolves gh-5.
2018-10-23 19:58:23 -07:00
John Blum
bff54fa08a Refactor GemFireHttpSessionConfiguration to always set a Region Entry Idle Timeout (TTI) Expiration Policy regardless if the user provided her own custom, Region Entry Idle Timeout (TTI) Expiration Policy.
Resolves gh-5.
2018-10-23 14:14:56 -07:00
John Blum
7c5a7da9ea Fix failing tests based on session expiration policy configuration.
Resolves gh-5.
2018-10-22 22:30:42 -07:00
John Blum
bc803fcd61 Add Integration Tests asserting fixed duration expiration timeout for a Session.
Resolved gh-5.
2018-10-22 22:23:39 -07:00
John Blum
c905b365e1 Add SpringSessionGemFireConfigurer support for configuring custom session expiration policies.
Resolve gh-5.
2018-10-22 21:33:20 -07:00
John Blum
9024da840f Add Integration Tests to assert the configuration of custom session expiration policies.
Resolve gh-5.
2018-10-22 21:01:49 -07:00
John Blum
7ea48fdc6c Add annotation configuration support to configure custom session expiration policies.
Resolves gh-5.
2018-10-22 20:55:53 -07:00
John Blum
6714ed9421 Add Unit Tests for o.s.session.data.gemfire.expiration.SessionExpirationPolicy strategy interface and supporting classes.
Resolves gh-5.
2018-10-22 19:05:43 -07:00
John Blum
65d9ff8f42 Define o.s.session.data.gemfire.expiration.SessionExpirationPolicy strategy interface and supporting classes to enable users to implement custom expiration policies.
Resolve gh-5.
2018-10-22 19:02:20 -07:00
John Blum
9d9a5d0b1a Add link/URL to the Spring Session core GitHub Issue #922 referencing the new feature request. 2018-10-15 15:55:22 -07:00
John Blum
96d03171e9 Prototype a basic implementation of time-boxed, fixed duration expiration (e.g. 24 hours). 2018-10-15 15:55:22 -07:00
John Blum
3777a7662f Upgrade to Spring Framework 5.1.1.RELEASE.
Upgrade to Spring Boot 2.1.0.M4.

Upgrade to Spring Data for Apache Geode 2.1.1.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.1.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR1.

Upgrade to Spring Session BOM Bean-RC1.
2018-10-15 15:38:14 -07:00
John Blum
d466d4ca99 Add reference to the API. 2018-08-31 08:48:51 -07:00
John Blum
50fc925cea Update Jenkins build script file to match core Spring Session. 2018-08-29 22:57:04 -07:00
John Blum
0db2a25add Format source code. 2018-08-29 12:01:32 -07:00
John Blum
fabcdeb3f7 Upgrade to Spring Test for Apache Geode/Pivotal GemFire 0.0.1.M3. 2018-08-29 11:53:38 -07:00
John Blum
fdf7cf00d4 Upgrade to Gradle 4.10. 2018-08-28 17:45:02 -07:00
John Blum
4b53271659 Upgrade to Spring Test for Apache Geode/Pivotal GemFire 0.0.1.M2. 2018-08-28 17:44:18 -07:00
John Blum
d5b1769157 Remove the 'testCompile seleniumDependencies' dependency declaration. 2018-08-24 21:29:41 -07:00
John Blum
72a1209b98 Upgrade to Spring Build Conventions Gradle Plugin 0.0.18.RELEASE. 2018-08-24 21:28:29 -07:00
John Blum
c3417edf47 Prepare next development iteration. 2018-08-22 12:36:20 -07:00
John Blum
52536923f2 Release 2.1.0.M1. 2018-08-22 12:28:04 -07:00
John Blum
2b08f5b4a8 Upgrade to Spring Test for Apache Geode/Pivotal GemFire 0.0.1.M1. 2018-08-22 11:58:27 -07:00
John Blum
3ed77ee1c7 Correct source code references. 2018-08-22 11:08:56 -07:00
John Blum
bc6af587a9 Correct Servlet declaration servlet-class name as 'sample.SessionServlet'. 2018-08-22 11:03:08 -07:00
John Blum
4536dfa5e3 Refactor GemFireServer Gradle Plugin to handle both Boot and WAR based integration tests. 2018-08-22 10:51:17 -07:00
John Blum
d856bce248 Re-organize all client/server sample code to separate client and server classes into client and server packages, respectively.
Rename sample.ServerConfig class to sample.server.GemFireServer and apply the GemFireServer Gradle Plugin.

Change all 'spring.session.data.gemfire.*' and 'spring.session.data.geode.*' properties to use the SDG property prefixed with 'spring.data.gemfire.*'.
2018-08-22 10:51:17 -07:00
John Blum
61048a3e04 Run GemFireServer class in the sample.server package.
Change all Spring Session (Data Geode) System properties to SDG properties (i.e. 'spring.data.gemfire.*').

Remove any 'spring.session.data.gemfire.*' and 'spring.session.data.geode.*' property configuration.

Remove commented code.
2018-08-22 10:51:04 -07:00
John Blum
80beee182c Refresh dependencies on build. 2018-08-22 07:30:11 -07:00
John Blum
45a4caf14c Re-instate Spring Test for Apache Geode dependency.
Simplify the implementation of ClientServerReadyBeanPostProcessor by extending STDG's ClientServerIntegrationTestsSupport.
2018-08-21 22:11:43 -07:00
John Blum
0569a8da74 Change 'spring.session.data.gemfire.cache.server.port' System property for configuring the GemFire CacheServer port to 'spring.data.gemfire.cache.server.port'. 2018-08-21 22:04:54 -07:00
John Blum
226ec83c0e Extract doPause(duration:long):boolean method from waitOn(:Condition).
Add constants for wait duration and default host used in the new Socket.
2018-08-21 18:58:58 -07:00
John Blum
59a85404d5 Upgrade to Spring Boot 2.1.0.M2. 2018-08-21 12:59:57 -07:00
John Blum
c8f6a15f47 Fix URL to documentation. 2018-08-21 00:40:37 -07:00
John Blum
a08feec3b5 Set Apache Geode version to 1.6.0.
Set Pivotal GemFire version to 9.5.1.

Upgrade to Spring Framework 5.1.0.RC2.

Upgrade to Spring Data for Apache Geode 2.1.0.RC2.

Upgrade to Spring Data for Pivotal GemFire 2.1.0.RC2.

Upgrade to Spring Data Release Train Lovelace-RC2.

Upgrade to Spring Session BOM Bean-M2; Spring Session 2.1.0.M2.
2018-08-21 00:38:41 -07:00
John Blum
1ac8aca9a7 Set maxInactiveIntervalInSeconds to 30 causing (HTTP) Session expiration after 30 seconds. 2018-08-20 23:16:39 -07:00
John Blum
017eebafcd Polish. 2018-08-20 22:26:51 -07:00
John Blum
125877df89 Fix bug in Region expiration configuration to properly handle Session expiration. 2018-08-20 21:54:54 -07:00
John Blum
c0c3ade687 Remove optional 'gemfire.log-level' System property from command-line. 2018-08-20 21:53:11 -07:00
John Blum
e1b5b1c5b5 Edit and clean up the Sample User Guides. 2018-08-20 18:34:46 -07:00
John Blum
71392b2461 Reconfigure Jenkins build pipeline timeouts at the stage level. 2018-08-20 16:07:34 -07:00
John Blum
494442aa7b Timeout the Jenkins build pipeline after 10 minutes. 2018-08-20 15:48:33 -07:00
John Blum
26c7b583bf Fix sample XML client-server integration tests ClassNotFoundException on the o.s.session.config.annotation.web.http.SpringHttpSessionConfiguration class. 2018-08-17 00:34:19 -07:00
John Blum
c80536d11b Polish. 2018-08-16 18:04:41 -07:00
John Blum
c95f5aeddd Remove unnecessary ide.gradle file and remove 'apply from: IDE_GRADLE' plugin declarations from Gradle module build files.
All IDE configuration logic is handle by the Spring Build Conventions Gradle project.
2018-08-16 17:55:12 -07:00
John Blum
4708d9bf6d Correct 'spring.data.gemfire.cache.server.host' property; remove extra dot between 'server' and 'host'. 2018-08-15 14:20:18 -07:00
John Blum
11b74a0145 Set Groovy version to 2.4.15 to work with Gretty. 2018-08-15 02:26:12 -07:00
John Blum
1454a81ade Refactor all samples to use the Spring Test for Apache Geode project.
Add appropriate synchronization/coordination between the client and server.
2018-08-15 01:16:42 -07:00
John Blum
fbf5044930 Set the 'spring.data.gemfire.pool.servers' property. 2018-08-15 01:04:48 -07:00