fc64a35085
Extend o.s.d.g.tests.integration.IntegrationTestsSupport.
John Blum
2018-05-29 15:40:15 -07:00
034890eb4d
Review, refactor and reorganize auto-configuration annotations and conditions.
John Blum
2018-05-29 15:24:41 -07:00
0990c6462d
Refactor Echo client/server Region and template configuration into separate Spring @Configuration classes.
John Blum
2018-05-29 13:30:57 -07:00
46f8f46cb6
Rename o.s.b.d.g.GemfireBeanFactoryLocatorProxy.clean() to clear().
John Blum
2018-05-29 13:07:10 -07:00
66a83c18b4
Replace equals(:Object) and hashCode() method overrides with Lomboks @EqualsAndHashCode annotation.
John Blum
2018-05-29 12:58:37 -07:00
ad204180e2
Optimize imports.
John Blum
2018-05-29 12:53:37 -07:00
36a5de623c
Properly clean up used resources after test execution.
John Blum
2018-05-29 08:46:37 -07:00
8893053108
Fix Javadoc.
John Blum
2018-05-28 22:56:34 -07:00
8a082ea642
Clean up all GemfireBeanFactoryLocator references to BeanFactories used in tests.
John Blum
2018-05-28 22:47:24 -07:00
400bcec902
Add temporary GemfireBeanFactoryLocatorProxy class extending SDG's GemfireBeanFactoryLocator to clean up references to BeanFactories stored by integration tests.
John Blum
2018-05-28 22:46:22 -07:00
b3c72314a4
Remove exclusion on SslAutonConfiguration class.
John Blum
2018-05-28 22:01:59 -07:00
fe75f1da94
Replace o.s.b.f.c.BeanPostProcessor with @EnableBeanFactoryLocator annotation.
John Blum
2018-05-28 21:42:53 -07:00
eb32d516d4
Remove explicit useBeanFactoryLocator configuration attribute on @CacheServerApplications.
John Blum
2018-05-28 21:24:25 -07:00
b81c2cf351
Revert to o.s.beans.factory.config.BeanPostProcessor for enabling the useBeanFactoryLocator property on CacheFactoryBean.
John Blum
2018-05-28 21:23:56 -07:00
bec5cc93be
Pass arguments from the main method to SpringApplication(:Class<?>[], :String[]).
John Blum
2018-05-28 20:49:27 -07:00
a1df055d7a
Auto-configure security for peer Cache instance based server nodes.
John Blum
2018-05-28 20:48:28 -07:00
6367527ff6
Rename o.s.b.d.g.autoconfigure.SecurityAutoConfiguration to ClientSecurityAutoConfiguration.
John Blum
2018-05-28 20:46:20 -07:00
bdb92980ab
Add support for enabling SSL on Spring Boot configured and bootstrapped Apache Geode/Pivotal GemFire Servers.
John Blum
2018-05-28 19:47:40 -07:00
f96e7ab59b
Rename trusted.keystore to test-trusted-keystore.
John Blum
2018-05-28 19:25:39 -07:00
5d1dcb4b44
Use 'spring.boot.data.gemfire.*' prefix for all Spring Boot Data GemFire/Geode configuration properties.
John Blum
2018-05-28 19:16:23 -07:00
1f4faf2a97
Edit Javadoc.
John Blum
2018-05-28 19:06:22 -07:00
289ef39470
Add unit tests for o.s.b.d.g.function.support.SingleResultReturningCollector.
John Blum
2018-05-28 18:41:08 -07:00
9d0bf84ae4
Add unit tests for o.s.b.d.g.function.support.AbstractResultCollector.
John Blum
2018-05-28 18:40:29 -07:00
23353b630e
Add capability to disable Environment post processing for Security based on System property.
John Blum
2018-05-28 17:41:29 -07:00
d80b06dbbe
Edit properties file comments to reflect intent/purpose.
John Blum
2018-05-28 17:31:24 -07:00
c4e3b832ed
Rename application.properties for SSL integration testing to application-ssl.properties.
John Blum
2018-05-28 17:28:38 -07:00
b4b298ffc4
Add capability to disable Environment post processing for SSL based on System property.
John Blum
2018-05-28 17:28:10 -07:00
53c4ff5ec6
Add integration test testing auto-configuration of Apache Geode/Pivotal GemFire Security in a cloud, managed environemnt.
John Blum
2018-05-28 16:39:21 -07:00
97552575f4
Name the PropertySource configured from application-security-local.properties on the GemFireServerConfiguration class.
John Blum
2018-05-28 15:51:28 -07:00
3676504157
Encapsulate the CloudCache Service and Security configuraton in a named PropertySource placed in the Environment.
John Blum
2018-05-28 15:47:27 -07:00
d0013ffce5
Fix String formatted Exception message logging the Environment state in from(:Environment).
John Blum
2018-05-28 15:44:18 -07:00
12a11de856
Inherit from AbstractAutoConfiguredSecurityContextIntegrationTests.
John Blum
2018-05-28 14:27:11 -07:00
b3d1f6cfd8
Resolve Spring Boot application.properties for security from the Environment based on the active Spring profile.
John Blum
2018-05-28 14:24:50 -07:00
cca7533b86
Add security support for configuring an Apache Geode/Pivotal GemFire o.a.g.security.SecurityManager as a managed bean in the Spring context.
John Blum
2018-05-28 14:17:31 -07:00
baed99d98e
Add an abstract, base security context integration test class encapsulating functionality and configuration common to both local and cloud-based security integration tests.
John Blum
2018-05-28 11:48:41 -07:00
c09d79e74a
Refactor security credentials source for the TestSecurityManager to acquire username/password from the application-security-local.properties file.
John Blum
2018-05-28 00:01:27 -07:00
9fa05182bf
Add reference to o.a.g.cache.Region in Javadoc.
John Blum
2018-05-27 23:46:49 -07:00
5e64818110
Add integration test testing the auto-configuration of Apache Geode/Pivotal GemFire Security authentication/authorization in a local, non-managed environment.
John Blum
2018-05-27 23:44:38 -07:00
7cc723a1fd
Re-implement cloud security context configuration for Apache Geode/Pivotal GemFire using a Spring Boot o.s.boot.env.EnvironmentPostProcessor.
John Blum
2018-05-27 23:43:09 -07:00
0112ba659f
Add new property enabling the user to configure the name of the trusted KeyStore to search.
John Blum
2018-05-27 22:30:12 -07:00
298d0b7a4d
Format source code.
John Blum
2018-05-27 02:12:35 -07:00
63a9a57b2c
Add test suite method on tear down to clear all SSL System properties.
John Blum
2018-05-27 01:56:51 -07:00
bc86c98285
Refactor SslAutoConfiguration to add SDG security SSL properties to a new PropertySource added to the Enviornment.
John Blum
2018-05-27 01:55:26 -07:00
737297614d
Extend o.s.d.g.tests.integration.ForkingClientServerIntegrationTestsSupport.
John Blum
2018-05-27 00:35:04 -07:00
5ef721a4bb
Fix Javadoc.
John Blum
2018-05-27 00:07:33 -07:00
b2647638d5
Remove explicit test suite setup method invoking the closeGemFireCacheWaitOnCloseEvent() method.
John Blum
2018-05-25 15:42:38 -07:00
33e913edee
Edit Javadoc.
John Blum
2018-05-25 15:26:56 -07:00
4da241bf20
Add integration tests for auto-configuration of Apache Geode/Pivotal GemFire SSL transport between client and server.
John Blum
2018-05-25 15:12:06 -07:00
d31b4df772
Extend SSL auto-configuration support to automatically locate, resolve and configure a trusted KeyStore for Apache Geode/Pivotal GemFire SSL transport between client and server based on well-defined conventions.
John Blum
2018-05-25 15:09:35 -07:00
ae8566751d
Set ClientCache log-level to 'error'.
John Blum
2018-05-25 12:34:36 -07:00
7897f8edb4
Add support for using the Apache Geode/Pivotal GemFire o.a.g.cache.CacheLoader interface as a @FunctionalInterface.
John Blum
2018-05-24 20:35:12 -07:00
2721df2003
Move custom ResultCollectors from o.s.data.geode.function.execute to o.s.boot.data.geode.function.support.
John Blum
2018-05-24 12:57:21 -07:00
02ca816264
Add integration tests for auto-configuration of Apache Geode/Pivotal GemFire Continuous Query support.
John Blum
2018-05-24 12:56:22 -07:00
93767f5ffb
Register a ClientCacheConfigurer to enable subscriptions on the ClientCache instance.
John Blum
2018-05-24 12:55:38 -07:00
0b3c81fe0b
Add example model of Apache Geode/Pivotal GemFire CQ query event handlers and types.
John Blum
2018-05-24 12:53:34 -07:00
d3aa26a3ee
Refactor all integration test classes to extend o.s.d.g.tests.integration.IntegrationTestsSupport.
John Blum
2018-05-23 20:32:20 -07:00
dc63e34bc4
Add test compile dependency and dependency management for org.springframework.data:spring-test-data-geode 0.0.1.BUILD-SNAPSHOT.
John Blum
2018-05-23 20:02:20 -07:00
1f8b98550d
Add synchronizaton block surrounding the TimeUnit.timedWait(..) invocation inside getResult(duration:long, :TimeUnit).
John Blum
2018-05-23 20:00:52 -07:00
126f386dfc
Change the Function executions to onMember(..) calls by placing the (cache) client in a group.
John Blum
2018-05-23 19:02:16 -07:00
efc645b3a7
Fix Javadoc.
John Blum
2018-05-23 18:51:17 -07:00
05267ee8bf
Add integration tests for Function implementation and execution auto-configuration.
John Blum
2018-05-23 18:42:40 -07:00
ced7b60deb
Rename o.s.b.d.g.autoconfigure.RepositoriesAutoConfigurationRegistrar to GemFireRepositoriesAutoConfigurationRegistrar.
John Blum
2018-05-23 13:44:07 -07:00
83a014682b
Rename the nested EnableGeodeRepositoriesConfiguration class to EnableGemFireRepositoriesConfiguration.
John Blum
2018-05-23 09:33:33 -07:00
91438a69ff
Change incorrect sun.util.resources.LocaleData type for publishedDate property to java.time.LocalDate.
John Blum
2018-05-22 18:14:50 -07:00
3c2d0f558c
Add integration tests for Spring's Cache Abstraction with Apache Geode auto-configured as the caching provider.
John Blum
2018-05-22 18:07:38 -07:00
357076b448
Add example Books application and domain types.
John Blum
2018-05-22 18:06:33 -07:00
9020b6248a
Add protected nextId() method to acquire the next identifier in the sequence.
John Blum
2018-05-22 17:50:05 -07:00
615509d337
Rename AutoConfiguredRepositoryIntegrationTests to AutoConfiguredRepositoriesIntegrationTests.
John Blum
2018-05-22 17:12:44 -07:00
1d9250a9ba
Add test runtime dependency on the JCache API 1.0.0.
John Blum
2018-05-22 17:11:34 -07:00
1363ab80d0
Add integration tests for SDG Repository auto-configuration support.
John Blum
2018-05-22 14:24:59 -07:00
0b97742411
Add project test dependency on Lombok 1.16.20.
John Blum
2018-05-22 14:23:53 -07:00
73ec0ac8cc
Add integration test asserting the user is able to configure and bootstrap a Spring Boot, Apache Geode/Pivotal GemFire peer Cache application, thereby overriding the default, ClientCache application auto-configuration.
John Blum
2018-05-22 13:22:38 -07:00
ff7872d827
Prevent the auto-configuration and enabling of Continuous Queries when the user explicility configures a peer Cache application.
John Blum
2018-05-22 13:21:02 -07:00
dab543e8c9
Rename o.s.b.d.g.cache.client.SpringBootApacheGeodeCacheClientApplicationTests to SpringBootApacheGeodeClientCacheApplicationIntegrationTests.
John Blum
2018-05-22 12:47:11 -07:00
c9496b99e7
Format source code.
John Blum
2018-05-22 00:09:52 -07:00
e163c4835d
Complete SecurityAutoConfiguration logic handling secure access to PCC in PCF.
John Blum
2018-05-22 00:09:36 -07:00
826f61161f
Add o.s.b.d.g.core.env.VcapPropertySource class to model and provide operations specifically for the 'vcap' PropertySource contained in the Environment.
John Blum
2018-05-22 00:07:01 -07:00
0eef15ba77
Change access modifier on CloudCacheService.Locator newLocator(..), parseLocators(:String) and parse(:String) factory methods to public.
John Blum
2018-05-21 23:30:55 -07:00
41999755aa
Fix Javadoc.
John Blum
2018-05-21 23:02:11 -07:00
a9874e64a3
Add the o.s.b.d.g.core.env.support.CloudCacheService class and ADT modeling the 'cloudcache' service (an instance of PCC) in Pivotal CloudFoundry.
John Blum
2018-05-21 22:58:15 -07:00
58423f2c9f
Add the o.s.b.d.g.core.env.support.Service class and ADT modeling the basic concept of a Pivotal CloudFoundry service.geode-spring-boot-starter/src/main/java/org/springframework/boot/data/geode/core/env/support/Service.java
John Blum
2018-05-21 22:52:10 -07:00
30d3eefcd4
Add the o.s.b.d.g.core.env.support.User class and ADT to model users with access to Pivotal CloudFoundry services.
John Blum
2018-05-21 22:50:39 -07:00
f4d843b14e
Add the o.s.b.d.g.core.utils.ObjectUtils utility class containing various operations on Objects.
John Blum
2018-05-21 22:49:04 -07:00
1160d67dee
Change groupId from 'org.springframework.boot' to 'org.springframework.data'.
John Blum
2018-05-15 13:54:15 -07:00
3002d4ca6b
Upgrade to Mockito 2.18.3.
John Blum
2018-05-09 17:37:41 -07:00
9f62f3cd1b
Correct grammar.
John Blum
2018-05-09 17:35:04 -07:00
9c83a21fef
Change branding from Geode to Apache Geode.
John Blum
2018-05-09 12:19:33 -07:00
15dc6d83b2
Add backslash to properly escape the newline in the property definition.
John Blum
2018-04-03 19:38:01 -07:00
6ef9192517
Upgrade to Spring Gradle Build Conventions 0.0.15.RELEASE.
John Blum
2018-04-03 19:29:31 -07:00
d4c45c063e
Remove @SuppressWarnings('all') annotation.
John Blum
2018-04-03 19:28:52 -07:00
db5a649115
Add Spring Boot auto-configuration for Apache Geode SSL.
John Blum
2018-04-03 19:27:30 -07:00
64eedc0b10
Add Spring Boot auto-configuration for Apache Geode Security, and primarily authentication between a client and a server.
John Blum
2018-04-03 19:23:59 -07:00
29438d9768
Add Travis CI build status to the README.
John Blum
2018-04-03 12:44:24 -07:00
dfbbf08ce0
Add Travis CI build configuration file.
John Blum
2018-04-03 12:35:04 -07:00
2a5cb36398
Remove 'Deploy Docs' stage.
John Blum
2018-03-22 14:49:50 -07:00
87f2acada9
Fix Ant glob path expression for 'Check' stage junit test results.
John Blum
2018-03-22 14:38:48 -07:00
cdd3c2702b
Upgrade to Gradle 4.6.
John Blum
2018-03-22 13:42:26 -07:00
b2585595c9
Fix formatting typo in README.
John Blum
2018-03-20 12:51:55 -07:00
67d9477919
Upgrade to AssertJ 3.9.1.
John Blum
2018-03-20 12:47:46 -07:00
a9b9397f85
Add Jenkinsfile build configuration.
John Blum
2018-03-20 12:40:52 -07:00