Commit Graph

279 Commits

Author SHA1 Message Date
John Blum
e48d34888e Set Spring Test for Apache Geode/Pivotal GemFire to 0.0.1.BUILD-SNAPSHOT. 2018-12-03 18:32:46 -08:00
John Blum
8662bea492 Increase number of Threads concurrently accessing the same logical Session to 4.
In Thread 4, update lastAccessedTime then save Session in tick 2, and attempt to save a non-dirty Session in tick 3.
2018-11-27 18:59:56 -08:00
John Blum
d6bae4912a Guard against null values for Session.lastAccessedTime. 2018-11-27 18:59:56 -08:00
John Blum
adf29e7702 Refactor and simplify non-dirty Session handling.
Resolves gh-16.
2018-11-27 00:17:18 -08:00
John Blum
1c915b27a4 Change Pivotal GemFire log-level to error. 2018-11-27 00:05:51 -08:00
John Blum
8c990ac328 Format source code. 2018-11-27 00:04:04 -08:00
John Blum
f37010c5d7 Add support to expose configuration as properties in the Spring Environment.
Edit Javadoc.

Resolves gh-14.
2018-11-25 18:27:37 -08:00
John Blum
e036a1b512 Rename tearDow() to tearDown(). 2018-11-25 18:25:34 -08:00
John Blum
90824e973d Annotate configuration methods and parameters with Spring's @NonNull and @Nullable annotations to make the contract of the methods apparent.
Edit Javadoc.
2018-11-25 18:19:34 -08:00
John Blum
2a30b08d25 Change all configuration based, JavaBean property accessor methods (getters) to public. 2018-11-21 16:29:47 -08:00
John Blum
153568d05c Add registerDataSerializableSessionSerializer() method.
Refactor doInitialization() to delegate to registerDataSerializableSessionSerializer() when registering custom Spring Session DataSerializers/SessionSerializer implementations.

Remove sessionRegionName configuration parameters and state.
2018-11-21 16:24:51 -08:00
John Blum
fef2faa307 Implement non-behavior changing fixes.
Format source code.

Edit Javadoc.
2018-11-21 15:54:03 -08:00
John Blum
8db58729b3 Reorder overridden SessionRepository methods.
Edit Javadoc.
2018-11-21 15:54:03 -08:00
John Blum
3df7146b9e Prepare next development iteration. 2018-11-13 22:25:04 -08:00
John Blum
609a5157ce Release 2.1.1.RELEASE. 2018-11-13 22:13:09 -08:00
John Blum
a450bea65d Add test class asserting proper DataSerialization of Session types combined with proper PDX serialization of application domain types. 2018-11-13 22:03:19 -08:00
John Blum
680c6d4a61 Add sample demonstrating the use of Spring Session with Gfsh started Apache Geode servers configured with DataSerialization.
Resolve gh-11.
2018-11-13 19:09:57 -08:00
John Blum
ff0ae7cd5f Set Spring Session version to 2.1.1.RELEASE. 2018-11-13 13:57:34 -08:00
John Blum
48100ced34 Edit Javadoc. 2018-11-09 17:12:56 -08:00
John Blum
a1cb7bb41c Update documentation to include information on configuring Apache Geode/Pivotal GemFire server's with the DataSerialization framework as required by Spring Session.
Resolves gh-11.
2018-11-09 17:08:32 -08:00
John Blum
ffe3571a74 Add support for configuring Apache Geode/Pivotal GemFire's DataSerialization framework server-side when using Spring Session.
Resovles gh-11.
2018-11-09 14:58:44 -08:00
John Blum
15f856c6ae Add support for eager commits.
Resolves gh-12.
2018-11-08 19:19:57 -08:00
John Blum
7426a0c92e Update Copyright to 2018. 2018-11-08 00:28:51 -08:00
John Blum
c585af3f70 Remove Mockito Spy on SessionRepository in AbstractGemFireIntegrationTests.
Add Mockito Spy on GemFireOperationsSessionRepository reference maintained by the AbstractConcurrentSessionOperationsTestCase class.
2018-11-07 23:58:42 -08:00
John Blum
f0d6110090 Edit Javadoc. 2018-11-07 23:57:34 -08:00
John Blum
33ba9d41dd Add support for eager commits, which copies and then commits the Session before saving.
Resolves gh-12.
2018-11-07 23:20:29 -08:00
John Blum
9f810ed6e6 Add support to prevent SessionRepository.save(:Session) invocations for non-dirty Sessions.
Resolves gh-12.
2018-11-07 15:08:56 -08:00
John Blum
747a789188 Upgrade to Spring Framework 5.1.2.RELEASE.
Upgrade to Spring Boot 2.1.0.RELEASE.

