Commit Graph

871 Commits

Author SHA1 Message Date
John Blum
1328fa3300 SGF-450 - GemfireRepositoryFactoryBean needs to explicitly register the default GemfireMappingContext when not explicitly defined as a bean in the application's Spring context.
(cherry picked from commit eebe7bb622)
Signed-off-by: John Blum <jblum@pivotal.io>
2015-12-03 19:00:13 -08:00
John Blum
14d42618a1 SGF-449 - GemfireRepositoryFactoryBean.setGemfireMappingContext needs to call RepositoryFactoryBeanSupport.setMappingContext.
(cherry picked from commit 37d41a1ed2)
Signed-off-by: John Blum <jblum@pivotal.io>
2015-12-03 18:59:52 -08:00
John Blum
2f44261527 SGF-448 - GemfireRepositoryConfigurationExtension needs to override the RepositoryConfigurationExtensionSupport postProcess(:BeanDefinitionBuilder, :AnnotationRepositoryConfigurationSource) method.
(cherry picked from commit cf64807b09)
Signed-off-by: John Blum <jblum@pivotal.io>
2015-12-03 18:58:08 -08:00
John Blum
ed01af8012 SGF-447 - Fix Spring Data GemFire due to recent changes to Apache Geode that removed various internal utility classes in favor of external Spring classes. 2015-11-30 12:35:43 -08:00
Oliver Gierke
d6e46299f2 SGF-437 - Updated changelog. 2015-11-16 08:53:07 +01:00
John Blum
c41c126fcf SGF-442 - Remove incorrect statements about GemFire Java Reflection-based (PDX) Serialization in the SDG Reference Guide.
(cherry picked from commit 195d452fe2)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-19 18:58:24 -07:00
Oliver Gierke
a4680e5194 SGF-436 - Updated changelog. 2015-10-14 13:58:53 +02:00
John Blum
7633bfe8f1 SGF-434 - Add a durable GemFire client cache test to assert proper behavior by SDG.
Removed the ClientCacheFactoryBean.readyForEvents() method and moved the logic to onApplicationEvent(..).
Updated the spring-gemfire 1.6 and 1.7 XSD with the new keep-alive attribue on the client-cache element.
Changed the generic signature of the CacheFactoryBean class back to com.gemstone.gemfire.cache.Cache due to the Spring container bean resolution Exception when using JavaConfig in SDG 1.7 with GemFire 8.1 and core Spring Framework 4.1.7.

