Commit Graph

62 Commits

Author SHA1 Message Date
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
John Blum
e877ff9d98 Update Maven project name and description to more accurately desribe the project and express its intent. 2018-04-03 19:08:00 -07:00
John Blum
2680af544d Add unit tests for a Spring-based, Apache Geode ClientCache application using mock objects. 2018-04-03 19:06:01 -07:00
John Blum
4a7d41ea13 Remove Spring IO Platform checks. 2018-04-03 18:46:50 -07:00
John Blum
cd7c79a6f2 Edit and reformat README. 2018-04-03 18:36:24 -07:00
John Blum
34bc2a1fa1 Set version to 0.0.1.BUILD-SNAPSHOT. 2018-04-03 18:36:24 -07:00
John Blum
29bf44c6c3 Rename Maven project and artifact to 'spring-test-data-geode'. 2018-04-03 18:36:24 -07:00
John Blum
fe6237d640 Upgrade to the Spring Gradle Build Conventions 0.0.15.RELEASE. 2018-04-03 18:36:23 -07:00
John Blum
693bdecd13 Update the scripted Gradle Wrapper command-line to clean build artifacts, refresh dependencies and run as a non-daemon process. 2018-04-03 18:35:46 -07:00
John Blum
a0882691ce Convert README to an Asciidoc file.
Add Travis CI build status to README.
2018-04-03 12:50:54 -07:00
John Blum
a49e7e72f4 Add Travis CI build configuration file. 2018-04-03 12:36:16 -07:00
John Blum
17c27bfa3b Edit README. 2018-04-03 12:28:15 -07:00
John Blum
36081d35ad Apply polish. 2018-04-03 11:58:36 -07:00
John Blum
a9f8705013 Rename the project and artifact to 'spring-data-test-geode'. 2018-04-03 11:28:01 -07:00
John Blum
9253d94bdc Rename all o.s.d.g.tests.mock.*.MockGemFireObjects* classes to GemFireMockObjects*. 2018-04-03 08:49:25 -07:00
John Blum
1fc21c6587 Fix Javadoc warnings. 2018-04-03 08:33:41 -07:00
John Blum
810842ef47 Add Gradle project build scripts and configuration files. 2018-04-02 22:50:34 -07:00
John Blum
12c608aeaf Update .gitignore to ignore the Gradle build/ directory. 2018-04-02 22:50:26 -07:00
John Blum
d95b19bf98 Update .gitignore to ignore the .gradle/ directory. 2018-04-02 13:27:46 -07:00
John Blum
f464f2ed80 Add Jenkinsfile for Jenkins CI builds. 2018-04-02 13:27:46 -07:00
John Blum
30ac8b6720 Install the Gradle Wrapper (gradlew) version 4.6. 2018-04-02 13:27:25 -07:00
John Blum
e89a30ac90 Set version to 0.0.1.BUILD-SNAPSHOT. 2018-03-22 10:46:01 -07:00