Commit Graph

488 Commits

Author SHA1 Message Date
John Blum
53d7e17b79 SGF-366 - Unable to create local-only, client-based Region Indexes using SDG's <gfe:index> and corresponding IndexFactoryBean functionality.
Signed-off-by: John Blum <jblum@pivotal.io>
2015-01-14 16:57:21 -08:00
John Blum
0d6690f2e4 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.
(cherry picked from commit 743dd48127)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-12-12 16:44:35 -08:00
John Blum
6b33d9c28a SGF-360 - Failures in SubRegionNamespaceTests when built with Java 8.
(cherry picked from commit 20a8257574)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-12-11 16:48:22 -08:00
John Blum
5d1736ca61 SGF-354 - SimpleGemfireRepository.deleteAll that supports transactions.
(cherry picked from commit cf99650add)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-12-10 21:36:26 -08:00
John Blum
3538dc37df 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.
(cherry picked from commit 043937e523)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-10-27 14:38:44 -07:00
John Blum
1f6c83fdc5 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 14:03:15 -07:00
John Blum
1412932346 SGF-340 - Change a SpringSource-based links in the SDG Reference Guide to Spring.io-based links.
(cherry picked from commit f2b03a26d0)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-10-10 16:44:07 -07:00
John Blum
bc1670b9be SGF-339 - Change all VMWare-based links in the SDG Reference Guide to Pivotal-based links.
(cherry picked from commit 9af336af32)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-10-10 16:43:57 -07:00
John Blum
5df3d2e5ae SGF-335 - Refactor ProcessUtils and fix the GatewayReceiverNamespaceTest class hang in the Bamboo SDG Nightly Build when mocking is disabled. 2014-09-27 12:19:41 -07:00
John Blum
4398721b18 SGF-330 - Add missing 'disk-synchronous' attribute to the <gfe:gateway-sender> element in the SDG XML namespace (XSD). 2014-09-24 17:15:38 -07:00
John Blum
07df1a7417 SGF-328 - Additional refactoring after the cherry-pick commit in revision 283a762; Changed GemFire GatewayReceiverFactory 'setHostnameForSenders' calls to 'setHostnameForClients' based on interface differences between GemFire 7 and GemFire 8. 2014-09-24 16:49:21 -07:00
John Blum
283a762794 SGF-328 - Add missing 'hostname-for-senders' attribute on the <gfe:gateway-receiver> element in the SDG XML namespace (XSD).
(cherry picked from commit c6c7b59773ec6ea8eccb0e04570519127552f76f)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-24 16:46:13 -07:00
John Blum
f4a2b974bc SGF-333 - The SpringContextBootstrappingInitializer needs to handle the case when it's init(:Properties) method maybe called more than once on initialization.
(cherry picked from commit 6efb775c1e)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-20 22:35:19 -07:00
John Blum
0fd09cb719 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:25:46 -07:00
John Blum
a5104b1659 SGF-316 - Updates Spring Data GemFire Reference Guide with 1.5 changes (e.g. Auto Region Lookups, Region Templates) 2014-09-04 22:16:04 -07:00
Oliver Gierke
70bf9aac69 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 09:53:16 +02:00
John Blum
08d5a4e8d6 Additional post-merge (cherry-pick) cleanup, fixing test failures and merge change conflicts. 2014-09-03 18:58:08 -07:00
John Blum
f1a959350a Post-merge (cherry-pick) cleanup, fixing test failures and merge change conflicts. 2014-09-03 18:18:54 -07:00
John Blum
3beed647eb 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.
(cherry picked from commit 639293adfe)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 17:18:36 -07:00
Greg Turnquist
ae82ddffab SGF-305: Move to Asciidoctor for reference documentation
First cut at migrating reference docs to asciidoctor.
(cherry picked from commit d11bf5ce0e)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 17:15:00 -07:00
John Blum
6a72a25194 Additional test case to test SDG's auto Region lookup behavior with Spring's component-scan functionality.
(cherry picked from commit eb9ebec574)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 17:13:40 -07:00
John Blum
96914bf282 Additional test case to test SDG's auto Region lookup behavior with Spring's auto-wiring functionality.
(cherry picked from commit 37428e2ba7)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 17:13:28 -07:00
John Blum
b902027f04 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.
(cherry picked from commit cc9c724fbc)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 17:13:14 -07:00
John Blum
0e3af5b94a 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.
(cherry picked from commit 920e53794e)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 17:12:53 -07:00
John Blum
31fe30016f 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.
(cherry picked from commit b9dbd0a64e)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 17:12:26 -07:00
John Blum
d682be8885 Refactored and fixed failing test cases after the integration of SGF-207, SGF-254, SGF-307, SGF-310, SGF-311 and SGF-312.
(cherry picked from commit b251a9071a)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 17:04:33 -07:00
John Blum
e396925776 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.
(cherry picked from commit b68074c85c)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 16:53:32 -07:00
John Blum
58c41f8e87 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.
(cherry picked from commit 4bff3d9f7a)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 16:45:58 -07:00
John Blum
a877bf55ce 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.
(cherry picked from commit 02fd3ce44e)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 16:42:02 -07:00
John Blum
eed8849ddf Completed Peer Cache Region Template testing for JIRA feature requests SGF-207 and SGF-254 adding support for template-defined Regions.
(cherry picked from commit 5919d87658)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 16:41:31 -07:00
John Blum
0085b609d4 Code refactoring and cleanup related to SGF-207 and SGF-254, Region Templates.
(cherry picked from commit dab04833c9)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 16:40:54 -07:00
John Blum
5af6a7e2f0 Additional work and changes for JIRA feature requests SGF-207 and SGF-254 to enable developers with the ability to create Region templates to model attributes and configuration meta-data common to multiple, strongly-typed GemFire Region types (e.g. REPLICATE, PARTITION, etc).
(cherry picked from commit 2f66eca99b)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 16:35:18 -07:00
John Blum
083b4e2986 Initial implementation and tests for JIRA feature requests SGF-207 and SGF-254 supporting inheritable Region templates when defining GemFire Regions using Spring Data GemFire XML configuration meta-data. This feature allows common Region configuration and attribute values to be defined once and then shared across multiple Region bean definitions in the Spring context for added convenience.
(cherry picked from commit 5d27c19ef5)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 16:16:00 -07:00
John Blum
f1e5fee45b Fixes JIRA bug SGF-312 allowing developers to declare/define and register multiple PartitionListeners on a Partitioned Region using nested inner bean and bean reference elements inside the <gfe:partition-listener> sub-element of the <gfe:partitioned-region> element in the SDG XML namespace (XSD).
(cherry picked from commit b9a966e11a)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 15:56:16 -07:00
John Blum
c46b5f8575 Implements JIRA improvement SGF-223 enabling Spring Data GemFire to create GemFire Disk Store directory locations automatically (based on nested <gfe:disk-dir> elements inside the <gfe:disk-store> element specified in Spring config) without the user having to create the disk directories for the location manually, unlike GemFire's native configuration options (such as cache.xml).
(cherry picked from commit 96cb3775fb)

