John Blum
6bc09afff5
Extend o.s.d.g.tests.integration.IntegrationTestsSupport.
...
Resolves gh-40.
2019-06-24 15:21:03 -07:00
John Blum
c8fe79997b
Optimize imports.
2019-06-24 13:51:07 -07:00
John Blum
611d5fa5d7
Adds auto-configuration for Apache Geode & Pivotal GemFire logging.
...
Resolves gh-40.
2019-06-24 13:39:29 -07:00
John Blum
d86c4be339
Format source code.
...
Optimize imports.
2019-06-21 17:54:56 -07:00
John Blum
39d57d62ca
Complete ServerDefinedRegionTemplateAutoConfigurationIntegrationTests.
2019-06-10 19:24:13 -07:00
John Blum
104a430b1a
Optimize imports.
2019-06-10 19:10:45 -07:00
John Blum
aac1e8a6e6
Move the Books application into example.app.books.
...
Move the LibraryService into example.app.library.
2019-06-10 18:54:49 -07:00
John Blum
099a030028
Polish source code.
2019-06-10 18:30:11 -07:00
John Blum
3d5b4beffd
Disable HTTPS (HTTP over SSL).
2019-06-10 10:19:42 -07:00
John Blum
71397e958d
Deprecate HttpBasicAuthenticationSecurityConfiguration.
2019-06-10 10:18:52 -07:00
John Blum
567b231954
Optimize imports.
...
Format source code.
2019-06-09 18:07:40 -07:00
John Blum
db5f623ba0
Switch from @SpringBootApplication to @Configuration and @EnableAutoConfiguration with test configuration classes.
...
This will help avoid inadvertently including additional @Configuration classes in the classpath that are not required by, or applicable to, this test class.
2019-05-24 18:00:14 -07:00
John Blum
df0f318647
Add Integration Tests testing the custom configuration of the DEFAULT Pool and a named Pool when using Spring Boot auto-configuration.
2019-05-24 17:46:22 -07:00
John Blum
9ed0413956
Add support for Spring configured and bootstrapped Locator-based applications.
...
Resolves gh-37.
2019-05-15 15:54:25 -07:00
John Blum
0445d5f159
Polish Security auto-configuration tests for enforcing Auth in a cloud context.
2019-05-14 19:35:40 -07:00
John Blum
dd98cf7a6b
Polish Security auto-configuration tests for enforcing Auth in a local context.
2019-05-14 19:35:40 -07:00
John Blum
3d62ac4acc
Update the Apache Geode Management REST API Web Application (WAR) to 1.6.0.
2019-05-06 16:48:23 -07:00
John Blum
9a4442fe42
Switch to the 'DEFAULT' Pool.
...
Create Spring beans for the 'gemfirePool', 'MockPool' and 'TestPool' Pools.
2019-05-06 16:48:23 -07:00
John Blum
27b52f0e1d
Refactor Apache Geode/Pivotal GemFire (PCC) peer Security (Auth) auto-configuration.
...
Switch from using the GemfireBeanFactoryLocator with the security-manager property set to the SecurityManagerProxy to using the @EnableSecurityManager Annotation with the CacheFactory API.
2019-05-06 16:48:23 -07:00
John Blum
2a77937700
Allow bean definition overrides in Unit and Integration Tests.
2019-05-06 16:48:23 -07:00
John Blum
4beb39c336
Add 'org.springframework.boot:spring-boot-autoconfigure-processor' as an optional dependency.
2019-04-29 20:32:05 -07:00
John Blum
f0e8b7964c
Remove exclusions on 'org.springframework.boot:spring-boot-starter-logging'.
...
Add exclusion on 'org.apache.logging.log4j:log4j-to-slf4j'.
2019-04-29 19:49:36 -07:00
John Blum
473e31af30
Remove unnecessary use of java.util.Optional.
2019-04-29 19:37:14 -07:00
John Blum
da20d74044
Add Unit Tests for HttpBasicAuthenticationSecurityConfiguration.
2019-04-29 16:14:29 -07:00
John Blum
717832d053
Remove unnecessary filter(..) and map(..) invocations on the Optional used inside the BeanPostProcessor.postProcessAfterInitialization(..).
...
Improve invokeMethod(..) to allow arguments, handle class (static) methods, find the Method based on matching arguments to parameter types, and delegate accessibility to ObjectUtils.
Change access modifier on registerInterceptor(..) to protected.
Change access modifier on the schemaObjectInitializerPostProcessor(..) bean definition to public.
Move the HttpRequest.getHeaders() call inside the conditional on isAuthenticationEnabled().
2019-04-29 16:14:29 -07:00
John Blum
60c65548ee
Remove unecessary ExceptionThrowingOperation @FunctionalInterface.
...
Remove the private doOperationSafely(:ExceptionThrowingOperation):T method. Both the ExceptionThrowingOperation interface and doOperationSafely(..) method can be replaced by o.s.geode.core.util.ObjectUtils.
Refactor the existing invokeMethod(..) method; change access modifier to package-private.
2019-04-29 16:11:46 -07:00
John Blum
6419a5bd4d
Upgrade to Gradle 5.4.1.
...
Declare the FreeFair Lombok Gradle Plugin in the spring-geode-autoconfigure and spring-geode-samples-boot-configuration modules.
2019-04-28 18:12:36 -07:00
John Blum
a293b97113
Implement HTTP client authentication on cluster configuration push when sending configuration meta-data from client to server (cluster Manager).
...
Resolves gh-16.
2019-04-24 00:27:30 -07:00
John Blum
786deaeef9
Optimize imports.
2019-04-23 23:40:25 -07:00
John Blum
3251ffe166
Configure logging for Apache Geode, Spring and other libraries.
2019-04-15 15:51:16 -07:00
John Blum
4abc75b1d3
Extend o.s.d.g.tests.integration.IntegrationTestsSupport.
...
Resolves gh-31.
2019-04-12 17:41:19 -07:00
John Blum
cf4df83333
Add additional integration tests testing the auto-configuration of GemfireTemplate beans for Regions with existing named and Region-based GemfireTemplates.
...
Resolves gh-31.
2019-04-12 17:08:34 -07:00
John Blum
b9922f8c1b
Add auto-configuration support for creating Templates per Cache Region.
...
Resolves gh-31.
2019-04-12 16:23:35 -07:00
John Blum
8be1c5e242
Change default value for the SDG server.memcached.protocol property from 11211 to ASCII.
2019-04-05 18:28:09 -07:00
John Blum
7383357f80
Remove incorrect default value for 'spring.data.gemfire.manager.access-file' property.
2019-03-22 17:38:22 -07:00
John Blum
d19221c3e6
Add 'session' group to describe the Spring Session configuration properties.
2019-03-22 13:43:15 -07:00
John Blum
224f1485d8
Modify the sslConfigurationIsEnabled test case method to spy on the SslEnvironmentPostProcessor and do nothing when postProcessEnvironment(..) is called.
2019-03-22 01:16:50 -07:00
John Blum
585b4c8cd7
Add test class tear down method to delete all KeyStore files in the current working directory.
2019-03-22 00:33:10 -07:00
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
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
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
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