229 Commits

Author SHA1 Message Date
John Blum
345194c40e Declare Gradle Portal Plugin Repository. 2020-11-17 19:51:56 -08:00
John Blum
b04fa06412 Edit Javadoc of AbstractSession. 2020-11-17 19:50:45 -08:00
John Blum
93fff96242 Declare and configure repositories for all projects. 2020-11-17 19:49:51 -08:00
John Blum
acd4d5b1a9 Refactor all samples to use the build.GemFireServerPlugin Gradle Plugin. 2019-05-29 16:25:58 -07:00
John Blum
b10ee66483 Add support for both Spring Boot and non-Spring Boot (pure Java application), Apache Geode client/server samples. 2019-05-29 16:24:27 -07:00
John Blum
f38afeb2c3 Upgrade to Spring Session 2.0.10.RELEASE. 2019-05-29 14:57:11 -07:00
John Blum
71c6f40699 Upgrade to Spring Build Conventions Gradle Plugin 0.0.25.RELEASE. 2019-05-29 13:26:46 -07:00
John Blum
a2818331fc Set absolute path to 'java' EXE. 2019-05-29 12:38:20 -07:00
John Blum
8864809fa2 Configure environment with JDK (8) by setting JAVA_HOME.
Build on a Linux node.
2019-05-29 11:42:22 -07:00
John Blum
6aaaa7b7d4 Edit README.adoc.
Set doc and Javadoc URL version to 2.0.9.RELEASE.
2019-04-11 14:50:24 -07:00
John Blum
3d2b51206c Prepare next development iteration.
Set Spring Session version to 2.0.11.BUILD-SNAPSOT.

Set version to 2.0.10.BUILD-SNAPSHOT.
2019-04-11 13:34:08 -07:00
John Blum
47f9b20bc6 Release 2.0.9.RELEASE. 2019-04-11 13:24:39 -07:00
John Blum
5738dbe164 Edit README and set doc and Javadoc URL project version 2.0.8.RELEASE. 2019-04-11 13:13:47 -07:00
John Blum
d5d4fcc0d2 Add dependency management for ByteBuddy.
Set ByteBuddy version to 1.9.10 to match Mockito 2.27.0.
2019-04-11 13:09:47 -07:00
John Blum
bebb23dd2b Upgrade dependency versions.
Upgrade to Lombok 1.18.6.

Upgrade to Mockito 2.27.0.

Upgrade to Spring Framework 5.0.13.RELEASE.

Upgrade to Spring Boot 2.0.9.RELEASE.

Upgrade to Spring Data for Apache Geode 2.0.14.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.0.14.RELEASE.

Upgrade to Spring Data Release Train Kay-SR14.

Upgrade to Spring Session 2.0.10.RELEASE.

Upgrade to Spring Session BOM Apple-SR9.
2019-04-11 13:08:54 -07:00
Spring Operator
32b39d1b43 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-data-gemfire/docs/current/reference/html/ with 6 occurrences migrated to:
  https://docs.spring.io/spring-data-gemfire/docs/current/reference/html/ ([https](https://docs.spring.io/spring-data-gemfire/docs/current/reference/html/) result 200).
* [ ] 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 1 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 1 occurrences migrated to:
  https://geode.apache.org/docs/guide/ ([https](https://geode.apache.org/docs/guide/) result 200).
* [ ] http://geode.apache.org/docs/guide/12/developing/region_options/region_types.html with 8 occurrences migrated to:
  https://geode.apache.org/docs/guide/12/developing/region_options/region_types.html ([https](https://geode.apache.org/docs/guide/12/developing/region_options/region_types.html) result 200).
* [ ] http://geode.apache.org/docs/guide/12/prereq_and_install.html with 5 occurrences migrated to:
  https://geode.apache.org/docs/guide/12/prereq_and_install.html ([https](https://geode.apache.org/docs/guide/12/prereq_and_install.html) result 200).
* [ ] http://geode.apache.org/docs/guide/12/reference/topics/gemfire_properties.html with 3 occurrences migrated to:
  https://geode.apache.org/docs/guide/12/reference/topics/gemfire_properties.html ([https](https://geode.apache.org/docs/guide/12/reference/topics/gemfire_properties.html) result 200).
* [ ] http://geode.apache.org/docs/guide/12/tools_modules/gfsh/chapter_overview.html with 5 occurrences migrated to:
  https://geode.apache.org/docs/guide/12/tools_modules/gfsh/chapter_overview.html ([https](https://geode.apache.org/docs/guide/12/tools_modules/gfsh/chapter_overview.html) result 200).
* [ ] http://geode.apache.org/docs/guide/12/topologies_and_comm/cs_configuration/standard_client_server_deployment.html with 4 occurrences migrated to:
  https://geode.apache.org/docs/guide/12/topologies_and_comm/cs_configuration/standard_client_server_deployment.html ([https](https://geode.apache.org/docs/guide/12/topologies_and_comm/cs_configuration/standard_client_server_deployment.html) result 200).
* [ ] http://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/RegionShortcut.html with 4 occurrences migrated to:
  https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/RegionShortcut.html ([https](https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/RegionShortcut.html) result 200).
