Commit Graph

438 Commits

Author SHA1 Message Date
John Blum
bb8ec272d4 Apply appropriate SuppressWarnings annotations for rawtypes usage.
Format source code.

Optimize imports.
2020-03-03 02:41:03 +01:00
John Blum
0989bb048e Add SLF4J Logback configuration file to be able to log output from Spring Session and Apache Geode during Integration Tests. 2020-02-04 20:14:49 -08:00
John Blum
ca4ec497aa Optimize imports.
Annotate SpyingDataSerializableSessionSerializer class's serialize(..) and deserialize(..) methods with @SuppressWarnings('rawtypes').

Apply wildcard generic type signature to GemFireSession type parameters.

Remove unnecessary @SuppressWarnings('all') annotation.
2020-02-04 20:14:09 -08:00
John Blum
f02521a6b9 Remove unnecessary assertion asserting the Session is an instance of GemFireSession. 2020-02-04 20:10:03 -08:00
John Blum
b53442e7c2 Change all assertThat(..).as(..) AssertJ API usage to assertThat(..).describedAs(..). 2020-02-04 11:44:36 -08:00
John Blum
7420b22141 Edit Javadoc.
Format source code.

Optimize imports.
2020-02-04 11:44:31 -08:00
John Blum
f8efffa6a7 Edit Javadoc.
Format source code.

Optimize imports.

Change generic type signature in GemFireSession casts to use wildcard.
2020-02-04 11:44:22 -08:00
John Blum
b8c3d691b4 Edit Javadoc.
Format source code.

Optimize imports.

Annotate the TestConfiguration class with @SuppressWarnings('unused').
2020-02-04 11:44:17 -08:00
John Blum
91b2e7e760 Fix race condition.
Re-arrange test Thread logic to not strictly interleave concurrent Session writes, rather simply read the same Session by ID concurrently.
2020-02-04 11:44:10 -08:00
John Blum
a6cf984438 Prepare next development iteration.
Set Spring Framework version to 5.2.4.BUILD-SNAPSHOT.

Set Spring Data Commons version to 2.2.5.BUILD-SNAPSHOT.

Set Spring Data for Apache Geode and Pivotal GemFire version to 2.2.5.BUILD-SNAPSHOT.

Set Spring Data Release Train version to Moore-BUILD-SNAPSHOT.

Set Spring Session version to 2.2.1.BUILD-SNAPSHOT.

Set Spring Session BOM version to Corn-BUILD-SNAPSHOT.

Set Spring Test for Apache Geode and Pivotal GemFire version to 0.0.13.BUILD-SNAPSHOT.

Upgrade to Pivotal GemFire 9.8.6.

Set version to 2.2.3.BUILD-SNAPSHOT.
2020-01-23 21:11:17 -08:00
John Blum
2ddd015b41 Release 2.2.2.RELEASE. 2020-01-23 20:58:43 -08:00
John Blum
17c131876f Set Spring Session BOM version to Corn-RELEASE.
Set Spring Session core version to 2.2.0.RELEASE.
2020-01-23 20:45:43 -08:00
John Blum
faaf6f00ad Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.12.RELEASE. 2020-01-23 20:44:25 -08:00
John Blum
be951c801d Upgrade to Spring Data Release Train Moore-SR4.
Upgrade to Spring Data Commons 2.2.4.RELEASE.

Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.2.4.RELEASE.
2020-01-23 20:43:34 -08:00
John Blum
4fc0b709ee Upgrade to Spring Boot 2.2.4.RELEASE. 2020-01-23 20:41:58 -08:00
John Blum
ec56e1b917 Upgrade to Spring Framework 5.2.3.RELEASE. 2020-01-23 20:41:41 -08:00
John Blum
fbac8b17db Prepare next development iteration.
Set version to 2.2.2.BUILD-SNAPSHOT.

Set Spring Session version to 2.2.1.BUILD-SNAPSHOT.

Set Spring Session BOM version to Corn-BUILD-SNAPSHOT.
2019-12-11 15:19:06 -08:00
John Blum
07fc9a94fb Release 2.2.1.RELEASE. 2019-12-11 15:04:15 -08:00
John Blum
ae76e589b2 Disable Spring Data Release Train version override. 2019-12-11 14:22:02 -08:00
John Blum
26bc0886ae Set Spring Session version to 2.2.0.RELEASE.
Set Spring Session BOM version to Corn-RELEASE.
2019-12-11 14:20:46 -08:00
John Blum
6675cf9cb8 Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.11.RELEASE. 2019-12-11 14:19:00 -08:00
John Blum
1795c1077a Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.2.3.RELEASE.
Upgrade to Spring Data Commons 2.2.3.RELEASE.

