Commit Graph

570 Commits

Author SHA1 Message Date
John Blum
a68a31a052 SGF-534 - Fix ordered GemfireRepository.findAll(:Sort) queries. 2016-09-22 22:52:17 -07:00
John Blum
20301c1e4e SGF-511 - Add ability to enable additional CacheServers using annotation config. 2016-08-15 12:46:52 -07:00
John Blum
a161d72749 SGF-508 - Remove Memcached Server configuration from AbstractCacheConfiguration base class. 2016-08-12 17:19:00 -07:00
John Blum
e03d09d566 SGF-508 - Add unit tests and Javadoc for the PropertiesBuilder class. 2016-08-12 17:18:55 -07:00
John Blum
c88c6b11ad SGF-508 - Fix embedded Locator and Manager service configuration using Java-based configuration meta-data with @Enabled annotations. 2016-08-12 17:18:48 -07:00
John Blum
c89fc200b5 SGF-492 - Improve GemFire Java-based configuration support - Iteration 1. 2016-07-27 01:20:43 -07:00
John Blum
96a5990749 SGF-507 - Handle case-insensitive OQL queries defined as Repository query methods. 2016-07-18 15:51:13 -07:00
John Blum
9c37a5a4fe SGF-504 - Add additional tests and polish. 2016-07-13 09:36:36 -07:00
John Blum
8423cdbe85 SGF-504 - Support Repositories with multiple Spring Data modules on the class path. 2016-06-21 19:44:45 -07:00
John Blum
1bca496309 SGF-499 - Prevent SDG-defined Pools from being destroyed before the Regions that use them 2016-06-06 22:45:41 -07:00
John Blum
27cf4a8729 SGF-501 - Add serialVersionUID to ListRegionsOnServerFunction 2016-05-23 16:01:30 -07:00
John Blum
8bb7013f65 SGF-494 - Fix bug in GemfirePersistentEntity introduced by Spring Data Commons' ClassGeneratingPropertyAccessorFactory. 2016-05-12 16:51:59 -07:00
John Blum
a0c5ecad62 SGF-416 - Remove deprecated code associated with syncing GemFire properties between the ClientCache and Pool. 2016-03-23 18:04:15 -07:00
John Blum
e611c520c7 SGF-416 - Add additional unit and integration tests. 2016-03-23 12:26:59 -07:00
John Blum
127b62e722 SGF-416 - Avoid eager creation of a GemFire DistributedSystem in the PoolFactoryBean by creating a ClientCache first. 2016-03-12 02:07:08 -08:00
John Blum
b052f0ac8d SGF-479 - Remove lazy initialization option for configuring a GemFire cache. 2016-03-09 22:49:26 -08:00
John Blum
6bf5ceeaf6 SGF-480 - Change default for use-bean-factory-locator to false. 2016-03-09 21:22:00 -08:00
John Blum
6dfd3e7082 SGF-475 - Add additional logging to the MappingPdxSerializer. 2016-03-01 15:42:11 -08:00
John Blum
34da7ec910 SGF-469 - Add support for CDI. 2016-02-26 14:32:34 -08:00
John Blum
53a1fc217a SGF-474 - Fix the NPE in the MappingPdxSerializer 2016-02-25 12:16:19 -08:00
John Blum
b385dbc25e SGF-473 - Allow a Spring-configured ClientCache to be constructed without a Pool. 2016-02-16 18:46:24 -08:00
John Blum
770038a3aa SGF-468 - Improve coordination between the PoolFactoryBean and ClientCacheFactoryBean when configuring and resolving the GemFire DistributedSystem. 2016-02-03 12:06:08 -08:00
John Blum
1b11b912f5 SGF-459 - Add support for the get(key:Object, valueLoader:Callable) method in Spring Framework 4.3's Cache interface. 2016-02-01 23:43:29 -08:00
John Blum
10fadc0d9a SGF-458 - Enable resolution of GemFire's DistributedSystem and System properties to be overridden in PoolFactoryBean. 2016-01-08 16:57:58 -08:00
John Blum
91619b8811 SGF-457 - Clean up Javadoc warnings. 2016-01-08 16:50:12 -08:00
Oliver Gierke
34665d16ec SGF-455 - Simplified registration for shared GemfireMappingContext for repositories.
A <gemfire:repositories /> now registers a single bean definition for a GemfireMappingContext that gets wired to the GemfireRepositoryFactoryBean instances registered within the system unless an explicit mapping context is referenced.

The GemfireRepositoryFactoryBean now checks a GemfireMappingContext being registered and rejects to start without one. The same applies to GemfireRepositoryFactory.

Related tickets: SGF-448, SGF-449, SGF-450.
2015-12-16 17:44:59 +01:00
Oliver Gierke
6ad886ffae SGF-454 - Adapted to API changes in Spring Data Commons.
Related tickets: DATACMNS-89.
2015-12-14 22:23:44 +01:00
John Blum
eebe7bb622 SGF-450 - GemfireRepositoryFactoryBean needs to explicitly register the default GemfireMappingContext when not explicitly defined as a bean in the application's Spring context. 2015-12-03 18:09:34 -08:00
John Blum
37d41a1ed2 SGF-449 - GemfireRepositoryFactoryBean.setGemfireMappingContext needs to call RepositoryFactoryBeanSupport.setMappingContext. 2015-12-03 16:21:35 -08:00
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
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
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
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
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