Commit Graph

450 Commits

Author SHA1 Message Date
John Blum
78c128ad4c SGF-628 - Ensure locators and servers are configured correctly when using <gfe:pool> attributes.
(cherry picked from commit 77482dded7b0ff6670fe991254c5718095cff760)
Signed-off-by: John Blum <jblum@pivotal.io>
2017-05-11 22:41:09 -07:00
John Blum
8829d404a3 SGF-570 - Respect manual-start on Gateway Senders/Receivers but no longer couple the start/stop lifecycle to the Spring container.
(cherry picked from commit 1b9e65cdc1)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-11-21 12:27:05 -08:00
John Blum
3fb8056eba SGF-555 - Repository queries on client Regions associated with a Pool configured for a specific server group can lead to a RegionNotFoundException.
(cherry picked from commit 6ee35c488d)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-10-07 23:43:17 -07:00
John Blum
da7547ab1a SGF-539 - Change GemfireCache.evict(key) to call Region.remove(key).
(cherry picked from commit a4abc83adb)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-10-04 01:44:58 -07:00
John Blum
96ee1c8684 SGF-535 - Allow both SpEL and property placeholder expressions to be used in the locators/servers attributes of the <gfe:pool> XML namespace element.
(cherry picked from commit b7bcabd9b8)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-09-28 19:02:45 -07:00
John Blum
25379e22c7 SGF-534 - Fix ordered GemfireRepository.findAll(:Sort) queries.
(cherry picked from commit a68a31a052)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-09-22 23:10:11 -07:00
John Blum
3daa217259 SGF-507 - Handle case-insensitive OQL queries defined as Repository query methods.
(cherry picked from commit 96a5990749)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-07-18 16:50:58 -07:00
John Blum
f1ed8ebad5 SGF-504 - Add addptional tests and polish.
(cherry picked from commit 0fa2a86a3be22f8caefbc8d4ef634db4b1680ac3)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-06-24 09:18:58 -07:00
John Blum
1cf0444a0d SGF-504 - Support Repositories with multiple Spring Data modules on the class path.
(cherry picked from commit 8423cdbe85)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-06-21 20:29:29 -07:00
John Blum
e36fbd5544 SGF-502 - DiskStoreAndEvictionRegionParsingTest fails when building with Maven due to missing Disk Store sub-directory.
(cherry picked from commit 87868a60db)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-06-09 14:15:22 -07:00
John Blum
44d7e786c1 SGF-499 - Prevent SDG-defined Pools from being destroyed before the Regions that use them
(cherry picked from commit 1bca496309)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-06-06 23:02:44 -07:00
John Blum
db6ee33559 SGF-497 - Change Pool reference from GemFire's DEFAULT Pool to the gemfireServerPool in the BeanPostProcessor when checking the pending event count.
(cherry picked from commit 2d2dca1633)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-05-17 13:27:43 -07:00
John Blum
ee184cf082 SGF-497 - Intermittent failures in DurableClientCacheIntegrationTest
(cherry picked from commit 9c47e4b617)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-05-17 13:26:55 -07:00
John Blum
22dc8a6017 SGF-416 - Add additional integration test testing the interaction between a client and server when Pool configuration is used to only initialize the DEFAULT Pool used by the PROXY client Region. 2016-03-29 12:42:13 -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
adaf6903d7 SGF-473 - Fix CI build test failures. 2016-02-17 00:30:03 -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
Oliver Gierke
4a6adbadb6 SGF-465 - Moved project build to Maven.
Introduced Maven pom.xml basically mimicking what's been previously defined in build.gradle. Moved Asciidoctor files into places expected by the Spring Data build parent. Moved notice.txt etc. to src/main/resources. Switched to Logback for test logging.
2016-01-28 14:58:15 +01: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
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
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
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