Commit Graph

570 Commits

Author SHA1 Message Date
John Blum
022c68cdd1 SGF-408 - Provide support in the SDG XML namespace to load a pre-defined data set using GemFire Snapshot Service for development and testing purposes.
Initial implementation and unit tests.
2015-08-19 22:29:31 -07:00
John Blum
23d05aeaee SGF-392 - Add support for OQL Query statement extensions in Repository Query methods via Annotations.
Implementation and unit test coverage complete.
2015-08-12 00:18:30 -07:00
John Blum
c022f2c005 SGF-392 - Add support for OQL Query statement extensions in Repository Query methods via Annotations. 2015-08-12 00:18:30 -07:00
John Blum
29a169a10c SGF-425 - Allow early initialization and re-initialization of LazyWiringDeclarableSupport instances.
Deprecated org.springframework.data.gemfire.WiringDeclarableSupport in favor of LazyWiringDeclarableSupport and modified LazyWiringDeclarableSupport to 'release' the BeanFactory reference.
2015-08-10 23:13:57 -07:00
John Blum
be6a3aac3e SGF-425 - Allow early initialization and re-initialization of LazyWiringDeclarableSupport instances.
Fixed test failures associated with changes to LazyWiringDeclarableSupport passing the ApplicationContext onApplicationEvents (ContextRefreshedEvent) directly rather than the ApplicationContext's ConfigurableListableBeanFactory required by BeanConfigurerSupport.
2015-08-10 23:13:57 -07:00
John Blum
93280bf204 SGF-425 - Allow early initialization and re-initialization of LazyWiringDeclarableSupport instances. 2015-08-10 23:13:57 -07:00
John Blum
a806f1540e SGF-423 - Handle improper ClassCastException thrown from SDG's Function Execution interface and annotation-based support when a GemFire Function throws an Exception.
Additional refactoring and added serveral unit tests.
2015-08-07 01:36:59 -07:00
John Blum
bb8ce682c6 SGF-423 - Handle improper ClassCastException thrown from SDG's Function Execution interface and annotation-based support when a GemFire Function throws an Exception.
Initial refactoring and code cleanup.
2015-08-06 17:34:58 -07:00
Oliver Gierke
85c333dfc5 SGF-421 - Switched to existing PropertyAccessor abstraction.
Removed the custom BeanPropertyAccessor implementation that was introduced to compensate for the removal of BeanWrapper in Spring Data Commons. That removal however was already preceded by an alternative way to obtain a PropertyAccessor via the PersistentEntity, which is what we're now doing.
2015-08-04 09:56:47 +02:00
John Blum
d5d2fd09b7 SGF-421 - Fix Spring Data GemFire's MappingPdxSerializer due to the package-private access modifier change on org.springframework.data.mapping.model.BeanWrapper. 2015-08-03 16:10:31 -07:00
John Blum
92f3c4e808 SGF-404 - Enable Expiration settings and policies to be specified per application domain object using an @Expiration annotation and a custom, SDG-provided CustomExpiry instance.
Added support for Spring Property Placeholders in the @Expiration annotation attributes to offer even more flexibility when configuring Region Entry values, application domain object Expiration policies and settings.
2015-07-31 00:57:49 -07:00
John Blum
6e73f52025 SGF-404 - Enable Expiration settings and policies to be specified per application domain object using an @Expiration annotation and a custom, SDG-provided CustomExpiry instance.
Added support for SpEL expressions in the @Expiration annotation attributes to offer even more flexibility when configuring Region Entry values, application domain object Expiration policies and settings.
2015-07-29 16:02:43 -07:00
John Blum
419eb8d879 SGF-404 - Enable Expiration settings and policies to be specified per application domain object using an @Expiration annotation and a custom, SDG-provided CustomExpiry instance.
Added Javadoc comments to the AnnotationBasedExpiration class factory methods: forIdleTimeout() and forTimeToLive().  Also added a section in the Region configuration chapter of the Spring Data GemFire Reference Guide.
2015-07-29 12:53:19 -07:00
John Blum
a9b7f9d8e8 SGF-404 - Enable Expiration settings and policies to be specified per application domain object using an @Expiration annotation and a custom, SDG-provided CustomExpiry instance. 2015-07-29 12:53:18 -07:00
John Blum
52e4be4240 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.
Refactored the GemfireDataSourcePostProcessorTest class test cases based on the new implementation of the GemfireDataSourcePostProcessor BeanFactoryPostProcessor, which uses the GemFire internal GetRegionsFunction GemFire Function as a fallback when the ListRegionsOnServerFunction has not been registered or is not available.  In addition, added 2 integration tests to test a Spring Data GemFire ClientCache connecting to a Spring-configured GemFire Server and non-Spring-configured GemFire Server asserting that client PROXY Region beans are appropriately created in the Spring ApplicationContext.
2015-07-20 12:24:34 -07:00
John Blum
0055a79a5d 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.
2015-07-16 18:09:28 -07:00
John Blum
96bb8b3d60 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. 2015-07-15 18:21:06 -07:00
John Blum
dd572d0b36 SGF-415 - Remove the ClientCacheFactory Pool configuration in ClientCacheFactoryBean. 2015-07-15 10:34:39 -07:00
John Blum
130cc4ca4c SGF-414 - Resolve incompatibility between the DistributedSystem created by the PoolFactoryBean and the DistributedSystem resolved by the ClientCacheFactoryBean when SSL is configured.
Added additional test cases for the CacheFactoryBean and ClientCacheFactoryBean based on SSL support. 1.7 SDG XSD cleanup.
2015-07-10 16:56:29 -07:00
John Blum
4f2eb22163 SGF-414 - Resolve incompatibility between the DistributedSystem created by the PoolFactoryBean and the DistributedSystem resolved by the ClientCacheFactoryBean when SSL is configured. 2015-07-09 18:31:00 -07:00
John Blum
d0ba11b3f3 SGF-410 - Enable the definition and creation of a generic, GemFire Cache Region with out-the-box defaults. 2015-06-11 23:53:28 -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
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
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
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
c0aed1984c SGF-353 - Prepare SDG 1.7 and upgrade to GemFire 8.1.0 GA 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
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
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