Commit Graph

527 Commits

Author SHA1 Message Date
John Blum
d42d5b57fe SGF-375 - The <gfe:gateway-hub> XML namespace element is missing the 'max-time-between-pings' attribute. 2015-02-24 14:47:12 -08:00
John Blum
a5b743989b SGF-374 - Specifying a disk-store on a GatewayHub forces the GatewayHub to be persistent. 2015-02-24 14:21:22 -08:00
John Blum
975aa80785 SGF-376 - The GemFire WAN GatewayHub support needs refactoring and test coverage. 2015-02-23 17:17:21 -08:00
John Blum
9b951666b0 SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.
Removed the XSD enumeration restriction on the 'scope' attribute of the 'baseReplicatedRegionType' complexType, Region element definition in the SDG XSD allowing the use of property placeholders to specify a GemFire Cache Region's Scope for different distribution patterns.  In addition, completely removed the 'scopeType' simpleType element definition in the SDG XSD.
2015-02-03 10:01:07 -08:00
John Blum
54821dcc66 SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.
Removed the XSD enumeration restriction on the 'type' attribute of the 'index' element definition inside the SDG XML namespace (XSD) allowing the use of property placeholders to specify the Index types on GemFire Cache Region Indexes.
2015-02-02 13:31:31 -08:00
John Blum
b8bd3c69f0 SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.
Removed the XSD enumeration restriction on the 'eviction-type' attribute of the 'subscription-config' sub-element of the 'cache-server' element inside the SDG XML namespace (XSD) allowing the use of property placeholders to specify the Eviction Policy for Client Subscription to GemFire Cache Servers.
2015-02-02 10:45:38 -08:00
John Blum
4fc92494ae SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.
Removed the XSD enumeration restriction on the 'result-policy' attribute of the 'interestType' SDG XSD complex-type definition in order to allow users to specify an Interest Policy using concrete values or properly placeholders when registering client Region Interests.
2015-01-28 18:22:59 -08:00
John Blum
d615dcad5f SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.
Refactoring SDG enum types.  Renamed the EvictionType enum to EvictionPolicyType to reflect that the enum represents an Eviction 'policy' encompassing both Eviction algorith along with the monitored resource triggering Eviction.  Renamed the EvictionTypeConverter to EvictionPolicyConverter to more accurately reflect it's intent.  Renamed IndexMaintenanceType enum to IndexMaintenancePolicyType to more accurately describe the purpose of the index maintenance setting reflected as a policy.  Renamed IndexMaintenanceTypeConverter to IndexMaintenancePolicyConverter to more accurately reflect it's intent.
2015-01-28 18:22:58 -08:00
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 a5104b165905dd603060585ea62ba61ae60af7c5)

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