Commit Graph

370 Commits

Author SHA1 Message Date
John Blum
a64e8a2c98 Add test class tear down method to clear the 'spring.profiles.active' System property, if present. 2019-03-22 00:01:16 -07:00
John Blum
6aca93658e Add test case tear down method to remove the 'gemfire-ssl' PropertySource from the Environment. 2019-03-21 23:35:40 -07:00
John Blum
bddc080ce4 Add spring.boot.data.gemfire.security.ssl.keystore.name property set to a non-existing KeyStore filename. 2019-03-21 23:35:12 -07:00
John Blum
7f2795582d Declare @DirtiesContext annotation. 2019-03-21 22:30:57 -07:00
John Blum
1ec07c0dc1 Update changelog.
Include details for all development tasks in 1.0.0.M4.
2019-03-21 22:05:54 -07:00
Spring Operator
4dbd26c273 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/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 125 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 1 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-29.
2019-03-21 21:22:40 -07:00
Spring Operator
928d96e0f5 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://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/gemfire/v1 (ConnectTimeoutException) with 1 occurrences migrated to:
  https://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/gemfire/v1 ([https](https://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/gemfire/v1) result ConnectTimeoutException).
* [ ] http://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/pulse (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/pulse ([https](https://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/pulse) result ConnectTimeoutException).
* [ ] http://gemfire- (UnknownHostException) with 1 occurrences migrated to:
  https://gemfire- ([https](https://gemfire-) result UnknownHostException).
* [ ] http://skullbox:7070/v1/gemfire (UnknownHostException) with 1 occurrences migrated to:
  https://skullbox:7070/v1/gemfire ([https](https://skullbox:7070/v1/gemfire) result UnknownHostException).

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/ with 3 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/releases/latest/javadoc with 1 occurrences migrated to:
  https://geode.apache.org/releases/latest/javadoc ([https](https://geode.apache.org/releases/latest/javadoc) result 200).
* [ ] http://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/client/ClientCache.html with 1 occurrences migrated to:
  https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/client/ClientCache.html ([https](https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/client/ClientCache.html) result 200).
* [ ] http://projects.spring.io/spring-boot/ with 3 occurrences migrated to:
  https://projects.spring.io/spring-boot/ ([https](https://projects.spring.io/spring-boot/) result 200).
* [ ] http://projects.spring.io/spring-data-gemfire/ with 2 occurrences migrated to:
  https://projects.spring.io/spring-data-gemfire/ ([https](https://projects.spring.io/spring-data-gemfire/) result 200).
* [ ] http://shiro.apache.org/realm.html with 1 occurrences migrated to:
  https://shiro.apache.org/realm.html ([https](https://shiro.apache.org/realm.html) result 200).
* [ ] http://stackoverflow.com with 1 occurrences migrated to:
  https://stackoverflow.com ([https](https://stackoverflow.com) 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.slf4j.org/codes.html with 1 occurrences migrated to:
  https://www.slf4j.org/codes.html ([https](https://www.slf4j.org/codes.html) 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://docs.pivotal.io/p-cloud-cache/ with 1 occurrences migrated to:
  https://docs.pivotal.io/p-cloud-cache/ ([https](https://docs.pivotal.io/p-cloud-cache/) result 301).
* [ ] http://docs.spring.io/spring-data-gemfire/docs/current/reference/html/ with 1 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 301).
* [ ] http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ with 1 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 301).
* [ ] http://gemfire.docs.pivotal.io/ with 1 occurrences migrated to:
  https://gemfire.docs.pivotal.io/ ([https](https://gemfire.docs.pivotal.io/) result 302).

These URLs were intentionally ignored.

* http://localhost:%d/session/attribute with 1 occurrences
* http://localhost:7070/v1/gemfire with 1 occurrences