Upgrade to Spring Data Release Train Moore-SR3.
2019-12-11 14:18:28 -08:00
John Blum
20f856b067 Upgrade to Spring Boot 2.2.2.RELEASE. 2019-12-11 14:17:12 -08:00
John Blum
94a2792dce Upgrade to Spring Framework 5.2.2.RELEASE. 2019-12-11 14:16:37 -08:00
John Blum
07512779e7 Separate assertions between instanceof check and hasDelta check. 2019-12-02 16:27:35 -08:00
John Blum
58689388c2 Add integration test for IndexMaintenanceException caused by IMQException caused by PdxSerializationException ultimately caused by ClassNotFoundException on Session object updates.
Adds additional integration test covering the situation where users add application domain objects to the Session as Session Attribute values and a ClassNotFoundExcepiton occurs on the server during an Index Maintenance Operation when the Session is updated and the /ClusteredSpringSessions Region contains an OQL RANGE/FUNCTIONAL Index for 'principalName'.

Resolves gh-45.

Resolves gh-47.
2019-11-20 18:46:42 -08:00
John Blum
85b147f9b2 Modify PdxSerializableSessionSerializer to mark the identity field of the serialized Session object.
Resolves gh-47.
2019-11-20 18:43:21 -08:00
John Blum
b65666f6b3 Create the 'principalNameIndex' OQL Index on the /ClusteredSpringSessions Region for testing purposes. 2019-11-20 18:42:32 -08:00
John Blum
512b352ac2 Remove unnecessary SuppressWarnings annotation on the writeProcessControlFile(..) method.
Format source code.
2019-11-20 18:41:51 -08:00
John Blum
613cd7612f Add Log4j and SLF4J logging libraries to the test runtime classpath. 2019-11-20 18:40:31 -08:00
John Blum
72b257abb3 Add assertion asserting that the 'principalNameIndex' OQL Index is a FUNCTIONAL/RANGE Index and not a HASH Index.
Resolves gh-45.
2019-11-20 16:02:36 -08:00
John Blum
c0e778cc9a Rename GemfireHttpSessionConfigurationTests to GemFireHttpSessionConfigurationUnitTests. 2019-11-20 14:32:44 -08:00
John Blum
6778cd0953 Add support to disable OQL Indexes created by Spring Session by default.
Resolves gh-46.
2019-11-20 14:25:29 -08:00
John Blum
b82a43d625 Convert all Spring Session HASH Indexes to FUNCTION/RANGE Indexes.
Resolves gh-45.
2019-11-20 13:51:18 -08:00
John Blum
02c9153f02 Remove unnecessary 'throws Exception' clauses.
Make GemfireOperationsAccesor a static inner abstract class.

Format source code.
2019-11-20 13:51:18 -08:00
John Blum
474a9d473e Replace the deprecated Mockito.verifyZeroInteractions(..) with Mockito.verifyNoInteractions(..).
Optimize imports.
2019-11-20 13:51:18 -08:00
John Blum
6825fb34d2 Apply SuppressWarnings annotation to methods appropriately. 2019-11-20 13:51:18 -08:00
John Blum
5f237f7fb5 Format source code; optimize imports. 2019-11-20 13:51:18 -08:00
John Blum
6f8b2775c9 Upgrade to Gradle 5.6.4. 2019-11-20 13:51:18 -08:00
John Blum
2c4c3b918e Override Spring Data Release Train version and set to Moore-SR2. 2019-11-20 13:51:18 -08:00
John Blum
136c2d63a0 Update Spring Dependencies.
Upgrade to Spring Framework 5.2.1.RELEASE.

Upgrade to Spring Boot 2.2.2.BUILD-SNAPSHOT.

Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.2.2.RELEASE.

Upgrade to Spring Data Release Train Moore-SR2.

Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.10.RELEASE.
2019-11-20 11:42:08 -08:00
John Blum
294f98aec4 Upgrade to Apache Geode 1.9.2. 2019-11-20 11:40:35 -08:00
John Blum
0db4d64ca4 Prepare next development iteration. 2019-10-15 18:42:05 -07:00
John Blum
194bd19021 Release 2.2.0.RELEASE. 2019-10-15 18:31:18 -07:00
John Blum
798e61a929 Upgrade to Spring Session 2.2.0.RELEASE. 2019-10-15 18:10:16 -07:00
John Blum
c504388ae5 Disable the Spring Framework and Spring Data 'version' property overrides. 2019-10-01 20:18:24 -07:00
John Blum
2505b4da6e Prepare next development iteration.
Set Spring Boot version to 2.2.0.BUILD-SNAPSHOT.

Set Spring Session version to 2.2.0.BUILD-SNAPSHOT.

Set version to 2.2.0.BUILD-SNAPSHOT.
2019-10-01 20:07:31 -07:00
John Blum
225ec38b27 Release 2.2.0.RC1. 2019-10-01 19:58:21 -07:00
John Blum
04c62a712c Override Spring Boot 2.2.0.M6's dependency management version of Spring Data and set to 2.2.0.RELEASE. 2019-10-01 19:15:09 -07:00
John Blum
9cea166388 Override Spring Boot 2.2.0.M6's dependency management version of Spring Framework and set to 5.2.0.RELEASE. 2019-10-01 19:15:09 -07:00