Commit Graph

453 Commits

Author SHA1 Message Date
John Blum
b4145b1764 SGF-409 - Modify the GemfireDataSourcePostProcessor (basis for <gfe:datasource>) to not assume a GemFire Server was configured and bootstrapped with Spring and subsequently that the SDG ListRegionsOnServerFunction was registered.
Adding unit tests for the GemfireDataSourcePostProcessor class.
(cherry picked from commit 0055a79a5d0119c0813f86a6504427d3d2d885a6)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-20 16:41:13 -07:00
John Blum
8fe91cc89e SGF-409 - Modify the GemfireDataSourcePostProcessor (basis for <gfe:datasource>) to not assume a GemFire Server was configured and bootstrapped with Spring and subsequently that the SDG ListRegionsOnServerFunction was registered.
(cherry picked from commit 96bb8b3d60a617818cf845708c65e7cad83de65c)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-20 16:40:56 -07:00
John Blum
53d8f34d2f SGF-415 - Remove the ClientCacheFactory Pool configuration in ClientCacheFactoryBean.
(cherry picked from commit dd572d0b36d6c2b2d05636756c4291a1f4d31867)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-15 11:45:04 -07:00
John Blum
3b85b723d8 SGF-414 - Resolve incompatibility between the DistributedSystem created by the PoolFactoryBean and the DistributedSystem resolved by the ClientCacheFactoryBean when SSL is configured.
(cherry picked from commit 130cc4ca4c84a0151ba8f98194a3522ac7e34121)

Signed-off-by: John Blum <jblum@pivotal.io>

