John Blum
02ca816264
Add integration tests for auto-configuration of Apache Geode/Pivotal GemFire Continuous Query support.
2018-05-24 12:56:22 -07:00
John Blum
93767f5ffb
Register a ClientCacheConfigurer to enable subscriptions on the ClientCache instance.
...
Fix @ConditionalOnBean to be conditional on a bean of type o.s.d.g.client.ClientCacheFactoryBean.
Remove @AutoConfigureAfter the ClientCacheAutoConfiguration.
2018-05-24 12:55:38 -07:00
John Blum
0b3c81fe0b
Add example model of Apache Geode/Pivotal GemFire CQ query event handlers and types.
2018-05-24 12:53:34 -07:00
John Blum
d3aa26a3ee
Refactor all integration test classes to extend o.s.d.g.tests.integration.IntegrationTestsSupport.
...
Add test suite setup method to close any existing GemFireCache instance before test execution.
2018-05-23 20:32:40 -07:00
John Blum
dc63e34bc4
Add test compile dependency and dependency management for org.springframework.data:spring-test-data-geode 0.0.1.BUILD-SNAPSHOT.
2018-05-23 20:09:29 -07:00
John Blum
1f8b98550d
Add synchronizaton block surrounding the TimeUnit.timedWait(..) invocation inside getResult(duration:long, :TimeUnit).
2018-05-23 20:00:52 -07:00
John Blum
126f386dfc
Change the Function executions to onMember(..) calls by placing the (cache) client in a group.
2018-05-23 19:02:16 -07:00
John Blum
efc645b3a7
Fix Javadoc.
2018-05-23 18:52:35 -07:00
John Blum
05267ee8bf
Add integration tests for Function implementation and execution auto-configuration.
2018-05-23 18:42:40 -07:00
John Blum
ced7b60deb
Rename o.s.b.d.g.autoconfigure.RepositoriesAutoConfigurationRegistrar to GemFireRepositoriesAutoConfigurationRegistrar.
2018-05-23 13:44:07 -07:00
John Blum
83a014682b
Rename the nested EnableGeodeRepositoriesConfiguration class to EnableGemFireRepositoriesConfiguration.
2018-05-23 09:33:33 -07:00
John Blum
91438a69ff
Change incorrect sun.util.resources.LocaleData type for publishedDate property to java.time.LocalDate.
...
Add Javadoc.
2018-05-22 18:14:54 -07:00
John Blum
3c2d0f558c
Add integration tests for Spring's Cache Abstraction with Apache Geode auto-configured as the caching provider.
2018-05-22 18:08:22 -07:00
John Blum
357076b448
Add example Books application and domain types.
2018-05-22 18:08:22 -07:00
John Blum
9020b6248a
Add protected nextId() method to acquire the next identifier in the sequence.
...
Change getCustomerRepository() as a non-final method.
Refactor save(:Customer) to use nextId().
2018-05-22 18:08:22 -07:00
John Blum
615509d337
Rename AutoConfiguredRepositoryIntegrationTests to AutoConfiguredRepositoriesIntegrationTests.
2018-05-22 17:12:44 -07:00
John Blum
1d9250a9ba
Add test runtime dependency on the JCache API 1.0.0.
2018-05-22 17:11:34 -07:00
John Blum
1363ab80d0
Add integration tests for SDG Repository auto-configuration support.
2018-05-22 14:31:17 -07:00
John Blum
0b97742411
Add project test dependency on Lombok 1.16.20.
2018-05-22 14:23:53 -07:00
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