47 Commits

Author SHA1 Message Date
John Blum
36ec13bfe9 Declare Gradle Portal Plugin Repository. 2020-11-17 19:41:04 -08:00
John Blum
1243719b48 Update Copyright to 2020. 2020-03-03 01:21:13 +01:00
Spring Operator
f1a998b13c 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 gh-34.
2019-04-04 16:35:15 -07:00
Spring Operator
eaf142b422 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-36.
2019-04-04 16:35:15 -07:00
Spring Operator
86f56f66e3 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 16:35:28 -07:00
John Blum
4b8047123c Update Copyright to 2019.
Resolve gh-20.
2019-01-15 07:49:23 -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
7426a0c92e Update Copyright to 2018. 2018-11-08 00:28:51 -08: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
d5b1769157 Remove the 'testCompile seleniumDependencies' dependency declaration. 2018-08-24 21:29:41 -07:00
John Blum
bc6af587a9 Correct Servlet declaration servlet-class name as 'sample.SessionServlet'. 2018-08-22 11:03:08 -07:00
John Blum
d856bce248 Re-organize all client/server sample code to separate client and server classes into client and server packages, respectively.
Rename sample.ServerConfig class to sample.server.GemFireServer and apply the GemFireServer Gradle Plugin.

Change all 'spring.session.data.gemfire.*' and 'spring.session.data.geode.*' properties to use the SDG property prefixed with 'spring.data.gemfire.*'.
2018-08-22 10:51:17 -07:00
John Blum
45a4caf14c Re-instate Spring Test for Apache Geode dependency.
Simplify the implementation of ClientServerReadyBeanPostProcessor by extending STDG's ClientServerIntegrationTestsSupport.
2018-08-21 22:11:43 -07:00
John Blum
226ec83c0e Extract doPause(duration:long):boolean method from waitOn(:Condition).
Add constants for wait duration and default host used in the new Socket.
2018-08-21 18:58:58 -07:00
John Blum
1ac8aca9a7 Set maxInactiveIntervalInSeconds to 30 causing (HTTP) Session expiration after 30 seconds. 2018-08-20 23:16:39 -07:00
John Blum
017eebafcd Polish. 2018-08-20 22:26:51 -07:00
John Blum
e1b5b1c5b5 Edit and clean up the Sample User Guides. 2018-08-20 18:34:46 -07:00
John Blum
26c7b583bf Fix sample XML client-server integration tests ClassNotFoundException on the o.s.session.config.annotation.web.http.SpringHttpSessionConfiguration class. 2018-08-17 00:34:19 -07:00
John Blum
c80536d11b Polish. 2018-08-16 18:04:41 -07:00
John Blum
c95f5aeddd Remove unnecessary ide.gradle file and remove 'apply from: IDE_GRADLE' plugin declarations from Gradle module build files.
All IDE configuration logic is handle by the Spring Build Conventions Gradle project.
2018-08-16 17:55:12 -07:00
John Blum
4708d9bf6d Correct 'spring.data.gemfire.cache.server.host' property; remove extra dot between 'server' and 'host'. 2018-08-15 14:20:18 -07:00
John Blum
1454a81ade Refactor all samples to use the Spring Test for Apache Geode project.
Add appropriate synchronization/coordination between the client and server.
2018-08-15 01:16:42 -07:00
John Blum
44a9f5c535 Remove embedded Manager configuration. 2018-08-15 01:04:48 -07:00
John Blum
38309e97a8 Refactor the Spring Session JavaConfig Sample to use Spring Data for Apache Geode Test. 2018-08-15 01:04:47 -07:00
John Blum
55c19ca849 Refactor the Spring Session Boot Sample with Scoped Proxies to use Spring Data for Apache Geode Test. 2018-08-15 01:04:47 -07:00
John Blum
6ad1813ddf Refactor Spring Session Boot Sample to use Spring Data for Apache Geode Test.
Remove the sample.client.IntegrationTestConfiugration class.

Refactor sample.server.GemFireServer class to extend ClientServerIntegrationTestsConfiguration.

Refactor sample.client.Application.ClientCacheConfiguration class to import SubscriptionEnabledClientServerIntegrationTestsConfiguration class.

Refactor integrationTest.doFirst to set the 'spring.data.gemfire.cache.server.port' property.

Refactor integrationTest.onLast to call runGemFireServer.process?.destroy().

