Commit Graph

897 Commits

Author SHA1 Message Date
John Blum
8a966bbdd4 SGF-392 - Add support for OQL Query statement extensions in Repository Query methods via Annotations.
Test refactoring and cleaup.
(cherry picked from commit abc5722af5e26800a25215eca933abbc146e726a)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-14 13:19:21 -07:00
John Blum
147714e0a5 SGF-392 - Add support for OQL Query statement extensions in Repository Query methods via Annotations.
Adding integration tests to test the use of the custom OQL Query Annotation extensions in Repository Query methods against GemFire's actual OQL Query engine.
(cherry picked from commit bdbf101fd7f3e920f28634bb24cd0667855fa1e2)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-14 13:19:08 -07:00
John Blum
5d8a1d2ce5 SGF-392 - Add support for OQL Query statement extensions in Repository Query methods via Annotations.
Implementation and unit test coverage complete.
(cherry picked from commit 23d05aeaee743922a9d371b8b7f8201e6cb9578c)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-14 13:18:59 -07:00
John Blum
780ce89050 SGF-392 - Add support for OQL Query statement extensions in Repository Query methods via Annotations.
(cherry picked from commit c022f2c00585d9f90243a480486cb38f6d46d2ee)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-14 13:18:48 -07:00
John Blum
75e1c58d8e SGF-419 - Documentation error on page 22 in the Spring Data GemFire Reference PDF.
(cherry picked from commit ff290a442e5c2982e0cb806e63f090493786c52d)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-14 13:18:38 -07:00
John Blum
8b216b83c2 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 29a169a10cd78d451f4d84227e8058be68d0d6be)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-11 00:09:28 -07:00
John Blum
0c813862e1 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 be6a3aac3e5281fdb2c77ad8b88200c92c0b7883)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-11 00:09:17 -07:00
John Blum
0bf13f7e0b SGF-425 - Allow early initialization and re-initialization of LazyWiringDeclarableSupport instances.
(cherry picked from commit 93280bf2047081e5387a896e27e19e5d7e5cce12)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-11 00:09:08 -07:00
John Blum
cd4a2497b7 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 a806f1540e6fc995410671f34382d14389ace90a)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-11 00:08:57 -07:00
John Blum
677d46c1df 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 bb8ce682c6cc97abb149b74c58b2124b445e1bd2)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-11 00:08:47 -07:00
Oliver Gierke
b7720cad36 SGF-422 - Updated changelog. 2015-08-11 00:08:26 -07:00
Oliver Gierke
22d50d0189 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.(cherry picked from commit 85c333dfc582719229fee006e538ff77f569a242)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-11 00:06:54 -07:00
John Blum
fcfa530fd3 SGF-421 - Fix Spring Data GemFire's MappingPdxSerializer due to the package-private access modifier change on org.springframework.data.mapping.model.BeanWrapper.
(cherry picked from commit d5d2fd09b7a105c1eb1f8955f98127e550641ae6)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-03 18:11:49 -07:00
John Blum
fc3519a080 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.
Final touches on the SDG Expiration annotation based support.  Added additional test cases to test the improper specification of Expiration annotation attribute settings and modified the SDG Reference Guide to discuss Spring Property Placeholder and SpEL support.
(cherry picked from commit 278af87703dfbc341fef1690e7064d9de80fc295)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-31 14:31:04 -07:00
John Blum
6264b93c7d 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.
(cherry picked from commit 92f3c4e80839ed4034fe3229c68aebf90091c9a1)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-31 14:30:55 -07:00
John Blum
f07c6990a4 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.
(cherry picked from commit 6e73f52025509d9bf89a3baf25d21201b49728de)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-31 14:30:45 -07:00
John Blum
cab84cc2ab 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.
(cherry picked from commit 419eb8d8792124d7ad6f2e7e7da12f4013b3a429)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-31 14:30:35 -07:00
John Blum
16ebd5a0f6 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.
(cherry picked from commit a9b7f9d8e8deca6aa198e24d441d8e77bf3247cc)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-31 14:30:10 -07:00
John Blum
75598064d3 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 65ab1c7dcd7aec6fbc09241c1b3be0709b9bfb01)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-20 16:41:32 -07:00
John Blum
4fe59f2c42 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 52e4be42402ee376df17d7ae036336548b1349c9)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-20 16:41:21 -07:00
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
Andy Wilkinson
6ce35bd835 SGF-418 - Merge PR #83 updating the Spring IO Platform Plugin to perform compatibility checks.
Upgrade to Gradle 1.12
(cherry picked from commit fc42ab0ebe792027569fcab9f5076e12d5916142)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-14 15:24:16 -07:00
Andy Wilkinson
c0f0aa855c SGF-418 - Merge PR #83 updating the Spring IO Platform Plugin to perform compatibility checks.
Use the latest version of the Spring IO Plugin

Spring IO Platform 2.0 will remove the managed versions .properties
file as support for it has been removed in Spring Boot 1.3.

This commit moves the build onto a new version of the Spring IO Plugin
that uses the Maven bom rather than the properties file.
(cherry picked from commit a5b0850e7cc2e67e232e2a4e9f2adf34a9946b97)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-14 15:24: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
Oliver Gierke
e3198c1803 SGF-411 - Updated changelog.
(cherry picked from commit 7303b534193f27dffdd209322afc6ee1ca71ec41)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-13 17:49:29 -07:00
Oliver Gierke
e8dba40971 SGF-412 - Updated changelog.
(cherry picked from commit 4830d5bde89ee341445c8125076e21c47effb13e)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-13 17:49:15 -07:00
Oliver Gierke
8dfd304f46 SGF-413 - Updated changelog.
(cherry picked from commit 68abb9525cccdaefbd476412350c6a2b4fe3d60e)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-13 17:48:59 -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
9162dd5b73 SGF-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
Changing the SDG version with Apache Geode support to 1.7.0.APACHE-GEODE-EA-SNAPSHOT.
2015-06-11 15:04:46 -07:00
John Blum
1ebeb11e57 SGF-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
Changing the SDG version with Apache Geode support to 1.7.0.APACHE-GEODE-EA.
2015-06-11 13:46:33 -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
b4e24d6f8e SGF-398 - Provide early support of Apache Geode (Pivotal GemFire OSS).
Fixed the AsyncEventQueueWithListenerIntegrationTest class test case method failures involving GemFire 7.0.1 AEQ configuration attributes, like dispatcher-threads.
2015-06-02 18:06:17 -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
Oliver Gierke
0c88727ec8 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:15 +02:00
Oliver Gierke
94d4be4f69 SGF-405 - After release cleanups. 2015-06-02 11:55:23 +02:00
Spring Buildmaster
212a0f1f42 SGF-405 - Prepare next development iteration. 2015-06-02 01:41:13 -07:00
Spring Buildmaster
b789f3c641 SGF-405 - Release version 1.7.0 M1 (Gosling). 2015-06-02 01:41:10 -07:00
Oliver Gierke
d4bf3f9713 SGF-405 - Prepare 1.7.0.M1 (Gosling M1). 2015-06-02 08:49:45 +02:00
Oliver Gierke
a68f0612b5 SGF-405 - Updated changelog. 2015-06-02 08:25:01 +02:00