John Blum
9867a51bb1
Switch dependency management to Spring Boot Dependencies BOM to manage all project dependency versions.
2018-06-21 16:43:41 -07:00
John Blum
3eb2639ef1
Upgrade to Spring Build Conventions Gradle Plugin 0.0.16.RELEASE.
2018-06-21 16:42:58 -07:00
John Blum
1195c89ad0
Rename spring-test-data-gemfire module to spring-data-gemfire-test.
...
Rename spring-test-data-geode module to spring-data-geode-test.
2018-06-01 18:25:30 -07:00
John Blum
827383e5f2
Format source code.
2018-06-01 18:10:55 -07:00
John Blum
6e5d14499b
Increase timeout for subscription-based connections in client/server integration tests to 30 seconds.
2018-05-31 14:08:04 -07:00
John Blum
e0acf8254d
Unit test GemFire Mock Object destruction at the end of test execution.
2018-05-31 12:51:20 -07:00
John Blum
f543fb5d13
Add test suite tear down method (hook) to properly release GemFire Mock Object resources.
2018-05-31 12:30:16 -07:00
John Blum
982f4fe850
Cache constructed GemFire Mock Objects and destroy the 'disposable' objects properly at the end of test execution.
2018-05-31 12:29:37 -07:00
John Blum
dd20792db7
Instantiate Apache Geode/Pivotal GemFire objects declared in (System) properties.
2018-05-30 16:28:14 -07:00
John Blum
e05d0a4b6b
Provide abstract base class implementation of the o.a.g.security.SecurityManager interface.
2018-05-30 16:27:39 -07:00
John Blum
4f61c6e94f
Rename o.s.d.g.MockClientCacheApplicationTest to MockClientCacheApplicationIntegrationTests.
2018-05-30 15:03:08 -07:00
John Blum
a5d54623ed
Add support to capture/store the Apache Geode/Pivotal GemFire (System) Properties from the CacheFactory and ClientCacheFactory classes, respectively.
2018-05-30 13:59:52 -07:00
John Blum
f67bb83d2c
Add after test class clean up to clear all Spring, Pivotal GemFire and Apache Geode System properties.
2018-05-30 13:58:47 -07:00
John Blum
8d91a2a31d
Add test suite setup logic to clear any existing Apache Geode/Pivotal GemFire network Socket configuration.
...
Rename clearAllSpringPrefixedSystemProperties() to clearAllSpringDotPrefixedSystemProperties.
2018-05-29 19:22:15 -07:00
John Blum
363a146952
Rename clearSpringSystemProperties() to clearAllSpringPrefixedSystemProperties().
...
Annotate clearAllSpringPrefixedSystemProperties() to execute BeforeClass (i.e. pre-test execution).
2018-05-29 08:58:09 -07:00
John Blum
1dfdbada7c
Clear all 'spring.*' prefixed System properties after integration tests.
2018-05-28 23:30:31 -07:00
John Blum
d2fa7e8751
Do null-safe Apache Geode/Pivotal GemFire Server Process stop inside test suite tear down method.
2018-05-27 02:06:46 -07:00
John Blum
94f4cf6a59
Rename to SubscriptionEnabledClientServerIntegrationTestsConfiguration.
...
Add configuration flag to determine whether when a ClientCache subscription queue connection failure occurs a RuntimeException is thrown or the illegal state is simply logged.
2018-05-27 01:49:53 -07:00
John Blum
da4025af02
Add logging support.
2018-05-27 01:36:48 -07:00
John Blum
c9525f135f
Add support for an argument list when forking the Apache Geode/Pivotal GemFire server.
2018-05-27 00:18:50 -07:00
John Blum
b63dcd7806
Fix Javadoc link.
2018-05-26 23:45:52 -07:00
John Blum
c0efb856a5
Add test suite tear down logic to stop the forked Apache Geode/Pivotal GemFire Server.
...
Add test suite tear down logic to clear the CacheServer port System property.
Add test suite method to fork the Apache Geode/Pivotal GemFire Server given a Spring configuration class.
Add static class method to find an available port and set the CacheServer port System property.
Provide base Spring configuration classes with PDX enabled for client and servers.
2018-05-26 23:43:12 -07:00
John Blum
d29a295ec4
Add a base ClientServerIntegrationTestsConfiguration class with support to configure the ClientCache Pool port and CacheServer port using SDG Configurers registered as bean definitions in the Spring context.
...
Refactor SubscriptionEnabledClientServerIntegrationTestsConfiguration to extend ClientServerIntegrationTestsConfiguration.
2018-05-26 23:34:29 -07:00
John Blum
89731d7d31
Re-write integration test logic verifying subscription queue connections have been established between client and server.
2018-05-26 19:33:38 -07:00
John Blum
79769628e7
Install Maven Wrapper using Apache Maven 3.5.3.
2018-05-26 18:38:38 -07:00
John Blum
ef0596755e
Add support for ContinuousQueryListenerContainer and Pool beans in addition to Region beans.
2018-05-26 18:38:38 -07:00
John Blum
d81949074b
Rename doSafeOperation(..) methods to doOperationSafely(..).
...
Annotate the ExceptionThrowingOperation interface with @FunctionalInterface.
Catch and handle Throwable in rethrowAsRuntimeException(:ExceptionThrowingOpeation).
2018-05-26 18:38:38 -07:00
John Blum
5a9dda7da8
Fix Javadoc.
2018-05-26 18:38:38 -07:00
John Blum
f8d23a3888
Add new class for forking a CacheServer in client/server integration tests.
...
Note that this class is incomplete and a WIP.
2018-05-26 18:38:38 -07:00
John Blum
cd932a4845
Fix subscription enabled client/server integration tests logistics to properly detect the need to query whether the CacheServer is running.
2018-05-26 18:38:26 -07:00
John Blum
b5216f2bc4
Add Javadoc.
2018-05-24 18:13:10 -07:00
John Blum
83dbec58be
Add proper handing and support for subscription-enabled, client/server integration tests configuration.
2018-05-24 17:51:50 -07:00
John Blum
1cf1748e7e
Add test suite setup method to close any existing GemFireCache instance before test execution.
2018-05-23 21:01:46 -07:00
John Blum
f232ddf894
Refactor common integration test logic into the o.s.d.g.tests.integration.IntegrationTestsSupport class.
...
Add utility method to close a o.a.g.cache.GemFireCache instance and wait on the cache closed event.
2018-05-23 19:55:32 -07:00
John Blum
69226895d9
Declare build a SUCCESS by default.
...
Innocent unil proven guilty!
2018-05-17 21:39:15 -07:00
John Blum
2493d36148
Update Copyright to 2018.
2018-05-17 21:35:22 -07:00
John Blum
d3dc626277
Reorganize project as a multi-module project with modules for both Spring Data for Apache Geode and Pivotal GemFire.
...
Create Maven build files for modules.
Create Gradle build files for modules.
2018-05-17 21:07:54 -07:00
John Blum
df7cacdcbd
Upgrade to Mockito 2.18.3.
...
Upgrade to Spring Framework 5.0.6.RELEASE.
Upgrade to Spring Boot 2.0.2.RELEASE.
Upgrade to Spring Data for Apache Geode 2.1.0.M3.
Upgrade to Spring Data for Pivotal GemFire 2.1.0.M3.
Upgrade to Spring Data Release Train Lovelace-M3.
2018-05-17 16:11:16 -07:00
John Blum
dab9457a76
Upgrade to Spring Build Conventions (for Gradle) 0.0.15.RELEASE.
2018-05-17 16:08:12 -07:00
John Blum
aae57dc8b3
Change title.
2018-05-15 14:35:24 -07:00
John Blum
95a9e1221f
Fix bug in the mockQueryService() method storing the created CqQueries and OQL Indexes in an instance of java.util.concurrent.ConcurrentSkipListSet, which requires the o.a.g.cache.query.Index interface to implement java.lang.Comparable.
...
Fix bug in the mockLuceneIndexFactory() method, setFields(:String[]) method on the o.a.g.cache.lucene.LuceneIndexFactory to properly handle the String array argument.
2018-05-09 16:38:41 -07:00
John Blum
bd7dacc41f
Adding settings.gradle to explicitly set the rootProject.name property.
...
Update the project description.
2018-05-01 11:22:33 -07:00
John Blum
e0aab3b0f4
Upgrade to 'org.springframework.data:spring-data-parent' version 2.0.6.RELEASE.
2018-05-01 11:22:08 -07:00
John Blum
eba983e1ec
Change branding for GemFire to Pivotal GemFire.
...
Add note about documentation and examples coming soon.
2018-04-30 17:40:44 -07:00
John Blum
dfeb09c13e
Add Mock Object support for Apache Geode Lucene integration.
2018-04-30 15:45:16 -07:00
John Blum
47288f39f1
Upgrade to core Spring Framework 5.0.5.RELEASE.
...
Upgrade to Spring Boot 2.0.1.RELEASE.
Upgrade to Spring Data GemFire 2.1.0.M2.
Upgrade to Spring Data Geode 2.1.0.M2.
Upgrade to Spring Data Release Train Lovelace-M2.
Upgrade to Spring IO Platform Cairo-RELEASE.
Set and override 'apache-geode.version' to '1.4.0.'.
Add Repository declaration for repo.spring.io/libs-snapshot.
2018-04-30 15:44:25 -07:00
John Blum
8e72e05efb
Upgrade to Spring Data Release Train Lovelace-M2.
2018-04-30 15:41:52 -07:00
John Blum
6fd9cb1309
Change conditional logic for determining 'SUCCESS'.
2018-04-30 15:26:28 -07:00
John Blum
2aa2658aaa
Fix compiler warnings.
2018-04-10 13:26:37 -07:00
John Blum
950a456c88
Add mock object support for Region o.a.g.cache.AttributesMutator and o.a.g.cache.EvictionAttributesMutator.
2018-04-10 13:24:18 -07:00