Commit Graph

227 Commits

Author SHA1 Message Date
John Blum
743dd48127 SGF-358 - Enhance SDG's Function annotation support to allow strongly-typed arguments in the context of PDX even when read-serialized is set to true. 2014-12-12 16:42:30 -08:00
John Blum
cf99650add SGF-354 - SimpleGemfireRepository.deleteAll that supports transactions. 2014-12-10 21:32:35 -08:00
John Blum
f70852b9cd SGF-351 - Optimize the SDG test suite runtime with GemFire 8 now in the mix. 2014-11-18 18:56:10 -08:00
John Blum
043937e523 SGF-346 - Enable LazyWiringDeclarableSupport-based GemFire components to be used inside both cache.xml and Spring config, especially in the context of GemFire 8's Cluster Configuration. 2014-10-27 14:06:28 -07:00
John Blum
3d08dc1eaa SGF-343 - Optimize the SDG implementation of CrudRepository.save(Iterable<S> enttiies) to use GemFire's Region.putAll(Map<K, V> values) operation. 2014-10-16 13:59:36 -07:00
John Blum
664d53447f SGF-338 - Both <gfe:custom-entry-ttl> and <gfe:custom-entry-tti> SDG XML namespace elements allow for more than one 'CustomExpiry' bean to be set in the Region Expiration Attributes although GemFire only allows one! 2014-10-07 15:37:15 -07:00
John Blum
796226d0de SGF-331 - Pull common WAN attributes from GatewaySenders and AsyncEventQueues in the SDG XSD into the 'commonWANQueueAttributes' attributes group. 2014-10-06 22:09:49 -07:00
John Blum
2896bc00f3 SGF-335 - Refactor ProcessUtils and fix the GatewayReceiverNamespaceTest class hang in the Bamboo SDG Nightly Build when mocking is disabled. 2014-09-27 13:10:34 -07:00
John Blum
fccb737849 SGF-332 - Add support for the GatewaySender 'eventSubstitutionFilter' property in the SDG XSD and GatewaySenderFactoryBean API. 2014-09-25 21:39:23 -07:00
John Blum
d8b4b97834 SGF-330 - Add missing 'disk-synchronous' attribute to the <gfe:gateway-sender> element in the SDG XML namespace (XSD). 2014-09-24 17:40:00 -07:00
John Blum
34ae38ef23 SGF-328 - Add missing 'hostname-for-senders' attribute on the <gfe:gateway-receiver> element in the SDG XML namespace (XSD). 2014-09-24 17:32:41 -07:00
John Blum
acdd0c85bf SGF-327 - Avoid setting null values with GemFire's Cache Region put(key, value) operation when GemFire is used as the caching provider in Spring's Cache Abstraction (@Cacheable). 2014-09-18 16:18:42 -07:00
John Blum
93eb3b1fef SGF-323 - Add support for GemFire 8's DiskStore 'diskUsageCriticalPercentage' and 'diskUsageWarningPercentage' properties in the SDG XML namespace (XSD) and DiskStoreFactoryBean API. 2014-09-04 18:32:28 -07:00
John Blum
eb9ebec574 Additional test case to test SDG's auto Region lookup behavior with Spring's component-scan functionality. 2014-09-01 15:50:55 -07:00
John Blum
37428e2ba7 Additional test case to test SDG's auto Region lookup behavior with Spring's auto-wiring functionality. 2014-09-01 13:57:46 -07:00
John Blum
cc9c724fbc Adding a simple test case to assert the contract and functional behavior of the <gfe:auto-region-lookup/> element when used in Spring context config coupled with GemFire's native cache.xml configuration file. 2014-09-01 13:56:18 -07:00
John Blum
d9b69e25db Renamed the clusterconfig-test-cache.xml to clusterconfig-cache.xml to start a standard naming convention (<feature>-cache.xml) for native GemFire cache.xml files in the SDG codebase. 2014-09-01 12:27:13 -07:00
John Blum
b9dbd0a64e Fixed the failing test cases in the TemplateRegionsNamespaceTests test suite class when run in the Bamboo CI environment with mocking disabled. The failures were caused by inproperly configured collocated, Partitioned Regions with redundancy configured inside a GemFire data node. 2014-08-31 21:49:54 -07:00
John Blum
b251a9071a Refactored and fixed failing test cases after the integration of SGF-207, SGF-254, SGF-307, SGF-309, SGF-310, SGF-311 and SGF-312. 2014-08-29 14:39:47 -07:00
John Blum
b68074c85c Added additional test case to test Client Region attribute configuration settings, including the new attributes for concurrency (concurrency-checks-enabled and concurrency-level) for SGF-310 and SGF-311. 2014-08-29 12:56:09 -07:00
John Blum
4bff3d9f7a Completed Client Cache Region Template testing for JIRA feature requests SGF-207 and SGF-254 adding support for template-defined Regions. In addition, fixed JIRA bug SGF-310 pertaining to the missing 'concurrency-level' attribute on the <gfe:client-region> element in the SDG XSD as well as SGF-311 involving the ClientRegionFactoryBean not properly setting the 'concurrencyChecksEnabled' property on GemFire's ClientRegionFactory class. 2014-08-29 12:25:52 -07:00
John Blum
02fd3ce44e Added another test case for JIRA feature requests SGF-207 and SDG-254, Region Templates, to test the correct Region to Region Template bean defintion order in the Spring context configuration file. Region Templates must be defined 'before' the Regions that are based on those template definitions. 2014-08-29 12:21:11 -07:00
John Blum
5919d87658 Completed Peer Cache Region Template testing for JIRA feature requests SGF-207 and SGF-254 adding support for template-defined Regions. 2014-08-29 12:21:10 -07:00
John Blum
2f66eca99b Additional work and changes for JIRA feature requests SGF-207 and SGF-254 to enable developers with the ability to create Region templates to model attributes and configuration meta-data common to multiple, strongly-typed GemFire Region types (e.g. REPLICATE, PARTITION, etc). 2014-08-29 12:16:58 -07:00
John Blum
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. 2014-08-29 12:15:28 -07:00
John Blum
4121581dea Additional code refactoring and cleanup to the strongly-typed, Region Namespace tests. 2014-08-28 18:25:17 -07:00
John Blum
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. 2014-08-28 15:32:11 -07:00
John Blum
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). 2014-08-27 23:32:38 -07:00
John Blum
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). 2014-08-15 21:47:54 -07:00
John Blum
7137c60485 Adding additional integration tests to test the configuration of concurrent, parallel AsyncEventQueues and GatewaySenders in GemFire 8 using Spring Data GemFire. 2014-08-15 17:06:02 -07:00
John Blum
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. 2014-08-14 14:30:35 -07:00
John Blum
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. 2014-08-12 12:34:15 -07:00
John Blum
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. 2014-08-11 17:00:08 -07:00
John Blum
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. 2014-08-11 17:00:07 -07:00
John Blum
76aa819be7 Implements JIRA feature request SGF-227 adding support for GemFire 8.0's auto-reconnect functionality on forced disconnects. 2014-08-11 17:00:07 -07:00
John Blum
358aa55304 Upgrades Spring Data GemFire 1.5 to GemFire 7.5. 2014-08-11 17:00:07 -07:00
John Blum
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. 2014-07-30 23:31:38 -07:00
John Blum
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. 2014-07-07 18:29:32 -07:00
John Blum
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. 2014-07-07 13:07:51 -07:00
John Blum
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. 2014-06-16 20:12:50 -07:00
John Blum
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. 2014-05-02 14:51:08 -07:00
John Blum
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. 2014-04-28 15:56:20 -07:00
John Blum
0c25e14be9 Fixes JIRA issue SGF-273 - OrderBy (static) and Sort parameter (dynamic) Repository Queries do not work. 2014-04-28 15:37:30 -07:00
John Blum
8fd0b0bf6d Fixes JIRA issue SGF-277 - OQL Join in Repository Interface. 2014-04-28 14:21:45 -07:00
John Blum
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. 2014-04-18 23:01:02 -07:00
John Blum
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. 2014-03-26 17:04:03 -07:00
John Blum
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. 2014-03-25 11:04:31 -07:00
John Blum
ba84061b48 Completed all testing and interface/functional changes for SGF-248 - Bootstrapping a Spring ApplicationContext with GemFire. 2014-03-25 11:04:10 -07:00
John Blum
5476837119 Renaming the SpringContextBootsrappingInitializerTest to SpringContextBootstrappingInitializerIntegrationTest to reflect the fact that the test class is actually an 'integration' test. Also renamed the cache-with-initializer.xml GemFire native configuration file to cache-with-spring-context-bootstrap-initializer.xml to indicate that we are using GemFire to bootstrap a Spring container. 2014-03-25 11:03:44 -07:00
John Blum
8e57cc05a3 Early solution for SGF-248 concerning bootstrapping a Spring ApplicationContext inside a GemFire Server-based JVM process when starting the GemFire Server from Gfsh. 2014-03-25 11:03:44 -07:00