Commit Graph

25 Commits

Author SHA1 Message Date
John Blum
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. 2018-05-22 13:22:38 -07:00
John Blum
ff7872d827 Prevent the auto-configuration and enabling of Continuous Queries when the user explicility configures a peer Cache application. 2018-05-22 13:21:02 -07:00
John Blum
dab543e8c9 Rename o.s.b.d.g.cache.client.SpringBootApacheGeodeCacheClientApplicationTests to SpringBootApacheGeodeClientCacheApplicationIntegrationTests.
Add assertion to verify the Apache Geode/Pivotal GemFire cache instance is indeed a ClientCache.

Configure GemFie log-level to 'error'.
2018-05-22 12:47:45 -07:00
John Blum
c9496b99e7 Format source code. 2018-05-22 00:09:52 -07:00
John Blum
e163c4835d Complete SecurityAutoConfiguration logic handling secure access to PCC in PCF. 2018-05-22 00:09:36 -07:00
John Blum
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. 2018-05-22 00:07:01 -07:00
John Blum
0eef15ba77 Change access modifier on CloudCacheService.Locator newLocator(..), parseLocators(:String) and parse(:String) factory methods to public. 2018-05-21 23:30:55 -07:00
John Blum
41999755aa Fix Javadoc. 2018-05-21 23:02:11 -07:00
John Blum
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.
The cloudcache service is backed by Pivotal GemFire and therefore contains additional meta-data used to access the PCC service instacne, such as Pivotal GemFire Locator network endpoints and user credentials required to access the PCC instance bound to any pushed Spring Boot apps.
2018-05-21 22:58:15 -07:00
John Blum
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 2018-05-21 22:53:35 -07:00
John Blum
30d3eefcd4 Add the o.s.b.d.g.core.env.support.User class and ADT to model users with access to Pivotal CloudFoundry services. 2018-05-21 22:50:39 -07:00
John Blum
f4d843b14e Add the o.s.b.d.g.core.utils.ObjectUtils utility class containing various operations on Objects. 2018-05-21 22:49:04 -07:00
John Blum
15dc6d83b2 Add backslash to properly escape the newline in the property definition. 2018-04-03 19:39:07 -07:00
John Blum
d4c45c063e Remove @SuppressWarnings('all') annotation. 2018-04-03 19:34:05 -07:00
John Blum
db5a649115 Add Spring Boot auto-configuration for Apache Geode SSL. 2018-04-03 19:34:04 -07:00
John Blum
64eedc0b10 Add Spring Boot auto-configuration for Apache Geode Security, and primarily authentication between a client and a server.
Introduces a basic class template to auto-configure security based on context (e.g. PCF when using PCC) along with some other Conditions identifying certain Apache Geode properties necessitating the need to configure security.
2018-04-03 19:30:58 -07:00
John Blum
59bbd6ee90 Rename all auto-configuration classes by removing the 'Geode' name prefix. 2018-03-20 12:25:24 -07:00
John Blum
f4bab9c027 Refactor @ConditionalOnMissingBean to only refer to an instance of cache as o.a.g.cache.GemFireCache. 2018-03-20 12:00:29 -07:00
John Blum
b3bc1ff5a9 Do not require autowired constructor parameters. 2018-03-20 12:00:29 -07:00
John Blum
acdd8ac573 Refactor @ConditionalOnBean to be conditional on an instance of o.a.g.cache.GemFireCache.
Refactor @ConditionalOnClass to be conditional on an SDG and Apache Geode type based on functional concern.
2018-03-20 11:59:39 -07:00
John Blum
c7b9448f55 Edit Javadoc.
Format source code.
2018-03-20 11:16:15 -07:00
John Blum
8f4833dc4b Fix bug with @ConditionalOnBean(..) to only require an insance of o.a.g.cache.GemFireCache. 2018-03-20 11:11:11 -07:00
John Blum
104bdf5a6c Add @EnablePdx annotation to enable GemFire/Geode PDX serialization by default. 2018-02-07 13:25:23 -08:00
John Blum
1603150d54 Annotate all auto @Configuration classes with @AutoConfigureAfter to apply auto-configuration of the particular functional concern only after the Apache Geode/Pivotal GemFire ClientCache instance has been auto-configured. 2018-02-06 16:42:30 -08:00
John Blum
fdcaeaff1b Rename spring-boot-starter-data-gemfire module to gemfire-spring-boot-starter.
Rename spring-boot-starter-data-geode module to geode-spring-boot-starter.
2018-02-06 16:14:30 -08:00