Commit Graph

84 Commits

Author SHA1 Message Date
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
1160d67dee Change groupId from 'org.springframework.boot' to 'org.springframework.data'.
Addresses GH Issue #6.
2018-05-15 13:54:15 -07:00
John Blum
3002d4ca6b Upgrade to Mockito 2.18.3.
Upgrade to core Spring Framework 2.0.6.RELEASE.

Upgrade to Spring Boot 2.0.2.RELEASE.

Upgrade to Spring Data GemFire 2.0.7.RELEASE.

Upgrade to Spring Data Geode 2.0.7.RELEASE.

Upgrade to Spring Data Release Train Kay-SR7.

Upgrade to Spring IO Platform Cairo-RELEASE.
2018-05-09 17:37:41 -07:00
John Blum
9f62f3cd1b Correct grammar. 2018-05-09 17:35:04 -07:00
John Blum
9c83a21fef Change branding from Geode to Apache Geode.
Change branding from GemFire to Pivotal GemFire.

Change branding from Spring Data Geode to Spring Data for Apache Geode.

Change branding from Spring Data GemFire to Spring Data for Pivotal GemFire.

Change branding from Spring Boot Data GemFire/Geode to Spring Boot for Pivotal GemFire and Apache Geode, respectively.

Change branding from Spring Session Data GemFire/Geode to Spring Session for Pivotal GemFire and Apache Geode, respectively.
2018-05-09 12:19:33 -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
6ef9192517 Upgrade to Spring Gradle Build Conventions 0.0.15.RELEASE. 2018-04-03 19:34:05 -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
29438d9768 Add Travis CI build status to the README. 2018-04-03 12:44:24 -07:00
John Blum
dfbbf08ce0 Add Travis CI build configuration file. 2018-04-03 12:35:04 -07:00
John Blum
2a5cb36398 Remove 'Deploy Docs' stage. 2018-03-22 14:49:50 -07:00
John Blum
87f2acada9 Fix Ant glob path expression for 'Check' stage junit test results. 2018-03-22 14:38:48 -07:00
John Blum
cdd3c2702b Upgrade to Gradle 4.6. 2018-03-22 13:42:26 -07:00
John Blum
b2585595c9 Fix formatting typo in README. 2018-03-20 12:51:55 -07:00
John Blum
67d9477919 Upgrade to AssertJ 3.9.1.
Upgrade to Mockito 2.15.0.

Upgrade to Spring Framework 5.0.4.RELEASE.

Upgrade to Spring Boot 2.0.0.RELEASE.
2018-03-20 12:47:46 -07:00
John Blum
a9b9397f85 Add Jenkinsfile build configuration. 2018-03-20 12:40:52 -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