John Blum
5ef2c7963d
Optimize imports.
2020-01-23 21:47:25 -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
258d7506b0
Add additional assertion to the notUsingDataSerializationWhenPdxConfigured() test case method asserting the SessionSerializer bean name.
2019-08-13 16:12:56 -07:00
John Blum
23ef807011
Format source code.
2019-08-13 16:12:01 -07:00
John Blum
93dc91ffb9
Fix Javadoc.
2019-06-14 22:10:08 -07:00
John Blum
8dbf0fd35d
Add support for SessionChangedEvents.
...
Resolves gh-39.
2019-06-14 22:02:43 -07:00
John Blum
54fe8a3c75
Add additional Unit Tests.
...
Resolves gh-38.
2019-06-14 22:02:43 -07:00
John Blum
b09b988978
Add support to disable client subscriptions and register interest.
...
Resolves gh-38.
2019-06-14 22:02:43 -07:00
John Blum
46be861dcf
Correct the forked GemFire/Geode Server classpath based on updated 1.9 transitive dependencies and GemFire/Geode module changes.
2019-05-22 19:24:40 -07:00
John Blum
5a2aa14548
Optimize imports.
2019-05-22 19:08:11 -07:00
John Blum
cad2882f75
Add @EnableLocator annotation to the GemFireServerConfiguration class to avoid the IllegalStateException thrown by Apache Geode when registering interests and no Locators are configured and mcast-port is set to 0.
2019-05-05 17:07:54 -07:00
John Blum
befc73b712
Add Lombok generated configuration meta-data file.
2019-05-05 15:32:57 -07:00
John Blum
147006ce07
Add FreeFair Lombok Gradle Plugin 3.2.1.
2019-05-05 15:24:15 -07:00
Spring Operator
033bf4791b
URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* http://www.puppycrawl.com/dtds/configuration_1_3.dtd (404) with 1 occurrences migrated to:
https://www.puppycrawl.com/dtds/configuration_1_3.dtd ([https](https://www.puppycrawl.com/dtds/configuration_1_3.dtd ) result 404).
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://geode.apache.org/schema/cache/cache-1.0.xsd with 1 occurrences migrated to:
https://geode.apache.org/schema/cache/cache-1.0.xsd ([https](https://geode.apache.org/schema/cache/cache-1.0.xsd ) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd ) result 200).
* http://www.springframework.org/schema/context/spring-context.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd ) result 200).
* http://www.springframework.org/schema/gemfire/spring-gemfire.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/gemfire/spring-gemfire.xsd ([https](https://www.springframework.org/schema/gemfire/spring-gemfire.xsd ) result 200).
* http://www.springframework.org/schema/util/spring-util.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/util/spring-util.xsd ([https](https://www.springframework.org/schema/util/spring-util.xsd ) result 200).
* http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd with 2 occurrences migrated to:
https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd ([https](https://java.sun.com/xml/ns/javaee/web-app_3_0.xsd ) result 302).
These URLs were intentionally ignored.
* http://geode.apache.org/schema/cache with 2 occurrences
* http://java.sun.com/xml/ns/javaee with 4 occurrences
* http://www.springframework.org/schema/beans with 8 occurrences
* http://www.springframework.org/schema/context with 6 occurrences
* http://www.springframework.org/schema/gemfire with 8 occurrences
* http://www.springframework.org/schema/p with 4 occurrences
* http://www.springframework.org/schema/util with 8 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 7 occurrences
Resolves gh29.
2019-04-04 17:21:23 -07:00
Spring Operator
779bf6de61
URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://www.apache.org/licenses/LICENSE-2.0 with 134 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.html with 2 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html ) result 200).
Resolves gh-27.
2019-04-04 17:21:23 -07:00
John Blum
1036b29ea1
Add class member, static setup method to clear the 'usingDataSerialization' framework state.
2019-02-13 15:53:52 -08:00
John Blum
5f4a8142f1
Add integration tests testing the serialization of a Session with GemFire Data Serialization along with using Java Serialization to serialize the contents of the Session.
2019-02-13 15:16:24 -08:00
John Blum
c70fd8619d
Move SessionSerializationWithDataSerializationDeltasAndPdxIntegrationTests to the org.springframework.session.data.gemfire.serialization.data package.
2019-02-13 15:16:24 -08:00
John Blum
8551a62813
Add local variable reference to the bean name array in isDataSerializerSessionSerializerAdapterPresent().
2019-02-12 17:17:54 -08:00
John Blum
f92d264c65
Correct IllegalArgumentException message.
2019-01-30 19:23:36 -08:00
John Blum
4b8047123c
Update Copyright to 2019.
...
Resolve gh-20.
2019-01-15 07:49:23 -08:00
John Blum
93f40453e7
Introduce private prepare(:Session) method to configure, register interests, commit and touch the Session.
...
Edit Javadoc.
2019-01-14 11:03:03 -08:00
John Blum
4bd752e43b
Simplify null-check in getApplicationContext().
...
Edit Javadoc.
2019-01-14 11:01:52 -08:00
John Blum
9ac0761219
Edit the module generated Maven POM file to set the project lead developer in the POM developers section.
2018-12-21 18:09:22 -08:00
John Blum
dc6d542c22
Add integration tests asserting the proper outcome of configuring and applying a custom IsDirtyPredicate.
...
Add additional unit tests covering the proper behavior of the DeltaAwareDirtyPredicate with non-Delta objects.
Resolves gh-17.
2018-12-19 02:18:23 -08:00
John Blum
23da21d8fe
Add generic signature to getSessionRepository().
...
Add commit(:Session) method.
2018-12-19 02:17:27 -08:00
John Blum
71837eac1f
Switch from Log4j to SLF4J.
...
Resolves gh-18.
2018-12-17 21:05:25 -08:00
John Blum
ba678e8b41
Add additional Unit Tests using Always Dirty, Never Dirty and a custom IsDirtyPredicate strategy interface.
...
Add additional Unit Tests for org.apache.geode.Delta implementing objects.
Resolves gh-17.
2018-12-17 20:53:16 -08:00
John Blum
deb774f94f
Rename getFullyQualifiedRegionName() to getSessionsRegionName().
2018-12-17 18:45:44 -08:00
John Blum
8e50d365f6
Apply the configured IsDirtyPredicate strategy interface implementation to appliation domain objects stored in Session Attributes.
...
Resolves gh-17.
2018-12-17 18:40:17 -08:00
John Blum
545a9fbff1
Enable the configuration of an IsDirtyPredicate strategy interface implementation.
...
Resolves gh-17.
2018-12-17 18:37:40 -08:00
John Blum
ad312984bc
Fix bug in DeltaCapableGemFireSessionAttriutes.newSessionAttributes(lock:Object) not properly passing the lock to the new GemFireSessionAttributes instance.
2018-12-17 13:52:05 -08:00
John Blum
96632a0502
Add an IsDirtyPredicate strategy interface for determining when users application domain objects are dirty in a DataSerialization, Delta capable Session configuration.
...
Resolves gh-17.
2018-12-16 13:40:52 -08:00
John Blum
f8c8e5d912
Simplify delta recording in DeltaCapableGemFireSessionAttributes.
...
Existing tests cover the changes.
Resolves gh-19.
2018-12-14 03:28:16 -08:00
John Blum
53ccac533e
Polish.
...
Resolves gh-21.
2018-12-14 03:03:10 -08:00
John Blum
7a448183c0
Change the default value for register interest receive values to true, matching the GemFire/Geode default.
...
Resolves gh-21.
2018-12-14 02:55:41 -08:00
John Blum
8b8723f87c
Re-implement GemFire/Geode cache entry event to Spring Session event to HttpSessionListener event handling.
...
Resolves gh-21.
2018-12-14 01:08:33 -08:00