Commit Graph

519 Commits

Author SHA1 Message Date
John Blum
ecbd4fd232 SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.
Removed the 'subscriptionPolicyType' XSD simple-type definition and subsequently, all Subscription policy enumeration restrictions on SDG Region elements in the SDG XML namespace (e.g. gfe:partitioned-region) that declare and define a Subscription policy.  Renamed SubscriptionType to InterestPolicyType along with the associated test suite class.  Renamed the SubscriptionTypeConverter class to InterestPolicyConverter along with the associated test suite class.  Created the RegionSubscriptionAttributesNamespaceTest class to test the configuration of Subscription on GemFire Regions in the SDG XML namespace using various settings and property placeholders.
2015-01-28 18:22:58 -08:00
John Blum
319442b446 SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.
Removed the 'evictionActionType' XSD simple-type definition and subsequently, all EvictionAction enumeration restrictions on all SDG Region element types in the SDG XML namespace (e.g. gfe:partitioned-region) that define and declare an eviction policy and corresponding 'action'.  In addition, performed refactoring and cleanup on serveral new SDG enumeration types, like EvictionType and ExpirationActionType, along with the corresponding Converter implementations and bean properties on their respective FactoryBeans (EvictionAttributesFactoryBean and ExpirationAttributesFactoryBean).
2015-01-28 18:22:58 -08:00
John Blum
3f72ab8928 SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.
Removed the XSD enumeration restriction on the 'type' attribute of the 'evictionType' XSD complex-type definition in the SDG XML namespace schema, which is used by the 'eviction' sub-elements in the LOCAL, PARTITION and REPLICATE Region element schema types.  In addition, created the ExpirationAttributesFactoryBean class in the org.springframework.data.gemfire package which serves as a Spring FactoryBean and builder for constructing GemFire EvictionAttributes used in Region configuration.  Updated tests to assert and validate the use of property placeholders on both the Eviction 'type' and Expiration 'action' attributes in the Spring Data GemFire XML namespace configuration meta-data.
2015-01-28 18:22:57 -08:00
John Blum
844c630614 SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.
Removed the XSD enumeration restriction on the 'action' attribute of the 'expirationType' XSD complex-type definition used by the 'region-ttl', 'region-tti', 'entry-ttl', and 'entry-tti' elements in the 'baseReadOnlyRegionType' inside the Spring GemFire XML Schema (XSD).
2015-01-28 18:22:57 -08:00
John Blum
4a1a3bf64d SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.
Removed the XSD enumeration restriction on the 'index-update-type' attribute of the 'baseRegionType' element in the Spring GemFire XML Schema (XSD).
2015-01-28 18:22:57 -08:00
John Blum
138e8d9827 SGF-366 - Unable to create local-only, client-based Region Indexes using SDG's <gfe:index> and corresponding IndexFactoryBean functionality. 2015-01-14 16:08:05 -08:00
John Blum
8532441fac SGF-364 - Move EvictionAttributesFactoryBean and SubscriptionAttributesFactoryBean along with supporting enum types from the ..data.gemfire.config package to ..data.gemfire. 2015-01-08 10:25:31 -08:00
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
20a8257574 SGF-360 - Failures in SubRegionNamespaceTests when built with Java 8. 2014-12-11 16:42:55 -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
043b2fdee2 SGF-342 - Update Spring Data GemFire Reference Guide with GemFire 8 functional support. 2014-10-17 17:16:50 -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
f2b03a26d0 SGF-340 - Change a SpringSource-based links in the SDG Reference Guide to Spring.io-based links. 2014-10-10 16:40:56 -07:00
John Blum
9af336af32 SGF-339 - Change all VMWare-based links in the SDG Reference Guide to Pivotal-based links. 2014-10-10 14:40:41 -07:00
John Blum
4dd666401c SGF-326 - Create spring-gemfire-1.6.xsd and spring-data-gemfire-1.6.xsd for SDG 1.6. 2014-10-09 22:04:28 -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
6efb775c1e SGF-333 - The SpringContextBootstrappingInitializer needs to handle the case when it's init(:Properties) method maybe called more than once on initialization. 2014-09-20 18:41:29 -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
cd21afab34 SGF-316 - Updates Spring Data GemFire Reference Guide with 1.5 changes (e.g. Auto Region Lookups, Region Templates)
(cherry picked from commit a5104b1659)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-04 22:20:29 -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
7f2e6b899c SGF-325 - Create spring-gemfire-2.0.xsd and spring-data-gemfire-2.0.xsd for SDG 2. 2014-09-04 17:06:25 -07:00
John Blum
458b1ff25e SGF-320 - Disable ClusterConfigurationIntegrationTest.testClusterConfiguration test case.
Due to a race condition/bug in the new GemFire 8 Locator Cluster Configuration Service on startup, the race is causing a timing issue for the testClusterConfiguration test case in the CI (Bamboo) env even though the test case runs successfully, locally.  These timing issues are despite an appropriate and reasonable wait period setup by the test class where the 'integration-based' test is attempting to coordinate between a forked GemFire Locator process hosting the Cluster Config Service and the test case, which is a peer cache, that uses it.
2014-09-04 13:02:11 -07:00
Oliver Gierke
68fea882f6 SGF-317 - Improved GemfireCache for Spring 4.1 compatibility.
Added putIfAbsent(…) to GemfireCache to make sure we can compile against Spring 4.1. Improved the implementation of get(Object, Class<T>) to adhere to the contract defined by the interface.
2014-09-04 10:20:33 +02:00
Oliver Gierke
639293adfe SGF-305 - Finished migration to Asciidoctor.
Upgraded Asciidoctor plugin to 1.5 and re-enabled Docbook plugin for PDF generation. Removed obsolete repository declarations. Use Spring Data Build shared resources to use the CSS file from it. Configure Docbook reference plugin to use Asciidoctor generated sources. Override expandPlaceholders to avoid replacement of variables in source files. Tweaked docs ZIP setup to include Asciidoctor generated HTML and Docbook generated PDF version.
2014-09-02 16:54:39 +02:00
Greg Turnquist
d11bf5ce0e SGF-305: Move to Asciidoctor for reference documentation
First cut at migrating reference docs to asciidoctor.
2014-09-02 14:20:08 +02: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
920e53794e Initial implementation of JIRA improvement SGF-191 enabling Spring Data GemFire to lookup and auto register all GemFire Cache Regions not explicitly defined in the Spring context as Spring beans. 2014-09-01 13:55:02 -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
dab04833c9 Code refactoring and cleanup related to SGF-207 and SGF-254, Region Templates. 2014-08-29 12:19:53 -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
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. 2014-08-19 17:56:49 -07:00