Commit Graph

206 Commits

Author SHA1 Message Date
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
John Blum
44a9f5c535 Remove embedded Manager configuration. 2018-08-15 01:04:48 -07:00
John Blum
38309e97a8 Refactor the Spring Session JavaConfig Sample to use Spring Data for Apache Geode Test. 2018-08-15 01:04:47 -07:00
John Blum
55c19ca849 Refactor the Spring Session Boot Sample with Scoped Proxies to use Spring Data for Apache Geode Test. 2018-08-15 01:04:47 -07:00
John Blum
6ad1813ddf Refactor Spring Session Boot Sample to use Spring Data for Apache Geode Test.
Remove the sample.client.IntegrationTestConfiugration class.

Refactor sample.server.GemFireServer class to extend ClientServerIntegrationTestsConfiguration.

Refactor sample.client.Application.ClientCacheConfiguration class to import SubscriptionEnabledClientServerIntegrationTestsConfiguration class.

Refactor integrationTest.doFirst to set the 'spring.data.gemfire.cache.server.port' property.

Refactor integrationTest.onLast to call runGemFireServer.process?.destroy().

Add 'spring.data.gemfire.cache.server.port' property to the System properties when forking & launching the GemFire server in runGemFireServer.doLast.
2018-08-15 01:04:38 -07:00
John Blum
3c984bad1d Set the 'spring.data.gemfire.cache.server.port' property in addition to the 'spring.session.data.geode.cache.server.port' property. 2018-08-13 17:00:11 -07:00
John Blum
86fcaba5e2 Fix failing tests due to required Pool bean definitions as of SD(G) Lovelace-RC1. 2018-08-10 21:42:33 -07:00