Added additional test cases for the CacheFactoryBean and ClientCacheFactoryBean based on SSL support. 1.7 SDG XSD cleanup.
2015-07-13 18:03:06 -07:00
John Blum
82334090fe SGF-414 - Resolve incompatibility between the DistributedSystem created by the PoolFactoryBean and the DistributedSystem resolved by the ClientCacheFactoryBean when SSL is configured.
(cherry picked from commit 4f2eb221636971ed640ff4cb589f54e1207603d1)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-13 17:57:00 -07:00
John Blum
2ecbd7b53d SGF-417 - Update apache-geode SDG branch based on the latest Apache Geode developments (snapshot 20150713182515). 2015-07-13 17:37:55 -07:00
John Blum
52b5162d93 SGF-410 - Enable the definition and creation of a generic, GemFire Cache Region with out-the-box defaults.
(cherry picked from commit d0ba11b3f3d53c03841fc732d2466083f9226881)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-06-12 00:23:30 -07:00
John Blum
cbb1314b5c SDG-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
Modified the SDG apache-geode build to resolve Apache Geode artifacts from the Apache Maven Repo instead of Spring's Maven Repo.  Performed minor code modifications based on the 'latest' Apache Geode build snapshot.  Modified the generated SDG Maven POM to declare the Apache Maven Snapshot Repo in order to properly resolve the Apache Geode build snapshot artifacts.
2015-06-04 23:58:54 -07:00
John Blum
6ba90d8048 SGF-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
Additional test cleanup related to Pivotal GemFire specific features (e.g. WAN).
2015-06-02 18:06:17 -07:00
John Blum
8363d6f463 SGF-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
Fixed up and polished additional SDG test suite classes related to Pivotal GemFire functionality and features when ran with Apache Geode.  Also introduced a GemfireFeature enumerated type to implement more fine-grained control of specific feature checking when attributes of XML namespace elements refer to Pivotal GemFire specific features.
2015-06-02 18:06:16 -07:00
John Blum
b3943ebb46 SGF-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
First iteration of SDG's test suite ran with Apache Geode; Implemented Spring test framework, profile support to enable/disable tests based on the presence of either Apache Geode or Pivotal GemFire.
2015-06-02 18:06:15 -07:00
John Blum
9a1210bc84 SGF-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
Implemented Pivotal GemFire/Apache Geode feature checking during SDG XML namespace parsing and processing.
2015-06-02 18:06:15 -07:00
John Blum
abbbfed8fd SGF-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
Fixed up and polished the GatewaySenderFactoryBean 'orderPolicy' configuration and validation changing the loosely, String-typed 'orderPolicy' property to use the GatewaySender.OrderPolicy enum.
2015-06-02 18:06:14 -07:00
John Blum
aa706b025c SGF-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
Test source compilation and test resource processing build step complete.
2015-06-02 18:06:14 -07:00
John Blum
8c2d01262a SGF-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
Source compilation and resource processing build step complete.
2015-06-02 18:06:14 -07:00
John Blum
d6dc23a440 SGF-407 - Modify the MappingPdxSerializer to allow for extensibility. 2015-06-02 14:44:04 -07:00
John Blum
9e4530c12c SGF-370 - Add multi-Index definition and creation support.
Refactored Index definition around a 'single' QueryService instance obtained from the GemFire Cache instance and refactored existing tests and added new tests accordingly.
2015-05-19 17:29:12 -07:00
John Blum
76aab502c4 SGF-370 - Add multi-Index definition and creation support.
Added integration tests to test the definition and subsequent creation of multiple Indexes inside a GemFire Server within a Spring context.
2015-05-18 14:59:49 -07:00
John Blum
a33a121365 SGF-370 - Add multi-Index definition and creation support. 2015-05-08 17:01:11 -07:00
John Blum
4c7cc4fe8d SGF-403 - Simplify the process of adding custom methods to Spring Data GemFire Repositories. 2015-05-04 10:32:04 -07:00
John Blum
fb46e560f4 SGF-196 - Support adding CacheListeners, CacheLoaders and CacheWriters, along with other mutable Region attributes to an existing Region.
Adding additional test cases and test case refinements.
2015-04-23 17:08:04 -07:00
John Blum
b42ca233f0 SGF-196 - Support adding CacheListeners, CacheLoaders and CacheWriters, along with other mutable Region attributes to an existing Region. 2015-04-22 16:18:31 -07:00
John Blum
b9881dfad9 SGF-400 - Enable the ability to set the ClassLoader used by the Spring ApplicationContext created in the SpringContextBootstrappingInitializer for loading bean definition classes and resolving resources. 2015-04-18 11:37:02 -07:00
John Blum
3c9d9f7065 SGF-396 - Enable support for variable Locator and Server endpoints on a SDG GFE Pool bean definition in a Spring Context.
Removed the SDG XSD schema restriction requiring the use of at least 1 <gfe:locator> of <gfe:server> sub-element on the <gfe:pool> element.  Also added a default Locator endpoint on localhost listening on the Locators default port of 10334 when no Locator or Server endpoints were specified, either by way of explicit use of the 'locators' or 'servers' attribute or a corresponding <gfe:locator> or <gfe:server> sub-element.
2015-04-16 14:17:46 -07:00
John Blum
ee392c6b7f SGF-396 - Enable support for variable Locator and Server endpoints on a SDG GFE Pool bean definition in a Spring Context. 2015-04-13 23:38:59 -07:00
John Blum
d931897c0e SGF-395 - Allow Spring JavaConfig @Configuration classes to be registered and used to configure the (AnnotationConfig)ApplicationContext created by the SpringContextBootstrappingInitializer. 2015-04-13 23:37:32 -07:00
John Blum
6a958da6b0 SGF-357 - Optimize SimpleGemfireRepository.deleteAll() by using the new Region.removeAll() operation. 2015-04-13 19:31:52 -07:00
John Blum
d44464dee5 SGF-390 - Improve unit test coverage for the PoolFactoryBean class. 2015-04-01 14:25:00 -07:00
John Blum
06d1df02ce SGF-389 - Improve unit test coverage of the ClientCacheFactoryBean class. 2015-03-31 16:52:00 -07:00
John Blum
6c5887627a SGF-391 - Simplify and improve the robustness of the JNDI DataSource Type matching used in the Cache FactoryBeans. 2015-03-25 17:14:33 -07:00
John Blum
77b2d52b66 SGF-388 - Improve unit test coverage of the CacheFactoryBean class. 2015-03-25 14:39:36 -07:00
John Blum
42eefab61c SGF-383 - Refactor and make RegionFactoryBean and RegionLookupFactoryBean abstract. 2015-03-23 16:42:24 -07:00
John Blum
17c9358547 SGF-322 - Add support for the newly added, retro 'max-connections' attribute on the <gfe:gateway-hub> element in the SDG XML namespace (XSD). 2015-03-23 16:42:24 -07:00
John Blum
4e3e8aa177 SGF-353 - Prepare SDG 1.7 and upgrade to GemFire 8.1.0 GA.
Fixed SDG test suite failures running on GemFire 8.1 when mocking is disabled.
2015-03-23 16:42:23 -07:00
John Blum
79f6025647 SGF-371 - The GatewayReceiverFactoryBean needs to set GatewayReceiverFactory.setManualStart(false) in GemFire 8.1 in order to enable manual starts on a GatewayReceiver. 2015-03-23 16:42:23 -07:00
John Blum
80854b9b97 SGF-385 - Local region does remote put in addition to local put in client cache. 2015-03-22 22:22:56 -07:00
John Blum
e9251afa1d SGF-384 - Issue with partitioned-region-template when persistence is enabled. 2015-03-19 10:48:15 -07:00
John Blum
e514b004d8 SGF-381 - Enable RegionFactoryBean to respect the Data Policy specified on a nested or referenced RegionAttributes bean definition.
Added additional test cases to test and cover different combinations of data-policy and persistent attribute settings with explicit RegionFactoryBean and nested RegionAttributesFatoryBean 'bean' definitions in Spring XML configuration meta-data.
2015-03-12 17:25:42 -07:00
John Blum
ac8ff3750c SGF-382 - Add logging to the SpringContextBootstrappingInitializer init method to capture any Spring context/GemFire errors on startup. 2015-03-11 13:32:56 -07:00
John Blum
3063046e53 SGF-381 - Enable RegionFactoryBean to respect the Data Policy specified on a nested or referenced RegionAttributes bean definition. 2015-03-10 14:25:16 -07:00
John Blum
bb38cb42f8 SGF-374 - Specifying a disk-store on a GatewayHub forces the GatewayHub to be persistent.
Following up to SGF-374 with additional test criteria to assert that a GatewayHub marked as 'persistent' does not need to explicity declare a 'DiskStore', that the GatewayHub will use the 'DEFAULT' DiskStore instead.
2015-02-24 18:54:01 -08:00
John Blum
eade5d8a39 SGF-378 - SDG completely ignores the 'socket-read-timeout' attribute on the Gateway element nested in a GatewayHub. 2015-02-24 18:14:45 -08:00
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