John Blum
619f695a3e
Fix SSL auto-configuration when TLS is enabled to properly configure the SSL default context.
...
Resolves gh-77.
2020-03-20 02:22:31 -07:00
John Blum
f3e02ef34e
Add human readable, formatted JSON, VCAP environment variables file.
2020-03-20 02:06:25 -07:00
John Blum
f773c19044
Remove unnecessary @SuppressWarnings('all') annotation from deleteKeyStoreFilesInCurrentWorkingDirectory() method.
2020-03-18 20:11:18 -07:00
John Blum
665355aa92
Upgrade to FreeFair Lombok Gradle Plugin 5.0.0-rc2.
2020-02-22 23:50:31 -08:00
John Blum
2440fa68a4
Remove unnecessary testCompile dependency on apache-geode-extensions.
...
apache-geode-extensions is already an optional compile-time dependency.
2020-02-21 20:17:32 -08:00
John Blum
51e7b0e9f9
Remove assertion on the cache instance asserting whether the cache was an instance of o.a.g.internal.cache.GemFireCacheImpl.
...
Remove assertion on the Region instance asserting whether the Region was an instance of o.a.g.internal.cache.AbstractRegion.
Resolves gh-70.
2020-02-21 20:17:32 -08:00
John Blum
d9a9b7d698
Remove use of the org.apache.geode.distributed.internal.DistributionConfig class to refer to the 'gemfire.' property prefix.
...
Resolves gh-70.
2020-02-21 19:24:52 -08:00
John Blum
295975e73b
Remove use of the org.apache.geode.internal.cache.GemFireCacheImpl class to assert the cache instance is a client.
...
Resolves gh-70.
2020-02-21 19:22:08 -08:00
John Blum
c434873f58
Remove uses of the org.apache.geode.distributed.internal.DistributionConfig interface to refer to configuration property names.
...
Resolves gh-70.
2020-02-21 19:19:12 -08:00
John Blum
a08f9bb0e8
Remove use of the org.apache.geode.internal.cache.GemFireCacheImpl class to assert the cache instance is not a client.
...
Resolves gh-70.
2020-02-21 19:19:12 -08:00
John Blum
d266c1c660
Remove uses of the org.apache.geode.management.internal.security.ResourceConstants class to refer to Security constants and properties.
...
Resolves gh-70.
2020-02-21 19:14:36 -08:00
John Blum
8447eaad10
Update Copyright to 2020.
2020-02-19 23:04:23 -08:00
John Blum
b45431fd53
Optimize imports.
2020-01-24 21:17:09 -08:00
John Blum
4e492ad089
Upgrade the WAR file containing the old Management (Admin) REST API from Apache Geode 1.9.2 to 1.11.0.
2020-01-22 15:13:44 -08:00
John Blum
6a9513c642
Add 'org.apache.geode:geode-http-service' as testRuntime dependency to enable the embedded Apache Geode HTTP service/HTTP server (using Jetty).
...
This will in turn configure and bootstrap the Management/Admin REST API required by the cluster configuration push functionality in SDG/SBDG.
2020-01-22 15:11:09 -08:00
John Blum
8e95e0ba3c
Add 'org.apache.geode:geode-web' as testRuntime dependency containing the old Apache Geode Management/Admin REST API service and endpoints.
2020-01-22 15:08:49 -08:00
John Blum
ca0ee8ff31
Add 'jakarta.servlet:jakarta.servlet-api' testCompile dependency to resolve the Javax Servlet API in HTTP-based, Servlet Webapp Integration Tests.
2020-01-22 13:48:35 -08:00
John Blum
924b1d7f89
Upgrade to Lombok Gradle Plugin 4.1.6.
2020-01-16 18:56:19 -08:00
John Blum
0b36ea2d3c
Add additional Unit and Integration Tests asserting the functionality and behavior of the JRE.
2019-12-10 13:58:59 -08:00
John Blum
2e36e48eb0
Add Integration Tests asserting that Spring Boot's auto-configuration of Apache Geode logging is disabled when a user explicitly customizes logging configuration.
2019-12-10 08:48:35 -08:00
John Blum
0300d0e753
Format source code and optimize imports.
2019-12-09 16:22:50 -08:00
John Blum
899d71f9fd
Configures the Pool used by the Spring Session bits and starter to use the 'DEFAULT' Pool.
...
Resolves gh-68.
2019-12-03 14:39:41 -08:00
John Blum
71d4587061
Add Integration Test for local HTTP Session state caching using the EnableClusterAware annotation to appropriately recognize and configure a local Apache Geode cache topology.
...
Resolves gh-66.
2019-11-15 19:18:48 -08:00
John Blum
91e0fa4371
Add additional assertions and optimize imports.
2019-11-15 18:41:45 -08:00
John Blum
91b3ab747e
Cleanup unncessary SuppressWarnings and optimize imports.
2019-11-15 18:40:00 -08:00
John Blum
1a091a5209
Switch to a MOCK WebEnvironment.
...
Add additional assertions.
2019-11-15 18:39:15 -08:00
John Blum
2c7ee8fda8
Formate source code.
...
Optimize imports.
2019-11-15 18:36:02 -08:00
John Blum
d2a1a07553
Cleanup deprecations.
...
Optimize imports.
2019-11-15 18:34:43 -08:00
John Blum
65ef316401
Remove default configuration for the 'spring.session.data.gemfire.cache.client.region.shortcut' property.
2019-11-15 18:32:33 -08:00
John Blum
b2aa3d7d02
Add additional assertions and a ClientHttpRequestInterceptor bean to test the avoidance of possible interference caused by the Interceptor during the client to server cluster configuration metadata push provided in SDG.
...
See https://jira.spring.io/browse/DATAGEODE-243 for more details.
2019-10-31 13:35:49 -07:00
John Blum
caa8a2cb42
Add assertions asserting that mock Apache Geode Objects are being used.
2019-10-31 12:27:23 -07:00
John Blum
893989d81b
Add additional Unit Test for the auto-configuration of Apache Geode as a caching provider in Spring's Cache Abstraction using Mock Apache Geode Objects.
2019-10-30 16:29:22 -07:00
John Blum
23f6aee57b
Rename geode-web-1.9.1.war to geode-web-1.9.2.war for the SDG upgrade to Apache Geode 1.9.2.
2019-10-29 08:05:43 -07:00
John Blum
25960adc4d
Add auto-configuration support for TLS using SSL when deploying Spring Boot ClientCache applications to PCF using PCC that requires secure Sockets.
...
The TLS/SSL auto-configuration enables and configures the use of the SSL default context provided by the JRE, which the ClientCache instance uses to obtain the required CERT necessary when creating SSL Sockets between the client and PCC servers.
Resolves gh-61.
2019-10-17 15:50:26 -07:00
John Blum
afbbfe9991
Upgrade to FreeFair Lombok Gradle Plugin 4.1.2.
2019-10-17 15:46:10 -07:00
John Blum
d8871d1eb0
Rename geode-web-1.9.0.war to geode-web-1.9.1.war to match the Apache Geode version 1.9.1 pulled in by SDG Moore-BUILD-SNAPSHOT.
2019-09-24 01:51:11 -07:00
John Blum
4eff04c517
Refactor Cluster-aware Conditions to be CloudFoundry Environment-aware.
...
Resolves gh-56.
2019-09-24 00:34:36 -07:00
John Blum
6185541bad
Avoid test interference by using Spring Profiles.
2019-09-20 14:36:30 -07:00
John Blum
7d80bfec9f
Improve intelligence around @EnableClusterAware to be Environment-aware.
...
One example is when running your Spring Boot app in Pivotal Platfom using Pivotal Cloud Cache (PCC), which is secure by default and requires HTTPS in addition to Auth.
Resolves gh-56.
2019-09-20 13:26:57 -07:00
John Blum
af35414d07
Improves auto-confiuguration of GemfireTemplates for cache Regions to minimize issues when auto-wiring templates into application components.
...
Resolves gh-55.
2019-09-20 01:44:18 -07:00
John Blum
432bd479d2
Optimize imports.
2019-09-12 17:45:09 -07:00
John Blum
9766fad249
Move HttpBasicAuthenticationSecurityConfiguration class to org.springframework.geode.boot.autoconfigure.support.
2019-09-12 17:44:17 -07:00
John Blum
bf9bcb866e
Fix CI build test failures related to a dirty ApplicationContext and Condition state when assessing the availibility of a cluster in a required client/server topology.
2019-09-12 17:17:47 -07:00
John Blum
03225d81ca
Enable GemFire Mock Objects.
2019-09-12 17:04:28 -07:00
John Blum
1a5d4d079a
Edit Javadoc; Optimize imports; Fix failing tests in CI environment.
2019-09-12 17:03:45 -07:00
John Blum
9374bf4803
Import EnableSubscriptionConfiguration Spring @Configuration class.
2019-09-12 16:56:09 -07:00
John Blum
edb12fc523
Add shared Spring @Configuration class for enabling (client/Pool) subscriptions.
...
This class will be used by both the ContinuousQueryAutoConfiguration class and the SpringSessionAutoConfiguration class.
2019-09-12 16:54:55 -07:00
John Blum
8e30b4ddd2
Improve CQ Auto-configuration by assessing the availability of a server or cluster first before enabling and auto-configuring CQ functionality.
...
This added capabilities relies on the new ClusterAwareConditions.
Resolves gh-53.
2019-09-12 14:28:59 -07:00
John Blum
31c918ffbc
Improve Client Security Auto-configuration to allow users to configure the runtime user of their Spring Boot applications running in Pivotal CloudFoundray (PCF) when using Pivotal Cloud Cache (PCC).
...
Note: configuring the runtime user of a Spring Boot app outside of CloudFoundry is already supported. Simply set the 'spring.data.gemfire.security.username' and 'spring.data.gemfire.security.password' properties.
Resolves gh-44.
2019-09-10 20:36:36 -07:00
John Blum
3c0a0daa32
Remove unnecessary exclude on ContinuousQueryAutoConfiguration class.
2019-09-10 01:30:03 -07:00