Commit Graph

167 Commits

Author SHA1 Message Date
John Blum
d2d8d207f0 Refactor PDX Serialization enablement into a separate auto-configuration class to auto-configure PDX for both client and servers. 2018-06-12 23:16:40 -07:00
John Blum
deb90386db Move SDG Function annotation configuration extension classes to o.s.g.function.config.
Remove the org.springframework.data.gemfire.function.config package.

Rebase AbstractFunctionExecutionAutoConfigurationExtension on the new o.s.d.g.function.config.FunctionExecutionBeanDefinitionRegitrar by simply overriding the newAnnotationBasedFunctionExecutionConfigurationSource() method in order to configure the auto-configuration packages as the base packages used to search for POJO-based Function Execution interfaces.
2018-06-12 22:49:13 -07:00
John Blum
9ef2ca4bd4 Remove o.s.d.g.support.GemfireBeanFactoryLocatorProxy extension class.
Replace references to o.s.d.gemfire.support.GemfireBeanFactoryLocatorProxy with SDG's o.s.d.g.support.GemfireBeanFactoryLocator.
2018-06-12 22:32:55 -07:00
John Blum
0192141d27 Upgrade to Spring Data Release Train Kay-BUILD-SNAPSHOT.
Upgrade to Spring Data for Apache Geode 2.0.8.BUILD-SNAPSHOT.

Upgrade to Spring Data for Pivotal GemFire 2.0.8.BUILD-SNAPSHOT.
2018-06-12 22:20:34 -07:00
John Blum
5f837c4289 Rename o.s.g.config.annotation.DurableClientIdConfigurationIntegrationTests to DurableClientConfigurationIntegrationTests. 2018-06-05 20:37:06 -07:00
John Blum
3bca6f773e Set ClientCacheFactoryBean.readyForEvents property to true. 2018-06-05 20:33:53 -07:00
John Blum
318f0748cb Provide a convenient, default, abstract implementation of the o.a.g.security.SecurityManager interface. 2018-06-05 18:06:11 -07:00
John Blum
490d8c8ed9 Add Annotation based configuration to configure a client's 'durable-client-id' & 'durable-client-timeout' properties along with keeping the client's server event queue alive. 2018-06-04 18:38:44 -07:00
John Blum
41a7e7bc55 Add Annotation based configuration to configure the peer member's 'distributed-system-id' property. 2018-06-04 18:36:56 -07:00
John Blum
91c36588d1 Add Annotation based configuration to configure the member 'groups' property. 2018-06-04 18:35:16 -07:00
John Blum
636289aeef Improve configuration logic.
Edit Javadoc.

Rename memberNameIsCorrect() test case method to memberNameWasConfiguredCorrectly().
2018-06-04 18:33:31 -07:00
John Blum
9b9efe6db2 Change Spring Test for Apache Geode coordinates to org.springframework.data:spring-data-geode-test. 2018-06-01 18:34:43 -07:00
John Blum
ba0c69a86b Add additional condition to prevent auto-configuration of ContinuousQueries if a bean of type o.s.d.g.listener.ContinuousQueryListenerContaininer is present in the Spring ApplicationContext. 2018-06-01 17:42:39 -07:00
John Blum
bddf9ff57b Add '--refresh-dependencies' option and 'clean' task to the 'gradlew' command starting the Travis CI build. 2018-05-31 14:04:07 -07:00
John Blum
a781c77140 Clean up any o.a.g.security.SecurityManager references before and after test execution. 2018-05-31 13:30:36 -07:00
John Blum
5b7d274723 Implement o.s.beans.factory.DisposableBean. 2018-05-31 12:57:24 -07:00
John Blum
1f9b97f4ee Annotate tests classes with @DirtiesContext to refresh the ApplicationContext. 2018-05-30 22:44:13 -07:00
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