Signed-off-by: John Blum <jblum@pivotal.io>
2014-09-03 15:42:03 -07:00
John Blum
324b25e5cf Fixes JIRA issue SGF-304 changing the GroupMembersFunctionExecution class to call the correct GemFire com.gemstone.gemfire.cache.execute.FunctionService method, onMembers(groups:String[]) (plural). Performed additional refactoring in related classes. 2014-08-11 16:21:58 -07:00
John Blum
0e3b8885d4 Fixed test issue in GatewayReceiverNamespaceTest class which caused a com.gemstone.gemfire.management.ManagementException: javax.management.InstanceAlreadyExistsException: GemFire:service=GatewayReceiver,type=Member,member=10.237.177.13(80647)-24771 when mocking was disabled and true integration testing was performed in the SDG build/test run. 2014-07-30 23:31:38 -07:00
John Blum
48e874c852 Re-implemented the toObjectArray method using System.arraycopy. 2014-07-08 00:16:27 -07:00
John Blum
e7059a370c Fixes JIRA issue SGF-297 enabling Spring Data GemFire POJO, Function annotated methods to be invoked from Gfsh when arguments are injected during Function argument resolution. 2014-07-07 23:50:45 -07:00
John Blum
34bc5da8a1 Completes JIRA improvement SGF-294 allowing GemFire Gateway Receivers to be configured for manual start using the Spring Data GemFire XML namespace. This commit completes the improvement in the 1.5 XSD for the SDG 1.5.0.M1 (Evans) release. 2014-07-07 18:31:37 -07:00
John Blum
db066287b0 Completes JIRA improvement SGF-294 allowing GemFire Gateway Receivers to be configured for manual start using the Spring Data GemFire XML namespace. This commit completes the improvement in the 1.4 XSD first in order to backport the feature to the SDG 1.4.2 release. 2014-07-07 18:29:32 -07:00
John Blum
1ed3ad4295 Fixed test issues in SubRegionNamespaceTest class involving Region fullPath property assertions. 2014-07-07 13:43:43 -07:00
John Blum
8a8d0d89ff Fixes JIRA issue SGF-295 allowing all Eviction Policy Actions (LOCAL_DESTROY, OVERFLOW_TO_DISK) to be specified on Local Regions configured using the Spring Data GemFire XML namespace. This commit resolves the issue in the 1.5 XSD for the SDG 1.5.0.M1 (Evans) release. 2014-07-07 13:10:47 -07:00
John Blum
1df9454524 Fixes JIRA issue SGF-295 allowing all Eviction Policy Actions (LOCAL_DESTROY, OVERFLOW_TO_DISK) to be specified on Local Regions configured using the Spring Data GemFire XML namespace. This commit resolves the issue in the 1.4 XSD first in order to backport the fix to the SDG 1.4.2 release. 2014-07-07 13:07:51 -07:00
John Blum
1233a4bbb2 Completes SGF-296 - adding SDG XML schemas (XSDs) for both the spring-gemfire (gfe) XML namespace as well as the spring-data-gemfire (gfe-data) XML namespace. Switches the default XSDs to the 1.5 versions, respectively. 2014-07-03 17:29:48 -07:00
John Blum
8cc46ac0fc Upgraded Spring Data GemFire 1.5 to Spring Framework 4.0.5. 2014-07-02 20:18:52 -07:00
John Blum
ff11bd384d Fixed message in assertion and overrode the assertInitialized method of LazyWiringDeclarableSupport in the inner, static UserDataStoreCacheLoader test class to properly assert that the Spring defined DataSource dependency was properly configured. 2014-06-24 19:07:55 -07:00
John Blum
1920ce4ba1 Fixes JIRA issue SGF-290 handling custom OQL statements specified with an @Query annotated Repository method that returns neither a Collection nor a Entity-based result, such as the case with SELECT count(*) FROM /Region ... based queries returning an Integer count. 2014-06-16 20:12:50 -07:00
John Blum
17ec3138c8 Completed SGF-272 refactoring SDG API Javadoc comments as well as cleaning up all Javadoc warnings reported by the SDG Gradle-based build when building on Java 7 and Java 8. 2014-05-07 19:47:58 -07:00
John Blum
98441b9a14 Modified the testLookupQueryService method to use pure mock objects to test the lookup behavior and conditional statements. Added an assertion to the testLookupLocalQueryService test case to verify that the RegionService.getQueryService() method is 'never' called. 2014-05-05 11:46:52 -07:00