8bd76409f8
Refactor the clientCachePoolSocketConnectTimeoutBeanPostProcessor bean definition to be conditional on the presence of the setSocketConnectTimeout(:int) method on the ClientCacheFactoryBean class.
John Blum
2018-08-14 17:55:47 -07:00
62acd73133
Refactor and compose the ClientCache DEFAULT Pool and any explicit Pool Socket connect timeout configuration handlers into a single BeanPostProcessor.
John Blum
2018-08-14 16:43:32 -07:00
86dd856b6b
Edit Javadoc.
John Blum
2018-08-14 16:36:04 -07:00
75772ee1d4
Re-implement findAvailablePort() to setReuseAddress to true before creating and binding the Socket.
John Blum
2018-08-14 16:34:55 -07:00
f83692b82e
Rename clearAllSpringApacheGeodeAndPivotalGemFireDotPrefixedSystemProperties to clearAllGemFireGeodeAndSpringDotPrefixedSystemProperties.
John Blum
2018-08-14 16:32:30 -07:00
889368868e
Reverse order of client-server connectivity verification by first handling the memberJoined event followed by successful Subscription Queue initialization.
John Blum
2018-08-14 00:42:16 -07:00
e3bc02d419
Add static @Configuration class to configure an embedded Locator & Manager service, enabled via a Spring profile.
John Blum
2018-08-13 15:25:30 -07:00
640218dc1f
Add Condition on propertyPlaceholderConfigurer bean definition verifying that Spring Boot is absent before registering the bean.
John Blum
2018-08-13 13:12:05 -07:00
5fd1382a50
Rename shouldVerifyGemFireServerIsRunning(..) to doVerifyGemFireServerIsRunning(..).
John Blum
2018-08-13 13:05:20 -07:00
80d09144b4
Add static PropertySourcesPlaceholderConfigurer bean definition for resolving Spring @Value annotation property placeholders.
John Blum
2018-08-13 13:03:22 -07:00
68b25ebdb9
Add overridable, protected processBeforeRefresh(:ConfigurableApplicationContext):ConfigurableApplicationContext method and call in the newApplicationContext(..) method before the ApplicationContext is refreshed.
John Blum
2018-08-13 13:02:07 -07:00
138b0b57aa
Rename clearAllSpringGeodeGemFireDotPrefixedSystemProperties to clearAllSpringApacheGeodeAndPivotalGemFireDotPrefixedSystemProperties.
John Blum
2018-08-13 13:00:21 -07:00
61823ec845
Upgrade to Gradle 4.9.
John Blum
2018-08-08 18:56:38 -07:00
20b822d52f
Upgrade to Apache Maven 3.5.4.
John Blum
2018-08-08 18:56:28 -07:00
64764d2829
Upgrade to Mockito 2.19.1.
John Blum
2018-08-08 18:51:42 -07:00
c174f008fe
Fix Region AttributesMutator initialization bug.
John Blum
2018-08-08 18:42:40 -07:00
eae35daef5
Fix closeApplicationContext() JUnit after test case method test callback to use @After annotation rather than @AfterClass.
John Blum
2018-06-21 17:30:58 -07:00
3488c5c41f
Upgrade to Gradle 4.8.
John Blum
2018-06-21 17:14:18 -07:00
6b1fcbc657
Add Integration Tests support for configuring, bootstrapping and properly closing a Spring ApplicationContext.
John Blum
2018-06-21 17:08:04 -07:00
9e7e57ec69
Upgrade to Spring Boot 2.1.0.BUILD-SNAPSHOT.
John Blum
2018-06-21 17:07:24 -07:00
4d806f089c
Upgrade to Apache Geode 1.6.0.
John Blum
2018-06-21 16:46:10 -07:00
9867a51bb1
Switch dependency management to Spring Boot Dependencies BOM to manage all project dependency versions.
John Blum
2018-06-21 16:43:41 -07:00
3eb2639ef1
Upgrade to Spring Build Conventions Gradle Plugin 0.0.16.RELEASE.
John Blum
2018-06-21 16:42:58 -07:00
1195c89ad0
Rename spring-test-data-gemfire module to spring-data-gemfire-test.
John Blum
2018-06-01 18:20:33 -07:00
827383e5f2
Format source code.
John Blum
2018-06-01 18:10:55 -07:00
6e5d14499b
Increase timeout for subscription-based connections in client/server integration tests to 30 seconds.
John Blum
2018-05-31 14:08:04 -07:00
e0acf8254d
Unit test GemFire Mock Object destruction at the end of test execution.
John Blum
2018-05-31 12:51:20 -07:00
f543fb5d13
Add test suite tear down method (hook) to properly release GemFire Mock Object resources.
John Blum
2018-05-31 12:30:16 -07:00
982f4fe850
Cache constructed GemFire Mock Objects and destroy the 'disposable' objects properly at the end of test execution.
John Blum
2018-05-31 12:29:37 -07:00
dd20792db7
Instantiate Apache Geode/Pivotal GemFire objects declared in (System) properties.
John Blum
2018-05-30 16:28:14 -07:00
e05d0a4b6b
Provide abstract base class implementation of the o.a.g.security.SecurityManager interface.
John Blum
2018-05-30 16:27:39 -07:00
4f61c6e94f
Rename o.s.d.g.MockClientCacheApplicationTest to MockClientCacheApplicationIntegrationTests.
John Blum
2018-05-30 15:03:08 -07:00
a5d54623ed
Add support to capture/store the Apache Geode/Pivotal GemFire (System) Properties from the CacheFactory and ClientCacheFactory classes, respectively.
John Blum
2018-05-30 13:59:52 -07:00
f67bb83d2c
Add after test class clean up to clear all Spring, Pivotal GemFire and Apache Geode System properties.
John Blum
2018-05-30 13:58:47 -07:00
8d91a2a31d
Add test suite setup logic to clear any existing Apache Geode/Pivotal GemFire network Socket configuration.
John Blum
2018-05-29 19:20:03 -07:00
363a146952
Rename clearSpringSystemProperties() to clearAllSpringPrefixedSystemProperties().
John Blum
2018-05-29 08:58:09 -07:00
1dfdbada7c
Clear all 'spring.*' prefixed System properties after integration tests.
John Blum
2018-05-28 23:30:31 -07:00
d2fa7e8751
Do null-safe Apache Geode/Pivotal GemFire Server Process stop inside test suite tear down method.
John Blum
2018-05-27 02:06:46 -07:00
94f4cf6a59
Rename to SubscriptionEnabledClientServerIntegrationTestsConfiguration.
John Blum
2018-05-27 01:38:25 -07:00
da4025af02
Add logging support.
John Blum
2018-05-27 01:36:48 -07:00
c9525f135f
Add support for an argument list when forking the Apache Geode/Pivotal GemFire server.
John Blum
2018-05-27 00:17:21 -07:00
b63dcd7806
Fix Javadoc link.
John Blum
2018-05-26 23:45:52 -07:00
c0efb856a5
Add test suite tear down logic to stop the forked Apache Geode/Pivotal GemFire Server.
John Blum
2018-05-26 23:42:33 -07:00
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.
John Blum
2018-05-26 23:34:29 -07:00
89731d7d31
Re-write integration test logic verifying subscription queue connections have been established between client and server.
John Blum
2018-05-26 18:37:33 -07:00
79769628e7
Install Maven Wrapper using Apache Maven 3.5.3.
John Blum
2018-05-26 17:19:06 -07:00
ef0596755e
Add support for ContinuousQueryListenerContainer and Pool beans in addition to Region beans.
John Blum
2018-05-26 17:08:57 -07:00
d81949074b
Rename doSafeOperation(..) methods to doOperationSafely(..).
John Blum
2018-05-26 17:03:51 -07:00
5a9dda7da8
Fix Javadoc.
John Blum
2018-05-26 15:51:48 -07:00
f8d23a3888
Add new class for forking a CacheServer in client/server integration tests.
John Blum
2018-05-26 15:49:18 -07:00
cd932a4845
Fix subscription enabled client/server integration tests logistics to properly detect the need to query whether the CacheServer is running.
John Blum
2018-05-26 15:48:42 -07:00
b5216f2bc4
Add Javadoc.
John Blum
2018-05-24 18:13:10 -07:00
83dbec58be
Add proper handing and support for subscription-enabled, client/server integration tests configuration.
John Blum
2018-05-24 17:51:50 -07:00
1cf1748e7e
Add test suite setup method to close any existing GemFireCache instance before test execution.
John Blum
2018-05-23 21:01:46 -07:00
f232ddf894
Refactor common integration test logic into the o.s.d.g.tests.integration.IntegrationTestsSupport class.
John Blum
2018-05-23 19:44:00 -07:00
69226895d9
Declare build a SUCCESS by default.
John Blum
2018-05-17 21:38:59 -07:00
2493d36148
Update Copyright to 2018.
John Blum
2018-05-17 21:35:22 -07:00
d3dc626277
Reorganize project as a multi-module project with modules for both Spring Data for Apache Geode and Pivotal GemFire.
John Blum
2018-05-17 20:54:32 -07:00
df7cacdcbd
Upgrade to Mockito 2.18.3.
John Blum
2018-05-17 16:10:49 -07:00
dab9457a76
Upgrade to Spring Build Conventions (for Gradle) 0.0.15.RELEASE.
John Blum
2018-05-17 16:08:12 -07:00
aae57dc8b3
Change title.
John Blum
2018-05-15 14:35:24 -07:00
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.
John Blum
2018-05-09 16:37:45 -07:00
bd7dacc41f
Adding settings.gradle to explicitly set the rootProject.name property.
John Blum
2018-05-01 11:22:33 -07:00
e0aab3b0f4
Upgrade to 'org.springframework.data:spring-data-parent' version 2.0.6.RELEASE.
John Blum
2018-05-01 11:22:08 -07:00
eba983e1ec
Change branding for GemFire to Pivotal GemFire.
John Blum
2018-04-30 17:36:43 -07:00
dfeb09c13e
Add Mock Object support for Apache Geode Lucene integration.
John Blum
2018-04-30 15:45:16 -07:00
47288f39f1
Upgrade to core Spring Framework 5.0.5.RELEASE.
John Blum
2018-04-30 15:44:25 -07:00
8e72e05efb
Upgrade to Spring Data Release Train Lovelace-M2.
John Blum
2018-04-30 15:41:52 -07:00
6fd9cb1309
Change conditional logic for determining 'SUCCESS'.
John Blum
2018-04-30 15:26:28 -07:00
2aa2658aaa
Fix compiler warnings.
John Blum
2018-04-10 13:26:37 -07:00
950a456c88
Add mock object support for Region o.a.g.cache.AttributesMutator and o.a.g.cache.EvictionAttributesMutator.
John Blum
2018-04-10 13:24:18 -07:00
e877ff9d98
Update Maven project name and description to more accurately desribe the project and express its intent.
John Blum
2018-04-03 19:08:00 -07:00
2680af544d
Add unit tests for a Spring-based, Apache Geode ClientCache application using mock objects.
John Blum
2018-04-03 19:05:28 -07:00
4a7d41ea13
Remove Spring IO Platform checks.
John Blum
2018-04-03 18:42:35 -07:00
cd7c79a6f2
Edit and reformat README.
John Blum
2018-04-03 18:34:36 -07:00
34bc2a1fa1
Set version to 0.0.1.BUILD-SNAPSHOT.
John Blum
2018-04-03 18:24:50 -07:00
29bf44c6c3
Rename Maven project and artifact to 'spring-test-data-geode'.
John Blum
2018-04-03 18:24:34 -07:00
fe6237d640
Upgrade to the Spring Gradle Build Conventions 0.0.15.RELEASE.
John Blum
2018-04-03 18:01:57 -07:00
693bdecd13
Update the scripted Gradle Wrapper command-line to clean build artifacts, refresh dependencies and run as a non-daemon process.
John Blum
2018-04-03 18:01:38 -07:00
a0882691ce
Convert README to an Asciidoc file.
John Blum
2018-04-03 12:50:54 -07:00
a49e7e72f4
Add Travis CI build configuration file.
John Blum
2018-04-03 12:36:16 -07:00
17c27bfa3b
Edit README.
John Blum
2018-04-03 12:11:00 -07:00
36081d35ad
Apply polish.
John Blum
2018-04-03 11:58:36 -07:00
a9f8705013
Rename the project and artifact to 'spring-data-test-geode'.
John Blum
2018-04-03 11:28:01 -07:00
9253d94bdc
Rename all o.s.d.g.tests.mock.*.MockGemFireObjects* classes to GemFireMockObjects*.
John Blum
2018-04-03 08:49:25 -07:00
1fc21c6587
Fix Javadoc warnings.
John Blum
2018-04-03 08:33:41 -07:00
810842ef47
Add Gradle project build scripts and configuration files.
John Blum
2018-04-02 22:49:34 -07:00
12c608aeaf
Update .gitignore to ignore the Gradle build/ directory.
John Blum
2018-04-02 22:48:48 -07:00
d95b19bf98
Update .gitignore to ignore the .gradle/ directory.
John Blum
2018-04-02 13:26:17 -07:00
f464f2ed80
Add Jenkinsfile for Jenkins CI builds.
John Blum
2018-04-02 13:25:59 -07:00
30ac8b6720
Install the Gradle Wrapper (gradlew) version 4.6.
John Blum
2018-04-02 13:25:10 -07:00
e89a30ac90
Set version to 0.0.1.BUILD-SNAPSHOT.
John Blum
2018-03-22 10:46:01 -07:00
7ed58ff8e8
Review, refactor and polish all Utility classes in the org.springframework.data.gemfire.tests.util package.
John Blum
2018-03-22 10:43:10 -07:00
92be8ef208
Set all @since Javadoc tags to 0.0.1.
John Blum
2018-03-22 10:32:03 -07:00
c928f29298
Review, refactor and polish all Process classes in the org.springframework.data.gemfire.tests.process package.
John Blum
2018-03-22 10:24:54 -07:00
e85d10108a
Add mock objects for o.a.g.cache.asyncqueue.AsyncEventQueueFactory and o.a.g.cache.asyncqueue.AsyncEventQueue.
John Blum
2018-03-21 23:41:59 -07:00
d36c1e425e
Clean up compiler warnings.
John Blum
2018-03-21 21:17:16 -07:00
cb0b3961db
Upgrade to Spring Data Build Parent 2.0.5.RELEASE.
John Blum
2018-03-21 21:16:36 -07:00
eae2022bfa
Fix Region.getEntry() for a given key by returning null if the Optional is empty.
John Blum
2017-12-15 22:41:47 -08:00
d817def8a5
Add support for mocking and creating GemFire/Geode o.a.g.cache.query.Indexes.
John Blum
2017-12-02 23:08:41 -08:00