Commit Graph

436 Commits

Author SHA1 Message Date
John Blum
5c3461724f SGF-534 - Fix ordered GemfireRepository.findAll(:Sort) queries.
(cherry picked from commit a68a31a0521e3e63bfb283f4b7c5dc15f7d0f8cc)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-09-22 22:56:58 -07:00
John Blum
86a5344a4a SGF-515 - Add methods to return null-safe arrays, Lists, Maps and Sets.
Add method to convert an array of elements into an unmodifiable Set.
2016-09-09 13:40:34 -07:00
John Blum
2f8c1e994b SGF-515 - Allow a property to be unset. 2016-09-09 13:39:15 -07:00
John Blum
f0de70d656 SGF-512 - Configure GemFire System Properties with annotations.
(cherry picked from commit 3f078cbb95626ce893c79e4075daaa5fee610507)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-09-07 11:51:32 -07:00
John Blum
7d6cb887bc SGF-508 - Add unit tests and Javadoc for the PropertiesBuilder class. 2016-08-31 11:14:32 -07:00
John Blum
0dfbfdf443 SGF-508 - Fix embedded Locator and Manager service configuration using Java-based configuration meta-data with @Enable annotations. 2016-08-31 11:14:21 -07:00
John Blum
6599b56083 SGF-492 - Improve GemFire Java-based configuration support - Iteration 1.
(cherry picked from commit c89fc200b508aa52a86166510b70c06d7c73bc09)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-07-27 01:25:43 -07:00
John Blum
f95e97186f SGF-507 - Handle case-insensitive OQL queries defined as Repository query methods.
(cherry picked from commit 96a5990749a76f1369cecaa54f4d98196f6688ac)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-07-18 16:07:13 -07:00
John Blum
5586eebe15 SGF-504 - Add addptional tests and polish.
(cherry picked from commit 0fa2a86a3be22f8caefbc8d4ef634db4b1680ac3)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-06-24 09:05:18 -07:00
John Blum
fa046050bd SGF-504 - Support Repositories with multiple Spring Data modules on the class path.
(cherry picked from commit 8423cdbe8578e0cdb7dd39017231f3f5c755cd33)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-06-21 20:11:10 -07:00
John Blum
a5d6777589 SGF-505 - Add support for forwardExpirationDestroy in the AsyncEventQueueFactoryBean API and XML namespace. 2016-06-20 15:14:02 -07:00
John Blum
fbe1ef1080 SGF-502 - DiskStoreAndEvictionRegionParsingTest fails when building with Maven due to missing Disk Store sub-directory.
(cherry picked from commit 87868a60db32efa5173ea1604f72ade2076c3985)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-06-09 14:38:31 -07:00
John Blum
4684a57952 SGF-499 - Prevent SDG-defined Pools from being destroyed before the Regions that use them.
(cherry picked from commit 1bca49630997ed3a331428704de1931dc4c967c9)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-06-06 23:20:25 -07:00
John Blum
2fe1029abf SGF-500 - Add support for the 'ignoreEvictionAndExpiration' configuration property on AsyncEventQueue and AsyncEventQueueFactory 2016-05-18 19:13:10 -07:00
John Blum
3f84baa378 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 2d2dca163323d557aed3791d2d1f9a9ed23f01ed)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-05-17 13:05:05 -07:00
John Blum
b4ecdf2cc1 SGF-497 - Intermittent failures in DurableClientCacheIntegrationTest
(cherry picked from commit 9c47e4b61765093e048dfd23a76b0df394c457f7)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-05-16 18:16:30 -07:00
John Blum
b42442d9cd SGF-498 - Fix apache-geode build due to recent changes in Apache Geode that removed the SharedConfiguration.destroySharedConfiguration() method from the API. 2016-05-08 18:23:43 -07:00
John Blum
54befa0522 SGF-493 - Remove unnecessary GemFire/Geode version checks. 2016-05-05 14:04:13 -07:00
John Blum
f904f6ad86 SGF-490 - Re-instate GemFire WAN and CQ functionality. 2016-04-25 21:36:20 -07:00
John Blum
fd41003805 SGF-372 - Add GemFire Off-Heap support. 2016-04-24 15:48:31 -07:00
John Blum
4479e5a1a5 SGF-489 - Update Spring Data and 3rd party dependencies. 2016-04-24 14:37:27 -07:00
John Blum
7ef14587e2 SGF-476 - Polish Spring (Data GemFire) provided, GemFire ServerLauncherCacheProvider implementation and tests.
Closes #87.
2016-03-29 18:16:20 -07:00
John Blum
33e8d9ec5e SGF-476 - Support bootstrapping a Geode server after Geode removes SDG dependency - GEODE-1025. 2016-03-29 17:13:48 -07:00
John Blum
2465e5f678 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.
(cherry picked from commit 22dc8a601767fa8ec532b5ca77f0fed2e07320bd)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-03-29 16:47:36 -07:00
John Blum
0820482818 SGF-416 - Remove deprecated code associated with syncing GemFire properties between the ClientCache and Pool.
(cherry picked from commit a0c5ecad62917ccb71e856dae8e3743641f7d76e)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-03-29 16:47:24 -07:00
John Blum
9eb4ab24bf SGF-416 - Add additional unit and integration tests.
(cherry picked from commit e611c520c72e61f44faa25dafa48c849036c84b6)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-03-29 16:47:10 -07:00
John Blum
7c0d3a72a6 SGF-416 - Avoid eager creation of a GemFire DistributedSystem in the PoolFactoryBean by creating a ClientCache first.
(cherry picked from commit 127b62e7220f94e07ed2e46e46b90e5017dde80d)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-03-16 19:36:13 -07:00
John Blum
46220a15dc SGF-479 - Remove lazy initialization option for configuring a GemFire cache.
(cherry picked from commit b052f0ac8dadb5e5e676d7b7d363e94733992c0e)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-03-16 19:17:52 -07:00
John Blum
bf3adcb3ee SGF-480 - Change default for use-bean-factory-locator to false.
(cherry picked from commit 6bf5ceeaf672aeede3e8927248d7bd8d045825cb)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-03-16 19:13:30 -07:00
John Blum
a0c8950e1f SGF-475 - Add additional logging to the MappingPdxSerializer.
(cherry picked from commit 6dfd3e7082628f4c05da951ff760861ebb242899)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-03-01 16:03:53 -08:00
Dan Smith
4272216552 SGF-476 - Implement ServerLauncherCacheProvider to launch geode with spring.
Geode has removed the direct dependency on spring data gemfire in favor
of using a ServiceLoader to allow overriding the behavior of geode's server
launcher start behavior. Implementing the ServerLauncherCacheProvider
interface to allow SDG to override the server launcher behavior to parse
a spring xml file, if present.
2016-03-01 15:43:00 -08:00
John Blum
b68c1f450c SGF-469 - Add support for CDI.
(cherry picked from commit 34da7ec91044c9f01647d444ccbe12ed890b4cc6)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-26 18:15:16 -08:00
John Blum
4cdd9a04ba SGF-474 - Fix the NPE in the MappingPdxSerializer
(cherry picked from commit 53a1fc217afc0e682ef75573e98e0d84e4acbd85)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-25 13:27:28 -08:00
John Blum
90135855c1 SGF-473 - Fix CI build test failures.
(cherry picked from commit adaf6903d7a177dc63fff888121cd9060e949aba)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-17 00:57:31 -08:00
John Blum
f0d5b7cf25 SGF-473 - Allow a Spring-configured ClientCache to be constructed without a Pool.
(cherry picked from commit b385dbc25e6554e023c416f02ad8f69b9c6d3f11)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-16 19:23:53 -08:00
John Blum
f24d8e9865 SGF-468 - Improve coordination between the PoolFactoryBean and ClientCacheFactoryBean when configuring and resolving the GemFire DistributedSystem.
(cherry picked from commit 770038a3aa20c4a989689a5883f98716b4d925aa)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-03 13:23:24 -08:00
John Blum
83023a4425 SGF-459 - Add support for the get(key:Object, valueLoader:Callable) method in Spring Framework 4.3's Cache interface.
(cherry picked from commit 1b11b912f53b90df7b18fc40e070155096d3648e)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-02 00:09:45 -08:00
John Blum
a6ab1cf804 SGF-458 - Enable resolution of GemFire's DistributedSystem and System properties to be overridden in PoolFactoryBean.
(cherry picked from commit 10fadc0d9a92d007a7bff85045c5169f2d8797f7)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-01-08 20:00:30 -08:00
Jens Deppe
03fa75736c 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.
(cherry picked from commit 34665d16ec543e85afcde174194ba5fbff44b841)
2015-12-31 09:04:02 -08:00
Jens Deppe
ef99a04be8 SGF-454 - Adapted to API changes in Spring Data Commons.
Related tickets: DATACMNS-89.
(cherry picked from commit 6ad886ffaefc41b2bc9b014aee6acbc0ad9039ac)
2015-12-31 08:41:14 -08:00
Jens Deppe
693a2e89c3 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 042af996e69c87e936f34003e02c826470ef41ab)
2015-12-30 16:57:38 -08:00
John Blum
8590f2c222 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 eebe7bb6229a13f70ce7ab8d26798138038f9db7)
Signed-off-by: John Blum <jblum@pivotal.io>
2015-12-03 19:13:28 -08:00
John Blum
a17efd4d5b SGF-449 - GemfireRepositoryFactoryBean.setGemfireMappingContext needs to call RepositoryFactoryBeanSupport.setMappingContext.
(cherry picked from commit 37d41a1ed2166a5296e43d2778511fd3131e4510)
Signed-off-by: John Blum <jblum@pivotal.io>
2015-12-03 19:13:18 -08:00
John Blum
c7b45af48e SGF-448 - GemfireRepositoryConfigurationExtension needs to override the RepositoryConfigurationExtensionSupport postProcess(:BeanDefinitionBuilder, :AnnotationRepositoryConfigurationSource) method.
(cherry picked from commit cf64807b095637fea43ec00acfaa1204cdedd8cb)
Signed-off-by: John Blum <jblum@pivotal.io>
2015-12-03 19:12:58 -08:00
Jens Deppe
251199a5cc SGF-447: Replace GemFire internal StringUtils with Spring standard StringUtils 2015-11-30 07:52:20 -08:00
Jens Deppe
db3a594903 SGF-444 - Fix Spring Data GemFire apache-geode build due to recent changes to Apache Geode that moved Lucene into a separate module 2015-11-13 09:24:06 -08:00
John Blum
919d86093d SGF-443 - Fix Spring Data GemFire apache-geode build due to recent changes to Apache Geode that removed the HDFS support. 2015-10-28 11:33:25 -07:00
John Blum
a6b1189db6 SGF-441 - Fix possible CacheClosedException in ClientCacheFactoryBean onApplicationEvent(:ContextRefreshedEvent) when the ClientCache initialization is lazy.
(cherry picked from commit f645e7d1a4ea1954c21aa2416b46669d97f4e18d)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-18 00:39:00 -07:00
John Blum
8cc93f72a0 SGF-440 - Optimize imports across the SDG codebase.
(cherry picked from commit af343a45fa57a9580a5942de8c091c680adea87b)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-16 13:07:30 -07:00
John Blum
09d44bb99b SGF-438 - Make <gfe:client-cache>, 'ready-for-events' true the default for durable clients.
(cherry picked from commit 0514a6b5e84f43cd6717097c52141ce5c698bf99)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-16 08:40:08 -07:00