Resolves gh-28.
2019-03-21 21:11:53 -07:00
John Blum
a7c3bf2344 Extend o.s.d.g.tests.integration.IntegrationTestsSupport. 2019-03-21 20:36:03 -07:00
John Blum
802bc61227 Upgrade to Spring Session for Apache Geode / Pivotal GemFire 2.0.8.RELEASE. 2019-03-21 18:11:31 -07:00
John Blum
8da5755ed8 Update copyright to 2019.
Resolves gh-19.
2019-03-21 18:07:02 -07:00
John Blum
61fce40af9 Add configuration meta-data for Spring Session properties.
Resolves gh-14.
2019-03-21 17:49:56 -07:00
John Blum
4bdebc0bab Fix ordering. 2019-03-21 17:31:24 -07:00
John Blum
aeb7c0af88 Add JSON document containing additional Spring configuration meta-data.
Resolves gh-14.
2019-03-21 17:27:46 -07:00
John Blum
1bec99dfc7 Document the SBDG configuration processor and associated, provided (auto-configured) @ConfigurationProperties classes.
Resolves gh-14.
2019-03-21 11:45:44 -07:00
John Blum
75b7a50676 Edit Javadoc.
Resolves gh-14.
2019-03-21 09:47:03 -07:00
John Blum
285eac9cba Add integration tests testing the configuration of Spring Boot with Apache Geode / Pivotal GemFire using properties and @ConfigurationProperties classes.
Resolves gh-14.
2019-03-20 18:24:00 -07:00
John Blum
6e6b280e3b Add configuration processor to support auto-completion / content-assist of well-known Spring Session properties, especially when using Apache Geode or Pivotal GemFire as the Session state caching provider.
Resolves gh-14.
2019-03-19 14:40:09 -07:00
John Blum
82975c736d Remove 'default' Pool Properties accessor, which conflicts with the 'DEFAULT' Pool configuration.
Resolves gh-14.
2019-03-18 18:09:21 -07:00
John Blum
0c1ea8e925 Add configuration processor to support auto-completion / content-assist of well-known SDG properties.
Resolves gh-14.
2019-03-18 18:09:21 -07:00
Spring Operator
74bec269d9 Cleanup HTTP URLs to use 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-boot-data-geode/docs/ (301) migrated to:
  https://docs.spring.io/spring-boot-data-geode/docs/ ([https](https://docs.spring.io/spring-boot-data-geode/docs/) result 404).

These URLs were fixed successfully.

* http://docs.spring.io/spring-data/commons/docs/current/api/ migrated to:
  https://docs.spring.io/spring-data/commons/docs/current/api/ ([https](https://docs.spring.io/spring-data/commons/docs/current/api/) 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/ migrated to:
  https://geode.apache.org/releases/latest/javadoc/ ([https](https://geode.apache.org/releases/latest/javadoc/) result 200).

Resolves gh-25.
2019-03-11 11:40:57 -07:00
Toshiaki Maki
9a27b397fc Fix placeholders in log statements.
The log statement incorrectly used String.format(..) placecholders (e.g. %s) rather than SLF4J placeholders (e.g. {}).

Resolves gh-24.
2019-03-11 11:17:03 -07:00
John Blum
5a70c32261 Format source code. 2019-01-29 15:07:26 -08:00
John Blum
fb6fc6c93c Fix failing tests. 2019-01-29 15:05:00 -08:00
John Blum
2e263257f2 Workaround issue caused by org.springframework.cloud:spring-cloud-services-starter-service-registry.
Resolves gh-21.
2019-01-29 14:39:34 -08:00
John Blum
795da35cde Alphabetize properties by name. 2019-01-29 14:39:34 -08:00
John Blum
6e8cca1425 Format source code. 2019-01-29 10:28:27 -08:00
John Blum
7f2a9eb1f1 Add org.springframework.cloud:spring-cloud-services-starter-service-registry lib to test runtime to expose Pivotal Spring Cloud Services bug.
Resolves gh-21.
2019-01-28 09:43:42 -08:00
John Blum
60d23c9b8f Apply Java 8 constructs and features (e.g. Method References). 2019-01-28 09:41:27 -08:00
John Blum
f62e7cd5e0 Upgrade to Spring Build Conventions Gradle Plugin 0.0.23.RELEASE. 2019-01-17 12:29:47 -08:00
John Blum
2472f9f5d6 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 BOM Apple-SR8.
2019-01-17 12:27:23 -08:00
John Blum
4b7d642e23 Add 'this' qualifier to the corresponding class instance fields in the TestSecurityManager username and password property accessors. 2019-01-17 12:23:43 -08:00
John Blum
5b490b9096 Upgrade to Spring Test for Apache Geode/Pivotal GemFire 0.0.1.RC1. 2018-12-19 18:07:56 -08:00
John Blum
2f9266609a Upgrade to Mockito 2.23.4. 2018-12-03 18:17:26 -08:00
John Blum
f703269afb Upgrade to Spring Build Conventions Gradle Plugin 0.0.22.RELEASE. 2018-12-03 18:12:35 -08:00
John Blum
b9d79e5387 Upgrade to Spring Framework 5.0.11.RELEASE.
Upgrade to Spring Boot 2.0.7.RELEASE.