Upgrade to Spring Data for Apache Geode 2.1.2.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.2.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR2.

Upgrade to Spring Session 2.1.2.BUILD-SNAPSHOT.

Upgrade to Spring Session BOM Bean-RELEASE.
2018-11-06 12:42:37 -08:00
John Blum
8793e7b96f Refactor all client/server Integration Tests to fork Apache Geode/Pivotal GemFire servers using the STDG test framework.
Remove all test resource clean up logic.

Remove all waits for the cache instance to be completely destroyed by Apache Geode/Pivotal GemFire.
2018-11-06 12:29:08 -08:00
John Blum
7d21935157 Convert all waitOnCondition(:Condition) calls to waitOn(:Condition). 2018-11-06 12:26:17 -08:00
John Blum
b61a0d2854 Format source code. 2018-11-06 12:12:14 -08:00
John Blum
3f535e90cf Guard against (generated) constructor and method introductions when the Jacoco Java Agent instruments the Java byte code at (test) runtime. 2018-11-06 12:04:46 -08:00
John Blum
41c3996541 Convert MultiThreadHttpSessionAttributesDeltaIntegrationTests to a client/server integration test.
Rename MultiThreadedHttpSessionAttributesDeltaIntegrationTests to MultiThreadedClientServerHttpSessionAttributesDeltaIntegrationTests.
2018-11-06 12:01:12 -08:00
John Blum
02dcd62edf Extend the o.s.data.gemfire.tests.integration.ForkingClientServerIntegrationTestsSupport class from STDG.
Delegate query debugging configuration to the ForkingClientServerIntegrationTestsSupport class.

Remove all waitFor.. methods, preferring the ForkingClientServerIntegrationTestsSupport class variants.

Remove all test resource clean up (e.g. cleaning up DataSerializer registration) and rely on ForkingClientServerIntegrationTestsSupport class test resource clean up.
2018-11-06 11:58:35 -08:00
John Blum
4f941639e4 Upgrade to Spring Test for Apache Geode/Pivotal GemFire 0.0.1.M6. 2018-11-06 10:28:34 -08:00
John Blum
43b9f9ab8a Format source code. 2018-11-05 17:21:23 -08:00
John Blum
327c11fcda Edit documentation on using the SpringSessionGemFireConfigurer.
Add section about configuration order/precedence when combining approaches (Configurer, properties, annotation attributes).

Resolves gh-10.
2018-11-05 17:20:14 -08:00
John Blum
af85e31d99 Change the default behavior of SpringSessionGemFireConfigurer to only override configuration for configuration callback methods specifically implemented by users.
Resolves gh-10.
2018-11-02 15:06:45 -07:00
John Blum
a667ff217d Format source code. 2018-11-01 12:59:13 -07:00
John Blum
7c3a41e100 Extend o.s.session.data.gemfire.AbstractGemFireIntegrationTests to properly clean up test resources (e.g. mock objects, etc). 2018-10-30 13:29:19 -07:00
John Blum
0457b0b581 Add test class asserting the correct behavior when concurrently accessing a Session using Spring Session backed by Apache Geode or Pivotal GemFire. 2018-10-30 12:57:17 -07:00
John Blum
cf8699c00a Refer to Spring Data for Apache Geode API Javadoc.
Parameterize version in Spring Session core API Javadoc URL.
2018-10-30 12:50:23 -07:00
John Blum
184894eb5b Prepare next development iteration. 2018-10-24 23:14:42 -07:00
John Blum
c1706e6e83 Release 2.1.0.RELEASE. 2018-10-24 23:02:33 -07:00
John Blum
f4caee8b95 Add exception handling around deploy artifacts and deploy docs Jenkins build stages. 2018-10-24 23:01:06 -07:00
John Blum
16734f4516 Remove all repository declarations from modulde build.gradle files and add to gradle/dependency-management.gradle. 2018-10-24 21:50:54 -07:00
John Blum
71e33ecb2c Fix documentation reference (httpsession-gemfire-clientserver-xml) and anchor/bookmark (http-session-gemifre-clientserver-xml) to match. 2018-10-24 21:49:46 -07:00
John Blum
8319151c96 Extend o.s.session.data.gemfire.AbstractGemFireIntegrationTests to ensure proper test resource cleanup on test setup and test teardown. 2018-10-24 21:10:54 -07:00
John Blum
f7a0e2c90b Add dependency management for Spring Session core to control the version, particularly for releases. 2018-10-24 20:54:04 -07:00
John Blum
70c65eda1f Add gradlePluginPortal() to Gradle build script respositories.
Switch from repo.spring.io/plugins-snapshot to repo.spring.io/plugins-release.
2018-10-24 20:42:49 -07:00