Commit Graph

  • 321728d7d5 Added appropriate synchronization around application event notification using the Spring ApplicationContext and ApplicationEventMulticaster. In addition, added support for late ContextRefreshedEvent notifications in the case where ApplicationListeners are registered after the ConfigurableApplicationContext has already been constructed, configured, initialized and refreshed. This latest feature is meant to support updates planned in the 7.5 GemFire release to the Gfsh 'deploy' command dynamically deploying and initializing Declarables in the JAR file. It is possible that Declarables are created and initialized in an unspecified order given there is not equivalent to Spring's Ordered interface in GemFire. John Blum 2014-02-19 19:01:35 -08:00
  • f6ccc09c23 Added support to the SpringContextBootstrappingInitializer class for component scanning given a set of base packages to scan. Refactored LazyWiringDeclarableSupport to implement the DisposableBean interface in order for any extending bean component to unregister itself from the SpringContextBootstrappingInitializer to stop receiving ApplicationContext event notifications when destroyed. Fully tested the application component scanning and configuration using Annotations and JavaConfig-based configuration, uplifting some of the application components (UserDao, UserService, etc) from the integration test and adding a UserApplicationConfiguration @Configuration component in order to test this functionlity properly. John Blum 2014-02-07 18:25:31 -08:00
  • ba84061b48 Completed all testing and interface/functional changes for SGF-248 - Bootstrapping a Spring ApplicationContext with GemFire. John Blum 2014-01-27 18:45:53 -08:00
  • 5476837119 Renaming the SpringContextBootsrappingInitializerTest to SpringContextBootstrappingInitializerIntegrationTest to reflect the fact that the test class is actually an 'integration' test. Also renamed the cache-with-initializer.xml GemFire native configuration file to cache-with-spring-context-bootstrap-initializer.xml to indicate that we are using GemFire to bootstrap a Spring container. John Blum 2014-01-24 17:20:46 -08:00
  • 8e57cc05a3 Early solution for SGF-248 concerning bootstrapping a Spring ApplicationContext inside a GemFire Server-based JVM process when starting the GemFire Server from Gfsh. John Blum 2014-01-23 19:30:16 -08:00
  • 217732b7f7 Implements SGF-204 changing the default behavior or Region lookups. John Blum 2014-03-24 13:48:26 -07:00
  • 1594c5f062 Implements SGF-88 - Region Shortcuts; Implements SGF-257 - Strict types in the SDG XSD for Region data-policy and shortcut attributes; Fixes SGF-258 - missing data-policy attribute for Partitioned Regions; Fixes SGF-263 - ineffective application of disk-synchronous attribute setting on Region bean definitions defined with SDG XML namespace. John Blum 2014-03-21 00:32:45 -07:00
  • 942c5ca7be Added specific Spring Converter implementations for GemFire RegionShortcut and ClientRegionShortcut enumerated value classes. John Blum 2014-02-05 16:24:25 -08:00
  • 984df1b9d4 Refactored RegionFactoryBean and ParsingUtils classes to simplify the code. Specifically, simplified the logic in the parseExpiration and parseCustomExpiration methods while preserving functional behavior. John Blum 2014-01-21 13:07:05 -08:00
  • c5a33d6fef Completes JIRA ticket SGF-204 changing the default behavior of peer and client Region types to not perform a lookup first of an existing Region of the same name/path if the Region was created and configured using native cache.xml in GemFire in addition Spring config. John Blum 2014-03-11 21:19:10 -07:00
  • d2d54bf40c Completes JIRA ticket SGF-256 and upgrades Spring Data GemFire to Spring Framework 3.2.8 and Spring Data Commons 1.8.0. John Blum 2014-03-10 17:43:10 -07:00
  • 36de58ccd7 Implements JIRA ticket SGF-261 allowing an application domain object, or rather entity to be persisted to multiple Regions in the GemFire Cache. John Blum 2014-03-06 13:18:58 -08:00
  • 8fb61ef348 Adding additional test cases to re-inforce my feedback comments, specifically testing the Region 'Key' type and Entity '@Id property' type mismatch and constraint check in the GemfireRepositoryFactory.getTemplate(..) method, lines 128 and 129. John Blum 2014-03-05 13:01:16 -08:00
  • 19a1fe4bc0 Review and test changes for PR #55, which involves storing an entity to multiple Regions in the GemFire Cache. John Blum 2014-03-05 10:00:30 -08:00
  • 5f98eb66b5 Add support for marking a repository with @Region rather than the entity Pid 2014-03-04 00:39:53 +00:00
  • 06d3f62cac Additional test changes based on whether mocking is enabled or not. John Blum 2014-03-04 16:45:06 -08:00
  • b4668b445e Test changes to properly assert Region Eviction Threshold attribute settings for various LRU Eviction Action algorithms like (ENTRY_COUNT, HEAP and MEMORY). John Blum 2014-03-04 12:21:12 -08:00
  • a64a89e357 General test code cleanup and optimizations along with other code refactoring. John Blum 2014-03-03 13:06:33 -08:00
  • 2656a25056 Fixes JIRA issue SGF-259 involving circular dependencies between an Async Event Queue and corresponding, registered Async Event Listener. John Blum 2014-02-27 22:36:58 -08:00
  • bc7e284fbc Fixes JIRA issue SGF-255 involving the required 'threshold' attribute in Region Eviction Attribute configuration settings. John Blum 2014-02-24 20:16:27 -08:00
  • 65ae4b87fe Fixes JIRA issus SGF-252 involving multiple, identically names Subregions and SDG's Repository extension improperly handling application domain objects associated by way of the @Region annotation. John Blum 2014-02-06 17:40:24 -08:00
  • 5660a78255 Fixes JIRA issues SGF-251 involving Spring Data GemFire Repositories not functionality properly for application domain objects (entities) stored in GemFire Subregions using the @Region annotation association. John Blum 2014-02-04 18:36:42 -08:00
  • e06d1e473b Remove the runtime dependency on commons-modeler. The commons-modeler API is a transitive dependency required by GemFire's old Admin interface, which has been replaced in GemFire 7 by the new Management and Monitoring interface. Commons-modeler is not needed either during compilation or testing of the Spring Data GemFire project. John Blum 2014-01-29 10:31:11 -08:00
  • 6e0bf24706 Fixes JIRA issues SGF-249 involving property placeholder values on Disk Store bean definition attributes, and specifically the compaction-threshold attribute, in the SDG XML namespace. John Blum 2014-01-28 17:27:27 -08:00
  • d8dc9d4edb Fully fixes JIRA issue SGF-236 involving the Subregion bean names requiring a prepended forward slash when using the high-level region XML namespace abstractions, like gfe:replicated-region, vs. the gfe:lookup-region element. John Blum 2014-01-21 18:27:22 -08:00
  • 415a9a1239 Added additional assertions to the testDirectLookup test case asserting that the non-looked-up Customers and Customers/Accounts/Orders Regions do not exists as beans in the Spring context. John Blum 2013-12-19 16:43:01 -08:00
  • 8ee149e6e4 Partial Fix and Refactoring for JIRA issue SGF-236 enabling the <gfe:lookup-region/> nested element syntax to function properly. John Blum 2013-12-11 16:04:52 -08:00
  • 5cbe2b6260 Updated Spring Data GemFire Reference Documentation, updating author information and added 'LIKE' operator details to the 'Executing OQL Queries' section. John Blum 2014-01-17 22:17:31 -08:00
  • 7fc7649719 Fixes JIRA issue SGF-247 - boolean-based Repository queries generate an UnsupportedOperationException. John Blum 2014-01-17 21:48:22 -08:00
  • cd8b1b24ca Fixed JIRA issue SGF-247 - boolean-based Repository queries generate UnsupportedOperationException. John Blum 2014-01-17 20:45:23 -08:00
  • 93bf44bbc6 Updgraded Gradle version from 1.3 to 1.9 in an attempt to restore the Bamboo 1.3.3 build. John Blum 2014-01-08 12:55:59 -08:00
  • c278676423 Fixes JIRA issue SGF-244 involving the use of a ref attribute on the GatewaySender element's nested inner EventFilter element. John Blum 2013-12-19 16:04:18 -08:00
  • a861346b95 Set the min and max heap sizes in the Gradle wrapper used by the Bamboo build process in an attempt to avoid Bamboo's JVM initialization error. John Blum 2013-12-16 11:48:56 -08:00
  • 8dee6f7ab2 Fixes JIRA issues SGF-238, SGF-239 and SGF-240 involving jndi-binding cache settings. John Blum 2013-12-13 14:59:03 -08:00
  • fb61e19f1e Upgraded Gradle version from 1.3 to 1.9. John Blum 2013-12-11 16:20:28 -08:00
  • aa68313899 Fixes JIRA issue SGF-234 for the spring-gemfire-1.3.xsd and spring-gemfire-1.4.xsd which incorrectly indicate that the pdx-persistent attribute defaults to true. John Blum 2013-12-09 18:12:16 -08:00
  • e1921b9d53 Fixes JIRA issue SGF-234 for the spring-gemfire-1.3.xsd incorrectly indicating that the pdx-persistent attribute defaults to true. John Blum 2013-12-09 16:58:12 -08:00
  • bb97756f8d Fixes JIRA issue SGF-241 adding support for defining client sub-Regions using the gfe:client-region XML namespace element in an nested fashion. John Blum 2013-12-09 10:50:16 -08:00
  • 101d977026 Fixes bug SGF-225 involving GemFire SubRegion bean definition inconsistencies when data-policy is specified along with SGF-242 that involves the use of membership-attributes configuration on a GemFire Region. John Blum 2013-12-06 16:17:07 -08:00
  • bccf918b72 General code refactoring and cleanup. John Blum 2013-11-15 21:19:07 -08:00
  • f8368c72e8 Resolves JIRA issue SGF-235 fixing the NullPointerException in the DefaultFunctionArgumentResolver when the FunctionContext.getArguments method has no arguments, or incorrectly returns a null value. John Blum 2013-11-21 20:58:05 -08:00
  • 44fb500833 Fixes JIRA issues SGF-230 and SGF-233 involving the persistence on a Async Event Queue or Gateway Sender when a logical Disk Store name has been specified, or the disk-synchronous attribute has been set, requiring persistence to be enabled when all the user wanted was overflow. John Blum 2013-11-16 14:01:59 -08:00
  • 34471fe7aa Fixed failing test cases in the SubRegionSubElementTest class due changes that fixes SGF-231 and SGF-232. John Blum 2013-11-16 12:21:52 -08:00
  • f632a2ab86 Fixes JIRA issue SGF-232 - user is unable to specify Order Policy with a Serial Async Event Queue. Plus, made additional changes to the GatewaySenderFactoryBean class and associated tests/code for SGF-231. John Blum 2013-11-16 11:58:24 -08:00
  • ac47494a04 Fixes JIRA issue SGF-231 - user is unable to specify Order Policy with Serial Gateway Senders. John Blum 2013-11-20 15:30:06 -08:00
  • e07b54e804 Fixed issue with CacheServerNamespaceTest.testBasicCacheServer test case method, finishing/rounding out the work that was done in SGF-218. John Blum 2013-11-14 12:03:18 -08:00
  • f3b22622b1 Fixes JIRA issues SGF-230 and SGF-233 involving the persistence on a Async Event Queue or Gateway Sender when a logical Disk Store name has been specified, or the disk-synchronous attribute has been set, requiring persistence to be enabled when all the user wanted was overflow. John Blum 2013-11-16 14:01:59 -08:00
  • 9a57b0579c Reverted the value of the parallel attribute in the Gateway Sender for the 'Orders' Replicate Region in the SubRegionSubElementTest class. John Blum 2013-11-16 12:30:14 -08:00
  • be230df577 Fixed failing test cases in the SubRegionSubElementTest class due changes that fixes SGF-231 and SGF-232. John Blum 2013-11-16 12:21:52 -08:00
  • 2897b07ab0 Fixes JIRA issue SGF-232 - user is unable to specify Order Policy with a Serial Async Event Queue. Plus, made additional changes to the GatewaySenderFactoryBean class and associated tests/code for SGF-231. John Blum 2013-11-16 11:58:24 -08:00
  • 7994fdddbd Fixes JIRA issue SGF-231 - user is unable to specify Order Policy with Serial Gateway Senders. John Blum 2013-11-15 23:13:43 -08:00
  • 285978660c Fixed issue with CacheServerNamespaceTest.testBasicCacheServer test case method, finishing/rounding out the work that was done in SGF-218. John Blum 2013-11-14 12:03:18 -08:00
  • 85ed196cf4 Remove 'not found in _includes' hacks Phillip Webb 2013-11-14 09:54:55 -08:00
  • 73a7aa689c Re-instated the project version to 1.4.0.BUILD-SNAPSHOT after merging changes from the 1.3.3.RELEASE branch, which was rebased in order to re-align the 1.3.3.RELEASE branch with master since the master branch had additional committed changes for 1.3.3 after the release that was after the 1.3.3.RELEASE branch. The intended purpose of this effort was to simply changes (bug fixes, enhancements, etc) required to be made on the 1.3.3.RELEASE branch for Spring Data GemFire version 1.3.3 that then will need to be promoted, or upmerged to the master branch for new development. John Blum 2013-11-13 13:15:07 -08:00
  • 869925d95a Updates to the README.md and changelog.txt files for the 1.3.3 release. John Blum 2013-11-13 12:20:26 -08:00
  • ca243dceac Fixed documentation references. John Blum 2013-11-12 14:55:14 -08:00
  • 52edacd693 Release version 1.3.3.RELEASE for Spring Data GemFire Spring Buildmaster 2013-11-12 14:13:00 -08:00
  • d1ba02ab4c Formatting, removing unnecessary spacing. John Blum 2013-11-13 11:32:06 -08:00
  • a09cdcb6c6 Removed the disk-store reference in the subscription-config subelement of the GemFire Cache Server bean definition since the Disk Store reference by name is invalid (referring to the Disk Store disk directory location and not the logical name of a valid Disk Store, see SGF-217 for further details). This change should also fix the nightly build. John Blum 2013-11-13 11:15:18 -08:00
  • 835dbdd1e9 Merge remote-tracking branch 'upstream/master' John Blum 2013-11-12 14:34:06 -08:00
  • f016eeac00 Fixed documentation references. John Blum 2013-11-12 14:32:01 -08:00
  • b9975774b5 Next development version is 1.4.0.BUILD-SNAPSHOT for development of Spring Data GemFire on Spring Framework 4.x for the GemFire 7.5 release. Spring Buildmaster 2013-11-12 14:13:09 -08:00
  • 2d92aa3ebd Changing reference to Spring context configuration file in the @ContextConfiguration annotation to a relative location to avoid any potential failures from an unresovable configuration reference. John Blum 2013-11-12 13:30:26 -08:00
  • 93ba141e3c Changes to the Spring Data GemFire Reference Guide based on recent improvements and bugs fixes for the Spring Data GemFire 1.3.3 release. John Blum 2013-11-12 12:18:00 -08:00
  • ac5527ba52 General code refactoring and cleanup. John Blum 2013-11-11 12:35:45 -08:00
  • ffadfc6cb2 Fixed JIRA issues SGF-219, SGF-220 and SGF-221 involving registering CacheListeners and adding Async Event Queues and Gateway Senders to GemFire Sub-Regions. John Blum 2013-11-08 16:53:35 -08:00
  • 1c24a402ce Rolled the Spring Data GemFire project's version of the Spring Framework to 3.2.5.RELEASE and Spring Data Commons to 1.5.3.RELEASE. John Blum 2013-11-08 10:31:34 -08:00
  • 1aea354e26 Merge branch 'SGF-216' of https://github.com/dturanski/spring-data-gemfire into dturanski-sgf216 John Blum 2013-11-07 13:30:07 -08:00
  • 645f1e949b Merge branch 'sgf217-218' of https://github.com/jxblum/spring-data-gemfire into jxblum-sgf217-218 John Blum 2013-11-07 13:25:17 -08:00
  • f7ead2f7c5 Fixes JIRA issues SGF-217 involving the use of a Disk Store for overflow on a client subscription queue with a GemFire Cache Server, which was not properly referenced by the Disk Store's 'name'. In addition, fixes JIRA issues SGF-218 involving the improper configuration of the Eviction Policy for a Cache Server's Client Subscription Queue when overflow occurs. John Blum 2013-11-07 12:48:04 -08:00
  • 40c68e4951 SGF-216: Fixed bug in FunctionContextInjectingArgumentResolver David Turanski 2013-11-07 10:24:00 -05:00
  • aed55a1a2a Fixes JIRA issue SGF-198 involving a BeanCurrentlyInCreationException when an AsyncEventListener is defined for any AsyncEventQueue and Spring Data GemFire injects the listener into the constructor of the AsyncEventQueueFactoryBean and the AsyncEventListener is using constructor injection to some other arbitrary bean dependency in the Spring application context. John Blum 2013-11-06 15:21:43 -08:00
  • a602254e21 Refactored the logic in the CacheParser adding the PdxDiskStoreAwareBeanFactoryPostProcessor to the ApplicationContext by registering the PdxDiskStoreAwareBeanFactoryPostProcessor as a BeanDefinition in the BeanDefinitionRegistry (ConfigurableApplicationContext). John Blum 2013-11-01 15:07:40 -07:00
  • 415f23216f Additional refactoring to the PdxDiskStoreAwareBeanFactoryPostProcessor class based on code review by David Turnaski in PR #31 for JIRA issue SGF-197. John Blum 2013-10-31 15:08:12 -07:00
  • 20f24aa3b0 Changes to the PdxDiskStoreAwareBeanFactoryPostProcessor class based on code review by David Turnaski in PR #31 for JIRA issue SGF-197. John Blum 2013-10-31 14:37:10 -07:00
  • fd35006c5e Fixed JIRA issue SGF-197 involving bean ordering issues when GemFire is configured with a PDX persistent Disk Store and persistent Regions contain data (keys) based on PDX types. John Blum 2013-10-17 17:23:19 -07:00
  • e6e1573f0c Further refactoring to simplify the logic in the AbstractRegionParser.isSubRegion method. John Blum 2013-11-01 13:56:06 -07:00
  • 5766fa070d Minor refactoring to simplify the logic in the org.springframework.data.gemfire.config.AbstractRegionParser.isSubRegion(:Element) method. In addition, added test cases in the newly created AbstractRegionParserTest class. John Blum 2013-11-01 13:52:55 -07:00
  • 5267cb8e05 Added null check to AbstractRegionParser to support Spring 4 Groovy BeanBuilder David Turanski 2013-11-01 14:20:09 -04:00
  • 8eadc51010 Added addition Javadoc comments and performed additional formatting/code organization. John Blum 2013-10-31 16:57:11 -07:00
  • f1a2ab2666 Merged PR #33 to fix JIRA issue SGF-203 concerning persistence. John Blum 2013-10-31 16:41:32 -07:00
  • 9a21b87b16 SGF-214 made GemfireOnMembersFunctionTemplate constructors public David Turanski 2013-10-30 16:38:22 -04:00
  • 0f819f2e04 Code changes based on code review by David Turanski in PR #33 for JIRA issue SGF-203 concerning persistence. John Blum 2013-10-30 13:34:53 -07:00
  • 339393b794 Additional fixes for SGF-203 involving the persistent, data-policy and shortcut attributes of client Regions. John Blum 2013-10-28 21:21:13 -07:00
  • 70f4ddbd35 Additional tests cases for SGF-203 involving persistence. John Blum 2013-10-25 16:51:00 -07:00
  • ff6c121d29 Fixes JIRA issue SGF-203 involving the <gfe:*-region/> element's persistent, data-policy, and for client Regions, shortcut attributes. John Blum 2013-10-25 15:44:14 -07:00
  • 4ed76947d0 Implemented SGF-206 - CacheLoader and CacheWriter support on client, local Regions in a GemFire ClientCache. Also, performed additional refactoring of related code. John Blum 2013-10-23 14:23:20 -07:00
  • c34adc9f6a Refactored the DataPolicyConverter for basic code cleanup and added a value to the Policy enum for PARTITION. Added additional test cases in the corresponding test class. Refactored the resolveDataPolicy method in the RegionFactoryBean making use of helper methods. John Blum 2013-10-18 14:23:35 -07:00
  • 8deda7804c Merged pull request #30 from dturanski/SGF-211. In addition, added additional test cases to verify that the underlying GemFire PartitionAttributesFactory validates the value of the 'redundantCopies' property before creating the PartitionAttributes instance given the type for the 'copies' attribute on the basePartitionedRegionType in the SDG XML Schema was changed from a byte to a string and the type restrictions (0-3) on the value were lifted. John Blum 2013-10-10 11:41:07 -07:00
  • f21df49608 SGF-211: Allow PPH for partitioned-region copies David Turanski 2013-10-10 10:31:13 -04:00
  • 7d711ed4bb Added test code coverage for JIRA issue SGF-178 (https://jira.springsource.org/browse/SGF-178) - parent attribute causes endless loop in in hashCode. John Blum 2013-10-08 15:08:33 -07:00
  • 015b25f117 Merged pull request #29 from dturanski/SGF-194, fixing JIRA issue SGF-194 involving nested Regions (GemFire Sub-Regions). Performed post pull request cleanup based on code review. Added the setHostnameForClients method without the @Override annotation to the StubGatewayReceiverFactory test object based on the latest 7.0.1 GemFire artifact. John Blum 2013-10-07 18:13:48 -07:00
  • 651f89662c SGF-194 Rewrote Subregion parsing in AbstractRegionParser David Turanski 2013-10-01 08:45:08 -04:00
  • 283b3723eb Merge pull request #28 from jxblum/sgf195-fix David Turanski 2013-09-30 05:11:11 -07:00
  • 408c385aa9 Added copyright information and corrected version, setting to 1.3.3. jxblum 2013-09-27 15:16:29 -07:00
  • c3ea6d4f92 Removed the AliasReplacingBeanDefinitionParser class from the Region/bean definition parsing hierarchy moving the remaining methods: getBeanClass, getRegionFactoryClass and isSubRegion to the AbstractRegionParser class. Modified ClientRegionParser to extends AbstractRegionParser directly and provide an supported doParseRegion method since ClientRegionParser overrides doParse directly. Modified AbstractRegionParser class to extend org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser directly changing the overridden doParseInternal method from AliasReplacingBeanDefinitionParser to the overridden to doParse method from AbstractSingleBeanDefintionParser. jxblum 2013-09-26 16:50:37 -07:00
  • 93079f9de9 Fixed the syntactically incorrect colocated-with-ref attribute on gfe:*-region elements, renaming back to colocated-with. Changed the ClientRegionNamespaceTest and associated context configuration file to allow Region names to be used as bean aliases in the Spring container using Spring GemFire configuration. jxblum 2013-09-24 12:08:44 -07:00
  • 591e7c5d05 Adding test code for the fix of JIRA issue SGF-195, colocated Regions. jxblum 2013-09-23 23:09:49 -07:00
  • c6cb372099 Fix for JIRA issues SGF-195 concerning colocated Regions. jxblum 2013-09-23 23:01:25 -07:00
  • d16dac48f0 Removed printlns David Turanski 2013-09-17 07:28:41 -04:00