Commit Graph

597 Commits

Author SHA1 Message Date
John Blum
6c1f9a6545 SGF-560 - Add 'spring-geode' and 'spring-data-geode' XML Schemas (XSD) for the 1.0.0.APACHE-GEODE-INCUBATING-RELEASE.
Refactor all SDG XML configuration files to use the new 'spring-geode' and 'spring-data-geode' XML schemas, respecitvely.

Fix test failures.
2016-11-02 19:20:22 -07:00
John Blum
0dffb938fc SGF-559 - Add integration tests convering Geode Integrated Security framework configuration using Geode and Apache Shiro methods with SDG's Annotation configuration support. 2016-11-02 15:06:44 -07:00
John Blum
5a33995b42 SGF-559 - Configure Geode Integrated Security with annotations. 2016-10-31 20:43:54 -07:00
John Blum
0f0468e68d SGF-558 - Rename Geode package imports from com.gemstone.gemfire to org.apache.geode.
Upgrade Apache Geode to 1.1.0-incubating-SNAPSHOT.
2016-10-19 18:55:12 -07:00
John Blum
39abc0e331 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 6ee35c488d15d1922477e6813eae9529c15c046b)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-10-07 23:13:21 -07:00
John Blum
3c5af53c7f SGF-553 - Use SDG's MappingPdxSerializer as the default PdxSerializer when PDX is configured with @EnablePdx.
(cherry picked from commit 6a5f2f7a369dcf12a8649ff7aaf7c7149571da7c)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-10-05 19:29:39 -07:00
John Blum
6d95846b55 SGF-543 - Register the DiskStoreDirectoryBeanPostProcessor for the new Annotation config model.
(cherry picked from commit 402e916427e16eb24eaf65e354a92c95c65c1026)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-10-05 11:54:24 -07:00
John Blum
c40ef58741 SGF-539 - Change GemfireCache.evict(key) to call Region.remove(key).
(cherry picked from commit a4abc83adbc5e56ac47f3228b297a2613bdc3565)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-10-04 00:31:23 -07:00
John Blum
f64765ef70 SGF-538 - Reorganize the XML configuration classes and support in SDG.
(cherry picked from commit d914f7427483d3e583aea13f061f3cdc20be84f8)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-10-01 14:30:36 -07:00
John Blum
fba37379cd 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 b7bcabd9b8b1922ddad09af8ad62e9041f3674c7)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-09-28 16:40:15 -07:00
John Blum
0ff21f6eef SGF-528 - Enable GemfireCacheManager to explicitly specify Cache names referring to Regions that will be used in Spring's Caching Infrastructure.
(cherry picked from commit 1af7ad523ae701ccd3e4770695ce1dcc7b5e12ef)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-09-26 19:10:25 -07:00
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