John Blum
1ab40b4078
Add geode-spring-boot-starter module.
...
Resolves #gh-6.
2018-05-30 22:18:22 -07:00
John Blum
21150c614e
Add gemfire-spring-boot-starter module.
...
Resolves #gh-6.
2018-05-30 22:18:22 -07:00
John Blum
96be8f398a
Add logback.xml to suppress test logging output.
2018-05-30 22:18:22 -07:00
John Blum
bd01ef5be0
Remove Spring Boot (Gradle) Plugin.
...
Apply the 'io.spring.dependency-management' (Gradle) plugin and import Spring Boot's BOM.
2018-05-30 22:18:22 -07:00
John Blum
1d479adf47
Format build script.
2018-05-30 22:18:22 -07:00
John Blum
0c3a1101ce
Remove Spring IO Platform support.
...
Clean up dependencies.
2018-05-30 22:18:22 -07:00
John Blum
4be1dcc8ce
Move all Spring Boot auto-configuration classes, functionality and supporting infrastructure to the geode-spring-boot-autoconfigure module.
2018-05-30 22:18:22 -07:00
John Blum
33c6102675
Rename gemfire-spring-boot module to gemfire-spring-boot-starter.
2018-05-30 22:18:21 -07:00
John Blum
33bebf0f32
Enable Apache Geode/Pivotal GemFire mock objects for testing.
2018-05-30 22:18:21 -07:00
John Blum
65ae4cc59d
Rename gemfire-spring-boot-starter module to gemfire-spring-boot.
...
Rename geode-spring-boot-starter module to geode-spring-boot.
2018-05-30 22:18:21 -07:00
John Blum
65004813b5
Repackage the codebase under org.springframework.geode.
...
Repackage all Apache Geode extension classes under org.springframework.geode.
Repackage all Spring Boot extension classes under org.springframework.geode.boot.
Repackage all Spring Boot auto-configuration class under org.springframework.boot.autoconfigure.
2018-05-30 22:18:21 -07:00
John Blum
01369714f7
Change group ID to org.springframework.geode.
...
Resolves #gh-6.
2018-05-30 22:18:13 -07:00
John Blum
91861a7ffc
Extend o.s.d.g.tests.integration.IntegrationTestsSupport.
...
This test class must ensure that any existing/stale cache instance/reference is properly cleaned up before test execution.
2018-05-29 17:42:06 -07:00
John Blum
5bfbb47eed
Add annotation configuration support to set the Apache Geode/Pivotal GemFire distributed system member's name.
2018-05-29 17:42:06 -07:00
John Blum
fc64a35085
Extend o.s.d.g.tests.integration.IntegrationTestsSupport.
...
This test class must ensure that any existing/stale cache instance/reference is properly cleaned up before test execution.
2018-05-29 17:41:59 -07:00
John Blum
034890eb4d
Review, refactor and reorganize auto-configuration annotations and conditions.
2018-05-29 15:25:09 -07:00
John Blum
0990c6462d
Refactor Echo client/server Region and template configuration into separate Spring @Configuration classes.
2018-05-29 13:30:57 -07:00
John Blum
46f8f46cb6
Rename o.s.b.d.g.GemfireBeanFactoryLocatorProxy.clean() to clear().
2018-05-29 13:07:10 -07:00
John Blum
66a83c18b4
Replace equals(:Object) and hashCode() method overrides with Lomboks @EqualsAndHashCode annotation.
2018-05-29 12:58:37 -07:00
John Blum
ad204180e2
Optimize imports.
2018-05-29 12:53:37 -07:00
John Blum
36a5de623c
Properly clean up used resources after test execution.
2018-05-29 08:46:37 -07:00
John Blum
8893053108
Fix Javadoc.
2018-05-28 22:56:34 -07:00
John Blum
8a082ea642
Clean up all GemfireBeanFactoryLocator references to BeanFactories used in tests.
2018-05-28 22:47:24 -07:00
John Blum
400bcec902
Add temporary GemfireBeanFactoryLocatorProxy class extending SDG's GemfireBeanFactoryLocator to clean up references to BeanFactories stored by integration tests.
2018-05-28 22:46:22 -07:00
John Blum
b3c72314a4
Remove exclusion on SslAutonConfiguration class.
2018-05-28 22:01:59 -07:00
John Blum
fe75f1da94
Replace o.s.b.f.c.BeanPostProcessor with @EnableBeanFactoryLocator annotation.
2018-05-28 21:44:17 -07:00
John Blum
eb32d516d4
Remove explicit useBeanFactoryLocator configuration attribute on @CacheServerApplications.
2018-05-28 21:44:14 -07:00
John Blum
b81c2cf351
Revert to o.s.beans.factory.config.BeanPostProcessor for enabling the useBeanFactoryLocator property on CacheFactoryBean.
2018-05-28 21:23:56 -07:00
John Blum
bec5cc93be
Pass arguments from the main method to SpringApplication(:Class<?>[], :String[]).
2018-05-28 20:49:27 -07:00
John Blum
a1df055d7a
Auto-configure security for peer Cache instance based server nodes.
2018-05-28 20:48:28 -07:00
John Blum
6367527ff6
Rename o.s.b.d.g.autoconfigure.SecurityAutoConfiguration to ClientSecurityAutoConfiguration.
...
Add support to auto-configure Apache Geode/Pivotal GemFire Security on a peer Cache member by setting SecurityManager using the o.s.b.d.g.security.support.SecurityManagerProxy when an org.apache.geode.security.SecurityManager implementation is declared and registered as a bean in the Spring context.
2018-05-28 20:46:20 -07:00
John Blum
bdb92980ab
Add support for enabling SSL on Spring Boot configured and bootstrapped Apache Geode/Pivotal GemFire Servers.
2018-05-28 19:48:05 -07:00
John Blum
f96e7ab59b
Rename trusted.keystore to test-trusted-keystore.
2018-05-28 19:25:39 -07:00
John Blum
5d1dcb4b44
Use 'spring.boot.data.gemfire.*' prefix for all Spring Boot Data GemFire/Geode configuration properties.
2018-05-28 19:16:23 -07:00
John Blum
1f4faf2a97
Edit Javadoc.
2018-05-28 19:06:22 -07:00
John Blum
289ef39470
Add unit tests for o.s.b.d.g.function.support.SingleResultReturningCollector.
2018-05-28 18:41:08 -07:00
John Blum
9d0bf84ae4
Add unit tests for o.s.b.d.g.function.support.AbstractResultCollector.
2018-05-28 18:40:29 -07:00
John Blum
23353b630e
Add capability to disable Environment post processing for Security based on System property.
2018-05-28 17:41:29 -07:00
John Blum
d80b06dbbe
Edit properties file comments to reflect intent/purpose.
2018-05-28 17:31:24 -07:00
John Blum
c4e3b832ed
Rename application.properties for SSL integration testing to application-ssl.properties.
2018-05-28 17:28:38 -07:00
John Blum
b4b298ffc4
Add capability to disable Environment post processing for SSL based on System property.
2018-05-28 17:28:10 -07:00
John Blum
53c4ff5ec6
Add integration test testing auto-configuration of Apache Geode/Pivotal GemFire Security in a cloud, managed environemnt.
2018-05-28 16:49:02 -07:00
John Blum
97552575f4
Name the PropertySource configured from application-security-local.properties on the GemFireServerConfiguration class.
...
Remove the 'spring.profiles.active' System property from the run configuration of the Apache Geode/Pivotal GemFire Server.
2018-05-28 15:51:49 -07:00
John Blum
3676504157
Encapsulate the CloudCache Service and Security configuraton in a named PropertySource placed in the Environment.
2018-05-28 15:47:27 -07:00
John Blum
d0013ffce5
Fix String formatted Exception message logging the Environment state in from(:Environment).
2018-05-28 15:44:18 -07:00
John Blum
12a11de856
Inherit from AbstractAutoConfiguredSecurityContextIntegrationTests.
...
Edit Javadoc.
2018-05-28 14:48:38 -07:00
John Blum
b3d1f6cfd8
Resolve Spring Boot application.properties for security from the Environment based on the active Spring profile.
...
Declare the TestSecurityManager as a managed bean in the Apache Geode/Pivotal GemFire Server Spring context; this requires configuring Apache Geode/Pivotal GemFire security using the o.s.b.d.g.security.support.SecurityManagerProxy class.
2018-05-28 14:24:50 -07:00
John Blum
cca7533b86
Add security support for configuring an Apache Geode/Pivotal GemFire o.a.g.security.SecurityManager as a managed bean in the Spring context.
2018-05-28 14:19:27 -07:00
John Blum
baed99d98e
Add an abstract, base security context integration test class encapsulating functionality and configuration common to both local and cloud-based security integration tests.
2018-05-28 11:59:55 -07:00
John Blum
c09d79e74a
Refactor security credentials source for the TestSecurityManager to acquire username/password from the application-security-local.properties file.
2018-05-28 00:01:27 -07:00