Commit Graph

929 Commits

Author SHA1 Message Date
John Blum
cf64807b09 SGF-448 - GemfireRepositoryConfigurationExtension needs to override the RepositoryConfigurationExtensionSupport postProcess(:BeanDefinitionBuilder, :AnnotationRepositoryConfigurationSource) method. 2015-12-03 15:59:49 -08:00
John Blum
042af996e6 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 11:52:18 -08:00
Oliver Gierke
650d5fffab SGF-437 - Updated changelog. 2015-11-16 08:53:12 +01:00
John Blum
195d452fe2 SGF-442 - Remove incorrect statements about GemFire Java Reflection-based (PDX) Serialization in the SDG Reference Guide. 2015-10-19 18:44:37 -07:00
John Blum
f645e7d1a4 SGF-441 - Fix possible CacheClosedException in ClientCacheFactoryBean onApplicationEvent(:ContextRefreshedEvent) when the ClientCache initialization is lazy. 2015-10-17 23:17:31 -07:00
John Blum
af343a45fa SGF-440 - Optimize imports across the SDG codebase. 2015-10-16 12:35:51 -07:00
John Blum
e07068e828 SGF-437 - Upgrade to Spring Framework 4.1.8.RELEASE. 2015-10-16 02:47:23 -07:00
John Blum
0514a6b5e8 SGF-438 - Make <gfe:client-cache>, 'ready-for-events' true the default for durable clients. 2015-10-16 02:24:43 -07:00
John Blum
e74768f006 SGF-439 - Add 'durable-client-id' and 'durable-client-timeout' attributes to the <gfe:client-cache> namespace element for convenience. 2015-10-15 22:16:01 -07:00
Oliver Gierke
96d88f9908 SGF-436 - Updated changelog. 2015-10-14 13:59:13 +02:00
John Blum
a458115c7f 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.
2015-10-14 00:37:03 -07:00
John Blum
b52a18579b SGF-434 - Add a durable GemFire client cache test to assert proper behavior by SDG. 2015-10-12 13:45:13 -07:00
John Blum
2344eb521d SGF-429 - GemfirePersistentProperty considers a BigDecimal property an entity.
Additional changes and refactoring inspired by Spring Data MongoDB custom SimpleTypeHolder.
2015-10-05 22:04:16 -07:00
John Blum
6113bfbea1 SGF-429 - GemfirePersistentProperty considers a BigDecimal property an entity. 2015-10-05 20:22:41 -07:00
John Blum
9cc4b98e35 SGF-432 - IndexFactoryBean traps IndexExistsException instead of IndexNameConflictException. 2015-10-05 19:03:08 -07:00
John Blum
1cd2a7ff50 SGF-433 - Fix improper resolution of Spring property placeholders in 'locators' and 'servers' attributes on the '<gfe:pool>' element(s) in Spring XML config. 2015-10-01 17:59:04 -07:00
John Blum
2f15b322ee SGF-430 - Cleanup test failures on Windows due to incorrect Spring test context configuration resource resolution.
Fixes SnapshotServiceFactoryBeanTest.toSimpleFilenameUsingVariousPathnames(..) and the SnapshotServiceImportExportIntegrationTest failures on MS Windows due to file system path issues.
2015-09-11 22:17:20 -07:00
John Blum
3fdf6c3c82 SGF-431 - Remove mavenLocal() from the artifact repository declarations. 2015-09-10 15:40:55 -07:00
John Blum
7462d7f607 SGF-430 - Cleanup test failures on Windows due to incorrect Spring test context configuration resource resolution. 2015-09-10 13:29:29 -07:00
John Blum
8d79955810 SGF-387 - Prepare SDG 1.8 and upgrade to GemFire 8.2.0 GA
Added the 'New in the 1.8 Release' section to the 'New Features' chapter in the Spring Data GemFire Reference Guide.
2015-09-01 21:34:04 -07:00
John Blum
32d52301c6 SGF-387 - Prepare SDG 1.8 and upgrade to GemFire 8.2.0 GA
Created the spring-gemfire-1.8.xsd and spring-data-gemfire-1.8.xsd and updated the spring.schemas file to references the version appropriate schemas (XSDs) for SDG 1.8.  Also rebased on 'master' to pull in SGF-409.
2015-09-01 21:11:28 -07:00
John Blum
f0aa6fdeb6 SGF-387 - Prepare SDG 1.8 and upgrade to GemFire 8.2.0 GA 2015-09-01 21:11:28 -07:00
John Blum
31c048d911 SGF-426 - Additional after release cleanup. 2015-09-01 21:08:53 -07:00
John Blum
6d218022f2 SGF-427 - Update Spring Data GemFire Reference Guide 'New in the 1.7 Release' section. 2015-09-01 20:28:40 -07:00
Oliver Gierke
7abdf1ec75 SGF-426 - After release cleanups. 2015-09-01 23:08:24 +02:00
Spring Buildmaster
efd404bcfb SGF-426 - Prepare next development iteration. 2015-09-01 23:08:19 +02:00
Spring Buildmaster
88434d05a4 SGF-426 - Release version 1.7.0.RELEASE (Gosling GA). 2015-09-01 02:08:09 -07:00
Oliver Gierke
e9eeccb579 SGF-426 - Prepare 1.7.0.RELEASE (Gosling GA). 2015-09-01 09:44:22 +02:00
Oliver Gierke
33ff69992d SGF-426 - Updated changelog. 2015-09-01 09:44:17 +02:00
John Blum
a2ec36157b 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.
Fixed up Javadoc.
2015-08-31 22:22:33 -07:00
John Blum
f292ec6fad 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.
Renamed the '<gfe-data:export-snapshot>' and '<gfe-data:import-snapshot>' sub-elements to <gfe-data:snapshot-export>' and '<gfe-data:snapshot-import>' respectively; updated the SnapshotServiceParser to appropriately handle the sub-element name change.
Added a mini chapter in the Spring Data GemFire Reference Guide on how-to use the GemFire SnapshotService support provided by Spring Data GemFire.
2015-08-31 21:46:29 -07:00
John Blum
d9245f3430 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.
Renamed the <gfe-data:snapshot-service> element 'suppress-init-import' attribute to 'suppress-import-on-init'.
Fixed up the JSONRegionAdviceTest class test case failures due to changes in the ..repository.sample.Person application domain object class.
2015-08-28 11:09:13 -07:00
John Blum
5bf3e8e813 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.
Repackaged all GemFire Snapshot Service support classes in Spring Data GemFire under org.springframework.data.gemfire.snapshot.
Moved snapshot application events to ..snapshot.event.
Moved the ComposableSnapshotFilter class to ..snapshot.filter.
2015-08-28 00:56:12 -07:00
John Blum
608ad777e3 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.
Refactored the SnapshotServiceFactoryBean with the addition of a new property (suppressInitImport) to suppress importing on initialization.
Refactored the SnapshotServiceFactoryBean SnapshotServiceAdapter interface's doImport(..) and doExport(..) method signatures to varargs.
Added the ComposableSnapshotFilter class implemeting the SnapshotFilter interface and Composition Design Pattern for composing multiple SnapshotFilters into one using logical operators.
Cleaned up and added addition unit tests.
Completed all integration testing including testing with export and import snapshot application event driven GemFire Cache Region snapshots.
2015-08-28 00:33:13 -07:00
John Blum
35107aa12d 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.
Refactored the SnapshotApplicationEvent into 2 separate ApplicationEvent classes to handle import and exports.
Refactored the SnapshotServiceFactoryBean class to handle import/export SnapshotApplicationEvents in onApplicationEvent(:SnapshotApplicationEvent).
Added integration tests for the archive file handling capabilities of the SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport class.
Added additional unit tests.
2015-08-25 00:59:01 -07:00
John Blum
b47884c88c 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.
Refactored the ServiceSnapshotFactoryBean class to handle ZIP and JAR files as input sources on GemFire Cache data imports.
Added additional unit tests for SnapshotServiceFactoryBean to improve coverage along with a basic integration test covering import and export.
Fixed bugs in the SnapshotServiceParser and the XSD.
Moved the iterable(:Enumeration) and iterable(:Iterator) methods from the test CollectionUtils class to the 'official' CollectionUtils class.
2015-08-24 22:45:44 -07:00
John Blum
96f6a70595 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.
Introduced a SnapshotApplicationEvent extending Spring ApplicationEvent to allow SDG-based GemFire applications to trigger GemFire Cache Region data snapshots (export ops).
Refactored SnapshotServiceFactoryBean to be a ApplicationListener on SnapshotApplicationEvents.
Introduced ExportSnapshotException and ImportSnapshotException to more succinctly desribe the snapshot import/export error.
Refactored CacheSnapshotServiceAdapter.doImport(..) method to invoke load(:SnapshotFormat, :SnapshotOptions, :File...), i.e. file-based in order to apply the SnapshotFilter on load, which is not applicable to the CacheSnapshotService.load(:File, :SnapshotFormat) method that assumes the 'File' is a directory.  Therefore doImport(..) expands the directory if the File given is indeed a valid file system directory.
Added additional unit tests.
2015-08-22 13:38:35 -07:00
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
dff74e694c SGF-392 - Add support for OQL Query statement extensions in Repository Query methods via Annotations.
Reference Guide updates for OQL Query Langauge extension support via Annotations.
2015-08-14 12:34:42 -07:00
John Blum
abc5722af5 SGF-392 - Add support for OQL Query statement extensions in Repository Query methods via Annotations.
Test refactoring and cleaup.
2015-08-13 14:16:47 -07:00
John Blum
bdbf101fd7 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.
2015-08-13 13:16:20 -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
ff290a442e SGF-419 - Documentation error on page 22 in the Spring Data GemFire Reference PDF. 2015-08-12 00:13:45 -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
d45a37f41e SGF-422 - After release cleanups. 2015-08-04 14:09:22 +02:00