Add 'spring.data.gemfire.cache.server.port' property to the System properties when forking & launching the GemFire server in runGemFireServer.doLast.
2018-08-15 01:04:38 -07:00
John Blum
d6be6dacc4 Switch to Spring Boot Dependencies BOM for complete project dependency management. 2018-06-19 22:19:48 -07:00
John Blum
d7c9038e23 Remove Spring IO Platform Dependency Management.
Declare Spring's Dependency Management Gradle Plugin to manage project dependency versions.
2018-06-19 22:19:47 -07:00
John Blum
10e7f532b2 Changing branding from Geode to Apache Geode.
Change branding from GemFire to Pivotal GemFire.

Change branding from Spring Data Geode to Spring Data for Apache Geode.

Change branding from Spring Data GemFire to Spring Data for Pivotal GemFire.

Change branding from Sppring Session Data GemFire/Geode to Spring Session for Pivotal GemFire and Apache Geode, respectively.
2018-05-09 13:58:44 -07:00
John Blum
f44ae0c586 Change Apache Geode/Pivotal GemFire 'log-level' to 'error'.
Fix compiler warnings.

Fix Javadoc warnings.
2018-04-30 18:11:16 -07:00
John Blum
649307d4d2 Fix the mainClassName property definition in build.gradle.
Exclude org.springframework.boot:spring-boot-starter-logging to avoid conflicts with Apache Geode Log4J logging.
2017-11-28 23:23:09 -08:00
John Blum
05f3baee33 Complete final edits on the new Spring Boot with Apache Geode Sample using Spring Scoped Proxy Beans.
Resolves Issue #3.
2017-11-07 11:13:33 -08:00
John Blum
64245a24dc Disable the integration test goal.
Resolves Issue #3.
2017-11-06 20:47:36 -08:00
John Blum
f9afe72e66 Add source code Asciidoc tags for reference in the documentation (i.e. user guide).
Resolves Issue #3.
2017-11-06 20:47:22 -08:00
John Blum
f33f3f6a4b Add a Spring Boot with Spring Session Data Geode sample showing an application using 'session' and 'request' scoped proxy bean.
Resolves Issue #3.
2017-11-03 19:22:33 -07:00
John Blum
83e4e96400 Change cacheServerFactoryBean in the nested Application ClientCacheConfiguration class, clientCacheServerPortConfigurer bean definition to properly denote the ClientCacheFatoryBean.
Move the @SuppressWarnings("unused") declaration out of the documenation source code reference.
2017-11-03 16:38:41 -07:00
John Blum
64a7fec70b Add framework support for customizable serialization.
The new Serialization framework supports PDX Serialization as a possible configuration option for SSDG in addition to the already existing use of GemFire/Geode's DataSerialization framework.

Resolves Issue #2.
2017-10-05 13:10:21 -07:00
John Blum
04168ef1b3 Fixup documentation and samples. 2017-07-26 16:08:11 -07:00
John Blum
7517ba375d Adapt to API changes in Spring Data Geode Kay. 2017-07-20 13:45:37 -07:00
John Blum
69b6e3a2f1 Apply final polish and fixups to :spring-session-sample-boot-gemfire example and integration tests. 2017-06-07 21:33:17 -07:00
John Blum
6064dffe4a Polish along with debugging changes. 2017-06-07 20:37:37 -07:00
John Blum
415511aab2 Polish and fix up the :spring-session-sample-xml-gemfire-clientserver example module. 2017-06-07 09:45:48 -07:00
John Blum
ba773efe25 Polish Asciidoc documentation. 2017-06-07 08:43:01 -07:00
John Blum
9e53ae0910 Fix Selenium dependencies in :samples Gradle modules. 2017-06-07 01:12:01 -07:00
John Blum
492a51d120 Replace all Pivotal GemFire Java API base URL references with Apache Geode.
Replace all com.gemstone.gemfire.* package class references with org.apache.geode.*
2017-06-07 00:20:27 -07:00
John Blum
6b25500f09 Add gradle/ide.gradle file to mark src/integration-test/java sources as an IJ Test Sources Root. 2017-06-06 20:07:41 -07:00
Rob Winch
35e1ba929b Initial spirng-session-data-geode setup.
(cherry picked from commit c5a1ee021016d37dda5e5eb96320ee1be9869314)
Signed-off-by: John Blum <jblum@pivotal.io>
2017-06-06 16:00:46 -07:00