Commit Graph

347 Commits

Author SHA1 Message Date
John Blum
ffd2e08301 Upgrade to Gradle 5.4.1. 2019-05-05 15:23:44 -07:00
John Blum
27f3f1a63b Prepare next development iteration.
Set Spring Session core version to 2.2.0.BUILD-SNAPSHOT.

Set version to 2.2.0.BUILD-SNAPSTHOT.

Edit README and set Doc and Javadoc URL link versions to 2.2.0.M1.
2019-04-12 12:33:23 -07:00
John Blum
9662036891 Release 2.2.0.M1. 2019-04-12 12:24:43 -07:00
John Blum
797defe5a1 Update dependency versions.
Upgrade to Apache Geode 1.8.0.

Upgrade to Pivotal GemFire 9.7.0.

Upgrade to Spring Framework 5.2.0.M1.

Upgrade to Spring Data Commons 2.2.0.M3.

Upgrade to Spring Data for Apache Geode 2.2.0.M3.

Upgrade to Spring Data for Pivotal GemFire 2.2.0.M3.

Upgrade to Spring Data Release Train Moore-M3.

Upgrade to Spring Session 2.2.0.M1.
2019-04-12 12:17:33 -07:00
John Blum
e2d7cdc633 Upgrade to Spring Build Conventions Gradle Plugin 0.0.25.RELEASE. 2019-04-04 17:21:23 -07:00
Spring Operator
4138484793 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://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/filter/DelegatingFilterProxy.html with 2 occurrences migrated to:
  https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/filter/DelegatingFilterProxy.html ([https](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/filter/DelegatingFilterProxy.html) result 200).
* [ ] http://geode.apache.org with 2 occurrences migrated to:
  https://geode.apache.org ([https](https://geode.apache.org) result 200).
* [ ] http://geode.apache.org/ with 1 occurrences migrated to:
  https://geode.apache.org/ ([https](https://geode.apache.org/) result 200).
* [ ] http://geode.apache.org/docs/guide/ with 2 occurrences migrated to:
  https://geode.apache.org/docs/guide/ ([https](https://geode.apache.org/docs/guide/) result 200).
* [ ] 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://projects.spring.io/spring-session/ with 1 occurrences migrated to:
  https://projects.spring.io/spring-session/ ([https](https://projects.spring.io/spring-session/) result 200).
* [ ] http://stackoverflow.com with 1 occurrences migrated to:
  https://stackoverflow.com ([https](https://stackoverflow.com) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-session with 1 occurrences migrated to:
  https://stackoverflow.com/questions/tagged/spring-session ([https](https://stackoverflow.com/questions/tagged/spring-session) result 200).
* [ ] http://stackoverflow.com/tags/spring-session with 1 occurrences migrated to:
  https://stackoverflow.com/tags/spring-session ([https](https://stackoverflow.com/tags/spring-session) result 200).
* [ ] http://www.thymeleaf.org with 3 occurrences migrated to:
  https://www.thymeleaf.org ([https](https://www.thymeleaf.org) result 200).
* [ ] http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-3.dtd with 3 occurrences migrated to:
  https://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-3.dtd ([https](https://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-3.dtd) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://geode.apache.org/releases/latest/javadoc with 2 occurrences migrated to:
  https://geode.apache.org/releases/latest/javadoc ([https](https://geode.apache.org/releases/latest/javadoc) result 301).
* [ ] http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ with 2 occurrences migrated to:
  https://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/) result 302).

These URLs were intentionally ignored.

* http://geode.apache.org/schema/cache with 2 occurrences
* http://java.sun.com/jsp/jstl/core with 4 occurrences
* http://localhost with 4 occurrences
* http://localhost:%s with 1 occurrences
* http://localhost:8080 with 1 occurrences
* http://localhost:8080/ with 6 occurrences
* http://localhost:8080/counts with 2 occurrences
* http://localhost:8080/ping with 1 occurrences
* http://www.w3.org/1999/xhtml with 3 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 1 occurrences
* http://www.webjars.org/tags with 4 occurrences

Resolves gh-30.
2019-04-04 17:21:23 -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
041f1a6947 Upgrade to Spring Framework 5.2.0.BUILD-SNAPSHOT.
Upgrade to Spring Boot 2.2.0.M1.

Upgrade to Spring Data Commons 2.2.0.M2.

Upgrade to Spring Data for Apache Geode 2.2.0.M2.

Upgrade to Spring Data for Pivotal GemFire 2.2.0.M2.

Upgrade to Spring Data Release Train Moore-M2.

Upgrade to Spring Session 2.2.0.BUILD-SNAPSHOT.