* [ ] http://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/client/ClientRegionShortcut.html with 4 occurrences migrated to:
  https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/client/ClientRegionShortcut.html ([https](https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/client/ClientRegionShortcut.html) 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 2 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 2 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 1 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://java.sun.com/jsp/jstl/core with 4 occurrences
* http://localhost with 4 occurrences
* http://localhost:%s with 1 occurrences
* http://localhost:8080/ with 10 occurrences
* http://localhost:8080/counts with 2 occurrences
* http://www.w3.org/1999/xhtml with 2 occurrences
* http://www.webjars.org/tags with 4 occurrences

Resolves gh-35.
2019-04-04 16:52:24 -07:00
Spring Operator
0139d8f1e1 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://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://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 6 occurrences

Resolves gh-33.
2019-04-04 16:47:40 -07:00
John Blum
bb64d280d1 Fix syntax error. 2019-03-18 18:32:40 -07:00
Spring Operator
281907a6bd Source and Documentation file 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 98 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-26.
2019-03-18 18:27:49 -07:00
Spring Operator
c13e37a465 Gradle build file 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://docs.spring.io/spring-data-geode/docs/current/api/ (301) with 1 occurrences 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 switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://docs.spring.io/spring-data/commons/docs/current/api/index.html?index-all.html with 1 occurrences 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/ with 1 occurrences 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/ with 1 occurrences 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 with 1 occurrences 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-28.
2019-03-18 18:27:26 -07:00
John Blum
07e9206de3 Prepare next development iteration. 2019-01-30 18:59:06 -08:00
John Blum
a91e9977ff Release 2.0.8.RELEASE. 2019-01-30 18:44:01 -08:00
John Blum
8171b7eeb8 Upgrade to Spring Framework 5.0.12.RELEASE.
Upgrade to Spring Boot 2.0.8.RELEASE.

Upgrade to Spring Data for Apache Geode 2.0.13.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.0.13.RELEASE.

Upgrade to Spring Data Release Train Kay-SR13.

Upgrade to Spring Session 2.0.9.RELEASE.

Upgrade to Spring Session BOM Apple-SR8.
2019-01-30 18:36:34 -08:00
John Blum
9c36ef28dd Fix failing tests. 2019-01-30 18:36:34 -08:00
John Blum
fcba379f04 Comment out 'groovy.version' extension declaration. 2019-01-29 15:42:26 -08:00
John Blum
6d7438c822 Upgrade to Spring Build Conventions Gradle Plugin 0.0.23.RELEASE. 2019-01-16 10:05:24 -08:00
John Blum
6871bcba07 Rename the configurePom(..) method to customizePom(..). 2019-01-16 10:02:11 -08:00
John Blum
c67c461813 Edit the module generated Maven POM file to set the project lead developer in the POM developers section. 2019-01-16 10:01:54 -08:00
John Blum
8b8ce78399 Add Gradle build script extension to set the generated Maven POM file project lead developer in the POM developers section. 2019-01-16 10:00:53 -08:00
John Blum
5fdc7837b3 Switch from Log4j to SLF4J.
Resolves gh-18.
2019-01-16 09:57:34 -08:00
John Blum
3682304242 Fix bug in DeltaCapableGemFireSessionAttriutes.newSessionAttributes(lock:Object) not properly passing the lock to the new GemFireSessionAttributes instance. 2019-01-16 09:55:59 -08:00
John Blum
19b959baec Polish.
Resolves gh-21.
2019-01-16 09:22:46 -08:00
John Blum
1a3caeafe7 Simplify isProxy(:Region) method. 2019-01-16 09:03:42 -08:00
John Blum
59b58727b0 Introduce usingDataSerialization boolean flag fixing bug when DataSerializer is not the DataSerializableSessionSerializer provided by SSDG.
Rename exposeSpringSessionGemFireConfigurationAsProperties() to exposeSpringSessionGemFireConfiguration().
2019-01-16 09:02:51 -08:00
John Blum
6093e48fea Polish. 2019-01-15 17:48:48 -08:00
John Blum
e56541949f Replace Optional.ofNullable(:Session) with a conditional and a new, private isNonNullAndDirty(:Session) method. 2019-01-15 17:48:40 -08:00
John Blum
8e1f5a58f6 Guard against null values for Session.lastAccessedTime. 2019-01-15 17:47:29 -08:00
John Blum
8e54398309 Refactor and simplify non-dirty Session handling.
Resolves gh-16.
2019-01-15 17:46:02 -08:00
John Blum
6570c2d550 Change Pivotal GemFire log-level to error. 2019-01-15 17:35:57 -08:00
John Blum
b7db218917 Format source code. 2019-01-15 17:35:42 -08:00
John Blum
8f0b48d605 Rename tearDow() to tearDown(). 2019-01-15 17:35:30 -08:00
John Blum
fd651f03a6 Annotate configuration methods and parameters with Spring's @NonNull and @Nullable annotations to make the contract of the methods apparent.
Edit Javadoc.
2019-01-15 17:34:37 -08:00
John Blum
4608cd92b4 Change all configuration based, JavaBean property accessor methods (getters) to public. 2019-01-15 17:34:11 -08:00
John Blum
74df111bb1 Implement non-behavior changing fixes.
Format source code.

Edit Javadoc.
2019-01-15 17:30:17 -08:00
John Blum
dc12a8ebde Edit Javadoc. 2019-01-15 17:30:03 -08:00
John Blum
7f269ef6db Refer to Spring Data for Apache Geode API Javadoc.
Parameterize version in Spring Session core API Javadoc URL.
2019-01-15 17:25:44 -08:00
John Blum
4118646eda Prepare next development iteration. 2018-11-13 22:47:42 -08:00
John Blum
97792da60a Release 2.0.7.RELEASE. 2018-11-13 22:36:58 -08:00
John Blum
6f5289b4c1 Extend o.s.session.data.gemfire.AbstractGemFireIntegrationTests. 2018-11-08 00:47:00 -08:00
John Blum
0629fdc1b3 Remove Mockito Spy on SessionRepository in AbstractGemFireIntegrationTests.
Add Mockito Spy on GemFireOperationsSessionRepository reference maintained by the AbstractConcurrentSessionOperationsTestCase class.
2018-11-08 00:17:07 -08:00