5d27c19ef5
Initial implementation and tests for JIRA feature requests SGF-207 and SGF-254 supporting inheritable Region templates when defining GemFire Regions using Spring Data GemFire XML configuration meta-data. This feature allows common Region configuration and attribute values to be defined once and then shared across multiple Region bean definitions in the Spring context for added convenience.
John Blum
2014-08-19 11:41:51 -07:00
4121581dea
Additional code refactoring and cleanup to the strongly-typed, Region Namespace tests.
John Blum
2014-08-28 18:25:17 -07:00
84be164f60
Implements JIRA feature request SGF-309 adding support for compression of GemFire Cache Region data using the new Compressor attribute and property in the RegionAttributes API.
John Blum
2014-08-28 15:32:11 -07:00
b9a966e11a
Fixes JIRA bug SGF-312 allowing developers to declare/define and register multiple PartitionListeners on a Partitioned Region using nested inner bean and bean reference elements inside the <gfe:partition-listener> sub-element of the <gfe:partitioned-region> element in the SDG XML namespace (XSD).
John Blum
2014-08-27 23:08:39 -07:00
299dd49a79
Cleanup to the SDG dependency repository references, preferring Spring IO Repos over external repos (such as dist.gemstone.com). Added conditional logic around the GemFire 8 Distribution Configuration Properties in the CacheFactoryBean in an effort to enable SDG 1.5 to work with GemFire 7.x versions and earlier. Refactored the GemfireUtils class's logic for detecting GemFire Versions at runtime.
John Blum
2014-08-19 17:56:49 -07:00
96cb3775fb
Implements JIRA improvement SGF-223 enabling Spring Data GemFire to create GemFire Disk Store directory locations automatically (based on nested <gfe:disk-dir> elements inside the <gfe:disk-store> element specified in Spring config) without the user having to create the disk directories for the location manually, unlike GemFire's native configuration options (such as cache.xml).
John Blum
2014-08-15 15:45:58 -07:00
7137c60485
Adding additional integration tests to test the configuration of concurrent, parallel AsyncEventQueues and GatewaySenders in GemFire 8 using Spring Data GemFire.
John Blum
2014-08-15 17:06:02 -07:00
6e8353a6e2
Implements JIRA task SGF-269 removing the validation logic and restriction on creating concurrent, parallel GatewaySenders in GemFire, which is supported in GemFire 8 and above.
John Blum
2014-08-15 16:27:15 -07:00
0f0e6a7b52
Implements JIRA task SGF-270 removing the validation logic and restriction on creating concurrent, parallel AsyncEventQueues in GemFire, which is supported in GemFire 8 and above.
John Blum
2014-08-15 16:18:54 -07:00
5931f1292f
Fixed failing Spring GemFire integration tests (whem mocking is disabled) during the Nightly build: CacheNamespaceTest.testCacheWithAutoReconnectEnabled as well as all test cases in the DiskStoreAndEvictionRegionParsingTest test suite class. The test failures were caused by the introduction of the GemFire 8 dependency and new constraint enforcements. Also made additional modifications and cleanup to the CacheClusterConfigurationIntegrationTests and related classes/components and files in an attempt to get the test passing reliably in the Bamboo CI env. Seems a race condition is occuring between the time the Locator starts along with when the shared, cluster-based configuration service is actually running and when the GemFire Server date node (test class) requests the shared, persistent, cluster configuration from the Locator.
John Blum
2014-08-14 14:25:57 -07:00
dccdefe351
Additional changes to the CacheClusterConfigurationIntegrationTest to ascertain the test case (testClusterConfiguration) failure in the Bamboo CI environment. Modified ProcessExecutor to add to the Java launcher command-line of the forked Java process any System Properties that start with 'spring.gemfire.' Added a write(:File, contents:String) method to the FileUtils utility class.
John Blum
2014-08-13 16:11:56 -07:00
2eeb590d43
Re-organized SDG dependency version properties in gradle.properties.
John Blum
2014-08-13 16:08:26 -07:00
c71132fe6c
SGF-306 - After release cleanups.
Oliver Gierke
2014-08-13 16:29:32 +02:00
795f099953
SGF-306 - Prepare next development iteration.
Spring Buildmaster
2014-08-13 07:18:56 -07:00
f78719db09
SGF-306 - Release version 1.5.0.RC1 (Evans RC1).
Spring Buildmaster
2014-08-13 07:18:47 -07:00
a680fec5c2
SGF-306 - Updated changelog.
Oliver Gierke
2014-08-13 15:05:14 +02:00
9f992bcd47
SGF-303 - Updated changelog.
Oliver Gierke
2014-07-28 10:19:57 +02:00
67c2df6107
Disabling the CacheClusterConfigurationTest.testClusterConfiguration test case method.
John Blum
2014-08-13 01:26:19 -07:00
a93941fac2
Changing test output/logging to using System.out instead of System.err.
John Blum
2014-08-13 01:16:00 -07:00
d47003c1cb
Final changes to try and diagnose the CacheClusterConfigurationIntegrationTest failure (testClusterConfiguration test case) in the CI (Bamboo) build server environment in preperation for the 1.5.0.RC1 release of SDG.
John Blum
2014-08-13 00:28:42 -07:00
69df8e490c
Changed the LocatorProcess to enable GemFire log writer output to appear in the build output.
John Blum
2014-08-12 18:38:07 -07:00
2f167430cb
Removed references to Sun JDK Attach API classes (com.sun.tools.attach.VirtualMachine and com.sun.tools.attach.VirtualMachineDescriptor) used to assess whether a JVM-based process was still currently running.
John Blum
2014-08-12 15:22:38 -07:00
277ad35b30
Upgraded SDG to GemFire 8.0.0 GA.
John Blum
2014-08-12 13:04:39 -07:00
65b0793a03
Additional changes for SGF-226 supporting cluster-based configuration in GemFire 8 based on latest changes to the shared, persistent cluster configuration service in preparation for the 8.0 release. The recent changes in SDG for the shared, persistent cluster-based configuration feature are based on GemFire RC build number r48398.
John Blum
2014-08-11 19:21:33 -07:00
6cb2301c32
Additional changes for JIRA feature request SGF-226 supporting GemFire's new Cluster-based Configuration Service. Renamed the CacheUsingSharedConfigurationIntegrationTest class to CacheClusterConfigurationIntegrationTest and added an additional test case to assert the default, non-use of cluster configuration behavior. Renamed GemFire System properties references for enabling/disabling Cluster Config based revision r48252 in GemFire 8.
John Blum
2014-07-28 15:29:23 -07:00
f427125669
Implements JIRA feature request SGF-226 enabling Spring Data GemFire to retrieve the shared, persistent cluster configuration from a GemFire 8 Locator Shared Configuration service when the SDG configured peer cache member joins the cluster.
John Blum
2014-07-17 20:27:20 -07:00
76aa819be7
Implements JIRA feature request SGF-227 adding support for GemFire 8.0's auto-reconnect functionality on forced disconnects.
John Blum
2014-07-09 23:03:14 -07:00
d8896fd05b
Final updates to SDG's build.gradle script to resolve GemFire 7.5 build artifact snapshots in order to build SDG with support for GemFire 7.5 features and functionality.
John Blum
2014-07-08 16:10:03 -07:00
358aa55304
Upgrades Spring Data GemFire 1.5 to GemFire 7.5.
John Blum
2014-07-08 16:04:49 -07:00
324b25e5cf
Fixes JIRA issue SGF-304 changing the GroupMembersFunctionExecution class to call the correct GemFire com.gemstone.gemfire.cache.execute.FunctionService method, onMembers(groups:String[]) (plural). Performed additional refactoring in related classes.
John Blum
2014-08-11 16:21:58 -07:00
0e3b8885d4
Fixed test issue in GatewayReceiverNamespaceTest class which caused a com.gemstone.gemfire.management.ManagementException: javax.management.InstanceAlreadyExistsException: GemFire:service=GatewayReceiver,type=Member,member=10.237.177.13(80647)-24771 when mocking was disabled and true integration testing was performed in the SDG build/test run.
John Blum
2014-07-30 23:31:38 -07:00
f9cbc89cd3
Re-organized SDG dependency version properties in gradle.properties.
John Blum
2014-07-29 14:43:42 -07:00
76d44ca970
SGF-298 - After release cleanups.
Oliver Gierke
2014-07-10 20:40:44 +02:00
e70bb5dd92
SGF-298 - Prepare next development iteration.
Spring Buildmaster
2014-07-10 10:51:55 -07:00
cc81d0f97a
SGF-298 - Release version 1.5.0.M1.
Spring Buildmaster
2014-07-10 10:51:51 -07:00
98c4711b10
SGF-298 - Updated changelog.
Oliver Gierke
2014-07-10 17:14:41 +02:00
e7a8102478
SGF-293 - Updated changelog.
Oliver Gierke
2014-06-30 15:01:14 +02:00
7493f84170
Completes JIRA task SGF-299 upgrading Spring Data GemFire 1.5.0.M1 to Spring Framework 4.0.6.RELEASE.
John Blum
2014-07-08 13:50:18 -07:00
48e874c852
Re-implemented the toObjectArray method using System.arraycopy.
John Blum
2014-07-08 00:16:27 -07:00
e7059a370c
Fixes JIRA issue SGF-297 enabling Spring Data GemFire POJO, Function annotated methods to be invoked from Gfsh when arguments are injected during Function argument resolution.
John Blum
2014-07-07 23:50:45 -07:00
34bc5da8a1
Completes JIRA improvement SGF-294 allowing GemFire Gateway Receivers to be configured for manual start using the Spring Data GemFire XML namespace. This commit completes the improvement in the 1.5 XSD for the SDG 1.5.0.M1 (Evans) release.
John Blum
2014-07-07 18:28:40 -07:00
db066287b0
Completes JIRA improvement SGF-294 allowing GemFire Gateway Receivers to be configured for manual start using the Spring Data GemFire XML namespace. This commit completes the improvement in the 1.4 XSD first in order to backport the feature to the SDG 1.4.2 release.
John Blum
2014-07-07 18:25:33 -07:00
1ed3ad4295
Fixed test issues in SubRegionNamespaceTest class involving Region fullPath property assertions.
John Blum
2014-07-07 13:31:43 -07:00
8a8d0d89ff
Fixes JIRA issue SGF-295 allowing all Eviction Policy Actions (LOCAL_DESTROY, OVERFLOW_TO_DISK) to be specified on Local Regions configured using the Spring Data GemFire XML namespace. This commit resolves the issue in the 1.5 XSD for the SDG 1.5.0.M1 (Evans) release.
John Blum
2014-07-07 13:09:55 -07:00
1df9454524
Fixes JIRA issue SGF-295 allowing all Eviction Policy Actions (LOCAL_DESTROY, OVERFLOW_TO_DISK) to be specified on Local Regions configured using the Spring Data GemFire XML namespace. This commit resolves the issue in the 1.4 XSD first in order to backport the fix to the SDG 1.4.2 release.
John Blum
2014-07-07 13:07:51 -07:00
1233a4bbb2
Completes SGF-296 - adding SDG XML schemas (XSDs) for both the spring-gemfire (gfe) XML namespace as well as the spring-data-gemfire (gfe-data) XML namespace. Switches the default XSDs to the 1.5 versions, respectively.
John Blum
2014-07-03 17:29:48 -07:00
8cc46ac0fc
Upgraded Spring Data GemFire 1.5 to Spring Framework 4.0.5.
John Blum
2014-06-19 15:44:26 -07:00
dec5e95433
Link to Pivotal product page (not VMware)
Dave Syer
2014-06-03 10:03:05 +01:00
ff11bd384d
Fixed message in assertion and overrode the assertInitialized method of LazyWiringDeclarableSupport in the inner, static UserDataStoreCacheLoader test class to properly assert that the Spring defined DataSource dependency was properly configured.
John Blum
2014-06-24 19:07:55 -07:00
1920ce4ba1
Fixes JIRA issue SGF-290 handling custom OQL statements specified with an @Query annotated Repository method that returns neither a Collection nor a Entity-based result, such as the case with SELECT count(*) FROM /Region ... based queries returning an Integer count.
John Blum
2014-06-16 20:01:34 -07:00
33437c23e0
Re-organized SDG dependency version properties in gradle.properties.
John Blum
2014-05-22 16:04:29 -07:00
b1e3cc121a
SGF-286 - After release cleanups.
Oliver Gierke
2014-05-20 19:43:57 +02:00
f79e988797
SGF-286 - Prepare next development iteration.
Spring Buildmaster
2014-05-20 10:18:08 -07:00
924bcb73bb
SGF-286 - Release version 1.4.0.RELEASE.
Spring Buildmaster
2014-05-20 10:18:02 -07:00
c8cada3935
SGF-286 - Updated changelog.
Oliver Gierke
2014-05-20 16:26:36 +02:00
d5710eee96
SGF-287 - Upgraded to Spring 3.2.9.RELEASE.
Oliver Gierke
2014-05-20 14:39:05 +02:00
9aab9ac79e
Additional Spring Data GemFire Reference Guide changes and additions to round out the new feature documentation in Spring Data GemFire 1.4.
John Blum
2014-05-19 23:34:42 -07:00
88e2b2b60e
Refactored and performed cleanup in the Spring Data GemFire Reference Guide. Added chapter on Bootstrapping a Spring ApplicationContext from GemFire using Gfsh.
John Blum
2014-05-19 18:58:37 -07:00
edb0432987
Add the Spring IO plugin
Andy Wilkinson
2014-05-14 12:37:07 +01:00
17ec3138c8
Completed SGF-272 refactoring SDG API Javadoc comments as well as cleaning up all Javadoc warnings reported by the SDG Gradle-based build when building on Java 7 and Java 8.
John Blum
2014-05-07 19:46:56 -07:00
98441b9a14
Modified the testLookupQueryService method to use pure mock objects to test the lookup behavior and conditional statements. Added an assertion to the testLookupLocalQueryService test case to verify that the RegionService.getQueryService() method is 'never' called.
John Blum
2014-05-05 11:46:52 -07:00
c15a430419
Fixed failing testLookupQueryService test when mocks are not enabled. In addition, assured the tests passes with or without mocks enabled.
John Blum
2014-05-05 09:44:17 -07:00
e1ba156e04
Re-organized SDG dependency version properties in gradle.properties.
John Blum
2014-05-02 15:07:39 -07:00
14754be03e
Implements SGF-274 removing the use of temporary callback objects passed to the 'templated' execute method for each operation implementation in order to reduce the memory footprint, especially in the context of Repositories.
John Blum
2014-05-02 14:46:42 -07:00
7ef62a0c0f
SGF-283 - After release cleanups.
Oliver Gierke
2014-05-02 15:26:52 +02:00
6d11bc099b
SGF-283 - Prepare next development iteration.
Spring Buildmaster
2014-05-02 06:04:49 -07:00
825fbb72f0
SGF-283 - Release version 1.4.0.RC1.
Spring Buildmaster
2014-05-02 06:04:46 -07:00
a2d1e2ee70
SGF-283 - Prepare 1.4.0.RC1.
Oliver Gierke
2014-05-02 14:40:27 +02:00
157f13cfcc
SGF-283 - Updated changelog.
Oliver Gierke
2014-05-02 14:39:47 +02:00
0bdf1dd691
Updated the SDG build.gradle Maven repository references to include Spring IO's libs-release and libs-milestone. In addition, moved the AMZN S3 Maven Repo to the top of the list to ensure the GemFire artifacts are pulled from the source.
John Blum
2014-04-29 12:03:01 -07:00
426c110187
Implements JIRA improvement SGF-281 involving the addition of logic in SDG to avoid setting the Disk Store Name on the RegionAttributes used to a create a Region in the RegionFactoryBean when the Region is neither 'persistent' nor has an Eviction policy of Overflow To Disk. GemFire erroneously throws an IllegalStateException when the Region references a Disk Store but is not configured with persistence or overflow, which should not matter. Also fixed JIRA issues SGF-282 where the Eviction 'action' is ignored for PARTITION Regions when the 'threshold' is not set.
John Blum
2014-04-28 15:55:05 -07:00
0c25e14be9
Fixes JIRA issue SGF-273 - OrderBy (static) and Sort parameter (dynamic) Repository Queries do not work.
John Blum
2014-04-28 15:37:30 -07:00
8fd0b0bf6d
Fixes JIRA issue SGF-277 - OQL Join in Repository Interface.
John Blum
2014-04-28 14:21:45 -07:00
edca5232a4
Fixes JIRA issues SGF-271 - <cq-listener-container> element is missing the 'auto-startup' attribute, SGF-275 - <cq-listener-container> element's phase attribute is ignored, SGF-278 - ContinuousQueryListenerContainer class's 'taskExecutor' property is not set properly by the GemfireListenerContainerParser, SGF-279 - <cq-listener-container> element is missing the 'error-handler' attribute, and finally, SGF-280 - the ContinuousQueryListenerContainer class is not Thread-safe.
John Blum
2014-04-28 13:34:44 -07:00
83fde996b5
Merge branch 'sgf268' of github.com:jxblum/spring-data-gemfire into jxblum-pr64
John Blum
2014-04-21 11:50:19 -07:00
163e36497c
Fixes JIRA issues SGF-271 - <cq-listener-container> element missing the 'auto-startup' attribute, SGF-275 - <cq-listener-container> element's phase attribute is ignored, SGF-278 - ContinuousQueryListenerContainer class's 'taskExecutor' property is not set properly by the GemfireListenerContainerParser, SGF-279 - <cq-listener-container> element is missing the 'error-handler' attribute, and finally, SGF-280 - the ContinuousQueryListenerContainer class is not Thread-safe.
John Blum
2014-04-18 23:01:02 -07:00
dc289b478e
Refactored and cleaned up Javadoc.
John Blum
2014-04-16 23:30:06 -07:00
e6066d60c0
Declared and implemented the findAll(:Sort) method from the SDC's PagingAndSortingRepository abstraction in SDG given GemFire supports ORDER BY in Queries.
John Blum
2014-04-16 21:11:54 -07:00
7c354f59d6
Refactored and cleaned up deprecated and unchecked/unsafe Java and GemFire API usage.
John Blum
2014-04-16 13:22:59 -07:00
dbf593d409
Added test cases to test and assert the correct behavior of the StringBasedGemfireRepositoryQuery.toCollection(..) method for handling various GemFire Select Query result types.
John Blum
2014-04-16 09:36:06 -07:00
6ad31ba619
Resolves JIRA improvement SGF-265, appropriately handling the 'new' Query result type (ResultsCollectionPdxDeserializerWrapper) introduced and returned by GemFire's Querying infrastructure in 7.0.2, breaking backwards compatibility with 7.0.1 for certain types of Queries.
John Blum
2014-04-10 12:06:42 -07:00
bf21a98e85
Upgrades Spring Data GemFire to GemFire 7.0.2.
John Blum
2014-03-31 17:37:06 -07:00
3e300ddaf5
Added additional Gradle properties for SDG dependency version numbers. Re-organized the dependency declarations in build.gradle and changed version references to use Gradle properties from gradle.properties.
John Blum
2014-04-14 16:41:03 -07:00
4ae0be7860
Fixed compilation issues on JDK 7 and JDK 8. Refactored the DataSourceAdapter abstract, supporting class to implement the Java 7 DataSource.getParentLogger():Logger method.
John Blum
2014-04-13 17:42:57 -07:00
7630d0b4df
Update dependencies
Andy Wilkinson
2014-04-10 14:29:18 +01:00
fe15c81da1
Included change log notes for the SDG 1.3.4 release. Updated the SDG dependency declarations in the build.gradle file to properly 'exclude' the 'commons-logging' transitive dependency included by the Spring Framework dependencies.
John Blum
2014-04-04 14:18:59 -07:00
a2a9707f02
SGF-266 - Prepare next development iteration.
Spring Buildmaster
2014-03-31 08:10:15 -07:00
3da016b4dc
SGF-266 - Release version 1.4.0.M1.
Spring Buildmaster
2014-03-31 08:10:12 -07:00
d400c78fb6
Completes JIRA ticket SGF-260 adding support for @Id annotated domain entity interface and class methods in addition to domain entity class fields. This change replaces the DefaultGemfireEntityInformation class's PersistentEntityBasedEntityInformation implementation of the EntityInformation interface to use the new Spring Data Commons org.springframework.data.repository.core.support.PersistentEntityInformation class. Now, DefaultGemfireEntityInformation extends PersistentEntityInformation directly and uses the GemfirePersistentEntity mapping meta-data to retrieve information about the domain entity's id.
John Blum
2014-03-27 12:44:25 -07:00
7f5eb6edb6
Additional changes for SGF-260 supporting @Id annotations on domain entity class or interface methods in addition to domain entity class fields. This change replaces the use of the org.springframework.data.repository.core.support.ReflectionEntityInformation in the DefaultGemfireEntityInformation class with an internal implementation of SDC EntityInformation interface based on the GemfirePersistentEntity instance passed to the DefaultGemfireEntityInformation class during construction.
John Blum
2014-03-26 17:02:59 -07:00
c027e73131
Completes testing for SGF-260, which enables the Spring Data Commons @Id mapping annotation to be used on methods of domain interfaces or classes in addition to domain entity class fields. These test additions require DATACMNS-476 (https://jira.spring.io/browse/DATACMNS-476), with details in GitHub PR #76 (https://github.com/spring-projects/spring-data-commons/pull/76) to be included in the recent SDC 1.8.0.BUILD-SNAPSHOT, slated for the Spring Data Dijkstra release as M1.
John Blum
2014-03-25 13:23:19 -07:00
321728d7d5
Added appropriate synchronization around application event notification using the Spring ApplicationContext and ApplicationEventMulticaster. In addition, added support for late ContextRefreshedEvent notifications in the case where ApplicationListeners are registered after the ConfigurableApplicationContext has already been constructed, configured, initialized and refreshed. This latest feature is meant to support updates planned in the 7.5 GemFire release to the Gfsh 'deploy' command dynamically deploying and initializing Declarables in the JAR file. It is possible that Declarables are created and initialized in an unspecified order given there is not equivalent to Spring's Ordered interface in GemFire.
John Blum
2014-02-19 19:01:35 -08:00
f6ccc09c23
Added support to the SpringContextBootstrappingInitializer class for component scanning given a set of base packages to scan. Refactored LazyWiringDeclarableSupport to implement the DisposableBean interface in order for any extending bean component to unregister itself from the SpringContextBootstrappingInitializer to stop receiving ApplicationContext event notifications when destroyed. Fully tested the application component scanning and configuration using Annotations and JavaConfig-based configuration, uplifting some of the application components (UserDao, UserService, etc) from the integration test and adding a UserApplicationConfiguration @Configuration component in order to test this functionlity properly.
John Blum
2014-02-07 18:25:31 -08:00
ba84061b48
Completed all testing and interface/functional changes for SGF-248 - Bootstrapping a Spring ApplicationContext with GemFire.
John Blum
2014-01-27 18:45:53 -08:00