Commit Graph

943 Commits

Author SHA1 Message Date
Oliver Gierke
62bca2e671 SGF-470 - Updated changelog. 2016-02-23 12:56:43 +01:00
John Blum
e0b11fc4d7 SGF-473 - Fix CI build test failures.
(cherry picked from commit adaf6903d7)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-17 01:09:21 -08:00
John Blum
4f4c33a422 SGF-473 - Allow a Spring-configured ClientCache to be constructed without a Pool.
(cherry picked from commit b385dbc25e)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-16 23:05:18 -08:00
Oliver Gierke
87068c7205 SGF-740 - Tweaked version properties for Gosling SR4. 2016-02-11 16:36:39 +01:00
John Blum
b4d9c6f76f SGF-459 - Add support for the get(key:Object, valueLoader:Callable) method in Spring Framework 4.3's Cache interface.
(cherry picked from commit 1b11b912f5)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-02 00:45:06 -08:00
Eitan Suez
cc4b3b419c SGF-462 - adding appinfo hint to client-region element
-  This allows IDEs to figure out the correct type for this element

Closes PR #85

(cherry picked from commit c543109197)
2016-01-14 12:08:11 -08:00
John Blum
631b1b90ac SGF-460 - Remove unnecessary SLF4J compile-time dependency.
(cherry picked from commit f334cf2c5c)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-01-13 18:37:06 -08:00
John Blum
4c73671cf8 SGF-458 - Enable resolution of GemFire's DistributedSystem and System properties to be overridden in PoolFactoryBean.
(cherry picked from commit 10fadc0d9a)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-01-08 17:19:33 -08:00
John Blum
7654049b2f SGF-457 - Clean up Javadoc warnings.
(cherry picked from commit 91619b8811)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-01-08 17:16:13 -08:00
Oliver Gierke
42704d9687 SGF-456 - After release cleanups. 2015-12-18 10:26:36 +01:00
Spring Buildmaster
fa3a4af2f6 SGF-456 - Prepare next development iteration. 2015-12-18 00:47:29 -08:00
Spring Buildmaster
79785cf35f SGF-456 - Release version 1.7.2.RELEASE (Gosling SR2). 2015-12-18 00:47:29 -08:00
Oliver Gierke
3ee04e277a SGF-456 - Prepare 1.7.2.RELEASE (Gosling SR2). 2015-12-18 08:30:37 +01:00
Oliver Gierke
95e102ed97 SGF-456 - Updated changelog. 2015-12-18 08:30:29 +01:00
Christoph Strobl
6160598985 SGF-456 - Dependency upgrades prior to release.
- Spring 4.1.9
- Jackson 2.6.4
2015-12-17 10:24:41 +01:00
Oliver Gierke
57115e92e6 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:45:13 +01:00
John Blum
197394aca8 SGF-450 - GemfireRepositoryFactoryBean needs to explicitly register the default GemfireMappingContext when not explicitly defined as a bean in the application's Spring context.
(cherry picked from commit eebe7bb622)
Signed-off-by: John Blum <jblum@pivotal.io>
2015-12-03 18:43:00 -08:00
John Blum
fd79e22ab4 SGF-449 - GemfireRepositoryFactoryBean.setGemfireMappingContext needs to call RepositoryFactoryBeanSupport.setMappingContext.
(cherry picked from commit 37d41a1ed2)
Signed-off-by: John Blum <jblum@pivotal.io>
2015-12-03 18:42:53 -08:00
John Blum
17d46b0204 SGF-448 - GemfireRepositoryConfigurationExtension needs to override the RepositoryConfigurationExtensionSupport postProcess(:BeanDefinitionBuilder, :AnnotationRepositoryConfigurationSource) method.
(cherry picked from commit cf64807b09)
Signed-off-by: John Blum <jblum@pivotal.io>
2015-12-03 18:42:44 -08:00
John Blum
842fdcab24 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.
(cherry picked from commit 042af996e6)
Signed-off-by: John Blum <jblum@pivotal.io>
2015-11-30 12:15:36 -08:00
Oliver Gierke
5567e0ecfb SGF-437 - After release cleanups. 2015-11-19 13:01:07 +01:00
Spring Buildmaster
e86c602e54 SGF-437 - Prepare next development iteration. 2015-11-15 06:14:07 -08:00
Spring Buildmaster
568c1ee2ee SGF-437 - Release version 1.7.1.RELEASE (Gosling SR1). 2015-11-15 06:14:04 -08:00
Oliver Gierke
b337ab6d10 SGF-437 - Prepare 1.7.1.RELEASE (Gosling SR1). 2015-11-15 14:06:54 +01:00
Oliver Gierke
4a5509d15e SGF-437 - Updated changelog. 2015-11-15 14:06:49 +01:00
John Blum
df4efe1aab SGF-442 - Remove incorrect statements about GemFire Java Reflection-based (PDX) Serialization in the SDG Reference Guide.
(cherry picked from commit 195d452fe2)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-19 18:52:22 -07:00
John Blum
d73e958811 SGF-437 - Upgrade to Spring Framework 4.1.8.RELEASE. 2015-10-16 09:08:35 -07:00
Oliver Gierke
300e6e4e4b SGF-436 - Updated changelog. 2015-10-14 13:59:07 +02:00
John Blum
7f861b914e 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.

(cherry picked from commit a458115)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-14 00:48:20 -07:00
John Blum
321a3db43c SGF-434 - Add a durable GemFire client cache test to assert proper behavior by SDG.
(cherry picked from commit b52a185)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-14 00:47:07 -07:00
John Blum
0fd7264fda SGF-429 - GemfirePersistentProperty considers a BigDecimal property an entity.
Additional changes and refactoring inspired by Spring Data MongoDB custom SimpleTypeHolder.
(cherry picked from commit 2344eb521d)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-05 22:26:51 -07:00
John Blum
bf572d6b9f SGF-429 - GemfirePersistentProperty considers a BigDecimal property an entity.
(cherry picked from commit 6113bfbea1)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-05 20:48:01 -07:00
John Blum
c2ba1a017c SGF-432 - IndexFactoryBean traps IndexExistsException instead of IndexNameConflictException.
(cherry picked from commit 9cc4b98e35)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-05 20:47:39 -07:00
John Blum
6ea98384c8 SGF-433 - Fix improper resolution of Spring property placeholders in 'locators' and 'servers' attributes on the '<gfe:pool>' element(s) in Spring XML config.
(cherry picked from commit 1cd2a7ff50)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-01 18:29:04 -07:00
John Blum
1e5730dcb6 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.
(cherry picked from commit 87f00274d5bd571577528902fc4de2fdbfcd32c8)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-09-11 22:10:35 -07:00
John Blum
2087a9044d SGF-430 - Cleanup test failures on Windows due to incorrect Spring test context configuration resource resolution.
(cherry picked from commit 7462d7f607)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-09-10 13:33:38 -07:00
John Blum
2cd4666630 SGF-426 - Prepare next development iteration for 1.7 (SR1) with additional after release cleanups. 2015-09-01 20:50:52 -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