Upgrade to Spring Session BOM Corn-BUILD-SNAPSHOT.
2019-04-04 17:21:23 -07:00
John Blum
95cfcf2f68 Set version to 2.2.0.BUILD-SNAPSHOT. 2019-04-04 17:21:23 -07:00
John Blum
a6611244b4 Fix Javadoc URLs.
Both spring-data-commons and spring-data-geode links were incorrect.
2019-04-04 17:21:23 -07:00
Spring Operator
7d4102d19f Switch HTTP URLs to HTTPS.
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://docs.spring.io/spring-data-geode/docs/current/api/ (301) migrated to:
  https://docs.spring.io/spring-data-geode/docs/current/api/ ([https](https://docs.spring.io/spring-data-geode/docs/current/api/) result 404).

These URLs were fixed successfully.

* http://docs.spring.io/spring-data/commons/docs/current/api/index.html?index-all.html migrated to:
  https://docs.spring.io/spring-data/commons/docs/current/api/index.html?index-all.html ([https](https://docs.spring.io/spring-data/commons/docs/current/api/index.html?index-all.html) result 200).
* http://docs.spring.io/spring-session/docs/ migrated to:
  https://docs.spring.io/spring-session/docs/ ([https](https://docs.spring.io/spring-session/docs/) result 200).
* http://docs.spring.io/spring/docs/current/javadoc-api/ migrated to:
  https://docs.spring.io/spring/docs/current/javadoc-api/ ([https](https://docs.spring.io/spring/docs/current/javadoc-api/) result 200).
* http://geode.apache.org/releases/latest/javadoc/index.html migrated to:
  https://geode.apache.org/releases/latest/javadoc/index.html ([https](https://geode.apache.org/releases/latest/javadoc/index.html) result 200).

Resolves gh-25.
2019-04-04 17:21:23 -07:00
John Blum
d34f92ae9b Upgrade to Spring Session 2.1.4.RELEASE.
Upgrade to Spring Session BOM Bean-SR3.
2019-02-14 10:42:05 -08: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
d2d6394c01 Downgrade (revert) to Spring Session 2.1.3.RELEASE (temporarily).
Currently, Spring Session 2.1.4.RELEASE is unresolvable from Maven Central.
2019-02-13 15:31:09 -08:00
John Blum
80af925872 Upgrade to Spring Build Conventions Gradle Plugin 0.0.23.RELEASE. 2019-02-13 15:24:58 -08:00
John Blum
10506077d8 Upgrade to Spring Framework 5.1.5.RELEASE.
Upgrade to Spring Data Commons 2.1.5.RELEASE.

Upgrade to Spring Data for Apache Geode 2.1.5.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.5.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR5.

Upgrade to Spring Session 2.1.4.RELEASE.

Upgrade to Spring Session BOM Bean-SR2.
2019-02-13 15:23:37 -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
320525b5f2 Upgrade to Spring Framework 5.1.4.RELEASE.
Upgrade to Spring Boot 2.1.2.RELEASE.

Upgrade to Spring Data Commons 2.1.4.RELEASE.

Upgrade to Spring Data for Apache Geode 2.1.4.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.4.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR4.

Upgrade to Spring Session 2.1.3.RELEASE.
2019-01-30 19:27:47 -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
6b5bd4f640 Update README.adoc with 2.1.2.RELEASE details and documentation references. 2018-12-21 20:07:51 -08:00
John Blum
349fc837c4 Prepare next development iteration. 2018-12-21 19:55:30 -08:00
John Blum
3003793ccc Release 2.1.2.RELEASE. 2018-12-21 19:24:02 -08:00
John Blum
6240560eb3 Rename the configurePom(..) method to customizePom(..). 2018-12-21 18:29:23 -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
9a5f565e8e Add Gradle build script extension to set the generated Maven POM file project lead developer in the POM developers section. 2018-12-21 18:07:39 -08:00
John Blum
44c7ccbdab Upgrade to Spring Framework 5.1.3.RELEASE.
Upgrade to Spring Boot 2.1.1.RELEASE.

Upgrade to Spring Data Commons 2.1.3.RELEASE.

Upgrade to Spring Data for Apache Geode 2.1.3.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.1.3.RELEASE.

Upgrade to Spring Data Release Train Lovelace-SR3.

Upgrade to Spring Test for Apache Geode/Pivotal GemFire 0.0.1.RC1.

Set version of Spring Session to 2.1.2.RELEASE.

Upgrade to Spring Session BOM Bean-SR1.
2018-12-19 17:58:25 -08:00
John Blum
f1bd5bd2f3 Edit README.adoc. 2018-12-19 16:31:16 -08:00
John Blum
de15a186fd Add documentation describing the IsDirtyPredicate strategy interface.
Resolves gh-17.
2018-12-19 14:41:27 -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
b077f66856 Update README describing SSDG custom, enterprise features. 2018-12-19 02:12:56 -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
f90ca10bd8 Upgrade to Spring Build Conventions Gradle Plugin 0.0.22.RELEASE. 2018-12-17 16:42:40 -08:00
John Blum
c03cfe41f0 Upgrade to Gradle Wrapper 4.10.3. 2018-12-17 16:42:01 -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