(cherry picked from commit a458115)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-14 01:42:50 -07:00
John Blum
0fc527e399 SGF-434 - Add a durable GemFire client cache test to assert proper behavior by SDG.
(cherry picked from commit b52a185)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-14 01:15:48 -07:00
John Blum
bb89e2bdb6 SGF-429 - GemfirePersistentProperty considers a BigDecimal property an entity.
Additional changes and refactoring inspired by Spring Data MongoDB custom SimpleTypeHolder.
(cherry picked from commit 2344eb521d)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-05 23:18:15 -07:00
John Blum
590b182ada SGF-429 - GemfirePersistentProperty considers a BigDecimal property an entity.
(cherry picked from commit 6113bfbea1)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-05 23:04:01 -07:00
John Blum
58d172d316 SGF-432 - IndexFactoryBean traps IndexExistsException instead of IndexNameConflictException.
(cherry picked from commit 9cc4b98e35)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-05 23:02:10 -07:00
John Blum
a95b3f6a60 SGF-433 - Fix improper resolution of Spring property placeholders in 'locators' and 'servers' attributes on the '<gfe:pool>' element(s) in Spring XML config.
(cherry picked from commit 1cd2a7f)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-01 19:46:04 -07:00
John Blum
0297180479 SGF-430 - Cleanup test failures on Windows due to incorrect Spring test context configuration resource resolution.
(cherry picked from commit 7462d7f607)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-09-10 13:57:35 -07:00
Oliver Gierke
b9bb54b534 SGF-426 - Updated changelog. 2015-09-01 12:32:11 +02:00
John Blum
8d0ed421a6 SGF-419 - Documentation error on page 22 in the Spring Data GemFire Reference PDF.
(cherry picked from commit ff290a442e)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-12 00:14:36 -07:00
John Blum
0d7a2fe211 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.
(cherry picked from commit 29a169a10c)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-10 23:42:58 -07:00
John Blum
e37004facf 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.
(cherry picked from commit be6a3aac3e)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-10 23:42:48 -07:00
John Blum
5b7aa8ad59 SGF-425 - Allow early initialization and re-initialization of LazyWiringDeclarableSupport instances.
(cherry picked from commit 93280bf204)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-10 23:42:38 -07:00
John Blum
e90874f1d4 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.
(cherry picked from commit a806f1540e)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-10 23:42:26 -07:00
John Blum
17e41723b5 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.
(cherry picked from commit bb8ce682c6)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-10 23:42:17 -07:00
John Blum
615ab83d68 SGF-420 - After release cleanups. 2015-08-10 23:42:01 -07:00
Oliver Gierke
4d615a8ec3 SGF-422 - Updated changelog. 2015-08-04 14:51:19 +02:00
Oliver Gierke
4302a5b05f SGF-420 - After release cleanups. 2015-07-28 16:28:36 +02:00
Spring Buildmaster
ab96adb8b1 SGF-420 - Prepare next development iteration. 2015-07-28 07:09:01 -07:00
Spring Buildmaster
d0e0fe24d3 SGF-420 - Release version 1.6.2.RELEASE (Fowler SR2). 2015-07-28 07:08:58 -07:00
Oliver Gierke
f71b1534e4 SGF-420 - Prepare 1.6.2.RELEASE (Fowler SR2). 2015-07-28 15:26:46 +02:00
Oliver Gierke
09953afa9c SGF-420 - Updated changelog. 2015-07-28 14:52:42 +02:00
John Blum
d6b0bd87f8 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.
Fixed up the GemFireDataSourceUsingNonSpringConfiguredGemFireServerIntegrationTest to customize the classpath in order to exlude the Spring Data GemFire dependency from the non-Spring-configured GemFire Server's classpath thereby removing any presence of the ListRegionsOnServerFunction GemFire Function; made use of the com.gemstone.gemfire.distributed.ServerLauncher class for launching the non-Spring-configured GemFire Server and finally, wrote the gemfire-datasource-integration-test-cache.xml as an cache.xml file to the non-Spring-configured GemFire Server's working directory to properly configure the GemFire Server.
(cherry picked from commit 65ab1c7dcd)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-20 15:35:13 -07:00
John Blum
a21cb18c24 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.
(cherry picked from commit 52e4be4240)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-20 15:34:56 -07:00
John Blum
a339b64387 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 0055a79a5d)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-20 15:34:41 -07:00
John Blum
be6df696e5 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-20 15:34:10 -07:00
John Blum
4f38d1a366 SGF-415 - Remove the ClientCacheFactory Pool configuration in ClientCacheFactoryBean. 2015-07-20 15:32:08 -07:00
John Blum
28c799a177 SGF-414 - Resolve incompatibility between the DistributedSystem created by the PoolFactoryBean and the DistributedSystem resolved by the ClientCacheFactoryBean when SSL is configured. 2015-07-10 17:16:27 -07:00
Oliver Gierke
5ff6995b28 SGF-411 - Updated changelog. 2015-07-01 10:07:19 +02:00
Oliver Gierke
af2a99adf9 SGF-412 - Updated changelog. 2015-07-01 10:07:10 +02:00
Oliver Gierke
5bbecd7b8f SGF-413 - After release cleanups. 2015-06-30 14:27:35 +02:00
Spring Buildmaster
d64ce55d0a SGF-413 - Prepare next development iteration. 2015-06-30 04:38:55 -07:00
Spring Buildmaster
aaf9bf2de4 SGF-413 - Release version 1.6.1.RELEASE (Fowler SR1). 2015-06-30 04:38:52 -07:00
Oliver Gierke
e945580c47 SGF-413 - Prepare 1.6.1.RELEASE (Fowler SR1). 2015-06-30 12:49:00 +02:00
Oliver Gierke
345bed5ba0 SGF-413 - Updated changelog. 2015-06-30 12:31:46 +02:00
Oliver Gierke
919c24ca11 SGF-405 - Updated changelog. 2015-06-30 12:07:09 +02:00
John Blum
98337e0044 SGF-407 - Modify the MappingPdxSerializer to allow for extensibility. 2015-06-02 15:25:19 -07:00
Oliver Gierke
4c1f368198 SGF-406 - Fixed configuration of JavaDoc task.
We now depend on the task that extracts shared resources and use the CSS provided with that.
2015-06-02 16:26:42 +02:00
John Blum
ccc4343c4b 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.
(cherry picked from commit b9881dfad9)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-04-18 11:42:40 -07:00
John Blum
0146e08e92 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.
(cherry picked from commit 13b961c8138b2aa2555f40d0230e65b25b494a24)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-04-16 13:19:10 -07:00
John Blum
d9b393b986 SGF-399 - Fix incorrect XSD appinfo annotation, expected 'type' attribute value on the 'error-handler' attribute of the 'cq-listener-container' element.
(cherry picked from commit f27a9e9cf6)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-04-14 15:06:43 -07:00
John Blum
5cdbc9d0c1 SGF-399 - Fix incorrect XSD appinfo annotation, expected 'type' attribute value on the 'error-handler' attribute of the 'cq-listener-container' element.
(cherry picked from commit 0e21021cf6)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-04-14 15:06:33 -07:00
John Blum
6f45bdddca SGF-399 - Fix incorrect XSD appinfo annotation, expected 'type' attribute value on the 'error-handler' attribute of the 'cq-listener-container' element.
(cherry picked from commit 847283a7e4)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-04-14 15:06:24 -07:00
John Blum
f3456561d5 SGF-394 - Improve SDG Gradle build removing FindBug compilation warnings caused by GemFire. 2015-04-13 22:59:31 -07:00