Upgrade to Spring Data for Apache Geode 2.0.12.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.0.12.RELEASE.

Upgrade to Spring Data Release Train Kay-SR12.

Upgrade to Spring Session BOM Apple-SR7.

Upgrade to Spring Session core 2.0.7.RELEASE.
2018-12-03 18:12:03 -08:00
John Blum
5651a07742 Rename GemFireSessionClientConfiguration to SessionGemFireClientConfiguration.
Rename GemFireSessionServerConfiguration to SessionGemFireServerConfigurtion.
2018-12-03 17:59:05 -08:00
John Blum
6b40830686 Fix test failures due to upgrade of Spring Test for Apache Geode/Pivotal GemFire to 1.0.0.M6. 2018-12-03 17:47:31 -08:00
John Blum
404fc3da71 Add integration test asserting the proper auto-configuration of Spring Session with Apache Geode/Pivotal GemFire using the client/server topology in a Web application and Web client. 2018-12-03 13:39:44 -08:00
John Blum
f8491db754 Add 'spring-boot-starter-web' as a test runtime dependency. 2018-12-03 13:37:33 -08:00
John Blum
5f45db33cd Upgrade to Spring Test for Apache Geode/Pivotal GemFire 1.0.0.M6. 2018-12-03 13:37:09 -08:00
John Blum
69dab11589 Upgrade to Spring Session BOM Apple-SR6. 2018-10-16 17:02:45 -07:00
John Blum
ce83add942 Upgrade to core Spring Framework 5.0.10.RELEASE.
Upgrade to Spring Data for Apache Geode 2.0.11.RELEASE.

Upgrade to Spring Data for Pivotal GemFire 2.0.11.RELEASE.

Upgrade to Spring Data Release Train Kay-SR11.

Upgrade to Spring Session BOM Apple-SR5.
2018-10-15 15:24:40 -07:00
John Blum
3fc229c7a5 Upgrade to Mockito 2.23.0. 2018-10-06 16:36:38 -07:00
John Blum
f356c0f3cc Extend o.s.d.g.tests.integration.IntegrationTestsSupport to clean up mock objects and allocated GemFire/Geode resources. 2018-10-06 16:36:38 -07:00
John Blum
4813d04400 Disable Debug mode and enable Info mode in CI Gradle builds.
Debug mode generated too much build log output and resulted in... 'The job exceeded the maximum log length, and has been terminated.'
2018-10-06 16:36:29 -07:00
John Blum
4fb37db088 Disable Stack Trace and enable Debug mode in CI Gradle builds. 2018-10-06 14:19:26 -07:00
John Blum
b6c75bd981 Reset Spring Test for Apache Geode/Pivotal GemFire version to 0.0.1.M4. 2018-10-06 12:19:05 -07:00
John Blum
2e8b8162f4 Enable Stack Trace on CI Gradlew builds. 2018-10-06 12:13:15 -07:00
John Blum
43245b68aa Add integration tests asserting that Spring Session for Apache Geode/Pivotal GemFire is not auto-configured when the Spring ApplicationContext is not a WebApplicationContext. 2018-10-05 18:36:28 -07:00
John Blum
8da25ec601 Set Spring Test for Apache Geode/Pivotal GemFire version to 0.0.1.BUILD-SNAPSHOT. 2018-10-05 18:21:12 -07:00