Commit Graph

678 Commits

Author SHA1 Message Date
John Blum
8cc46ac0fc Upgraded Spring Data GemFire 1.5 to Spring Framework 4.0.5. 2014-07-02 20:18:52 -07:00
Dave Syer
dec5e95433 Link to Pivotal product page (not VMware) 2014-06-24 19:19:57 -07:00
John Blum
ff11bd384d Fixed message in assertion and overrode the assertInitialized method of LazyWiringDeclarableSupport in the inner, static UserDataStoreCacheLoader test class to properly assert that the Spring defined DataSource dependency was properly configured. 2014-06-24 19:07:55 -07:00
John Blum
1920ce4ba1 Fixes JIRA issue SGF-290 handling custom OQL statements specified with an @Query annotated Repository method that returns neither a Collection nor a Entity-based result, such as the case with SELECT count(*) FROM /Region ... based queries returning an Integer count. 2014-06-16 20:12:50 -07:00
John Blum
33437c23e0 Re-organized SDG dependency version properties in gradle.properties. 2014-05-22 16:04:29 -07:00
Oliver Gierke
b1e3cc121a SGF-286 - After release cleanups. 2014-05-20 19:52:47 +02:00
Spring Buildmaster
f79e988797 SGF-286 - Prepare next development iteration. 2014-05-20 10:18:08 -07:00
Spring Buildmaster
924bcb73bb SGF-286 - Release version 1.4.0.RELEASE. 2014-05-20 10:18:02 -07:00
Oliver Gierke
e6aabf52fa SGF-286 - Prepare 1.4 GA. 2014-05-20 17:00:10 +02:00
Oliver Gierke
c8cada3935 SGF-286 - Updated changelog. 2014-05-20 16:26:36 +02:00
Oliver Gierke
d5710eee96 SGF-287 - Upgraded to Spring 3.2.9.RELEASE. 2014-05-20 14:39:05 +02:00
John Blum
9aab9ac79e Additional Spring Data GemFire Reference Guide changes and additions to round out the new feature documentation in Spring Data GemFire 1.4. 2014-05-19 23:34:42 -07:00
John Blum
88e2b2b60e Refactored and performed cleanup in the Spring Data GemFire Reference Guide. Added chapter on Bootstrapping a Spring ApplicationContext from GemFire using Gfsh. 2014-05-19 18:58:37 -07:00
Andy Wilkinson
edb0432987 Add the Spring IO plugin
Configure the Spring IO plugin such that it's only applied when the
build is run with -PplatformVersion=<version>. This platformVersion
property is used to determine the version of the Platform that will
be used when running the springIoCheck task. The plugin can be used
by running a build as follows:

./gradlew clean springIoCheck -PplatformVersion=1.0.0.BUILD-SNAPSHOT -PJDK7_HOME=… -PJDK8_HOME=…

This will test the project on JDK7 and JDK 8 using the dependencies
defined in the latest snapshot of Spring IO Platform 1.0.0.
2014-05-14 12:37:07 +01:00
John Blum
17ec3138c8 Completed SGF-272 refactoring SDG API Javadoc comments as well as cleaning up all Javadoc warnings reported by the SDG Gradle-based build when building on Java 7 and Java 8. 2014-05-07 19:47:58 -07:00
John Blum
98441b9a14 Modified the testLookupQueryService method to use pure mock objects to test the lookup behavior and conditional statements. Added an assertion to the testLookupLocalQueryService test case to verify that the RegionService.getQueryService() method is 'never' called. 2014-05-05 11:46:52 -07:00
John Blum
c15a430419 Fixed failing testLookupQueryService test when mocks are not enabled. In addition, assured the tests passes with or without mocks enabled. 2014-05-05 09:44:17 -07:00
John Blum
e1ba156e04 Re-organized SDG dependency version properties in gradle.properties. 2014-05-02 15:07:39 -07:00
John Blum
14754be03e Implements SGF-274 removing the use of temporary callback objects passed to the 'templated' execute method for each operation implementation in order to reduce the memory footprint, especially in the context of Repositories. 2014-05-02 14:51:08 -07:00
Oliver Gierke
7ef62a0c0f SGF-283 - After release cleanups. 2014-05-02 15:26:52 +02:00
Spring Buildmaster
6d11bc099b SGF-283 - Prepare next development iteration. 2014-05-02 06:04:49 -07:00
Spring Buildmaster
825fbb72f0 SGF-283 - Release version 1.4.0.RC1. 2014-05-02 06:04:46 -07:00
Oliver Gierke
a2d1e2ee70 SGF-283 - Prepare 1.4.0.RC1.
Upgraded to Spring Data Commons 1.8.0.RC. Switched to milestone repository.
2014-05-02 14:40:27 +02:00
Oliver Gierke
157f13cfcc SGF-283 - Updated changelog. 2014-05-02 14:39:47 +02:00
Oliver Gierke
748f2a2783 SGF-283 - Removed obsolete repository declarations.
To make sure the release automation has a single repository declaration to work with I removed the obsolete release and milestone repository declarations. The snapshots contains the milestone repo, which in turn contains the release one, so that only one of them has to be declared depending on which artifacts you want to see.
2014-05-02 13:09:11 +02:00
Oliver Gierke
358c78a578 SGF-283 - Polish changelog structure.
Moved = line below the additional remarks to make sure we can detect the place where to add new changelog entries when automating releases.
2014-04-30 16:31:18 +02:00
John Blum
0bdf1dd691 Updated the SDG build.gradle Maven repository references to include Spring IO's libs-release and libs-milestone. In addition, moved the AMZN S3 Maven Repo to the top of the list to ensure the GemFire artifacts are pulled from the source. 2014-04-29 12:03:01 -07:00
John Blum
426c110187 Implements JIRA improvement SGF-281 involving the addition of logic in SDG to avoid setting the Disk Store Name on the RegionAttributes used to a create a Region in the RegionFactoryBean when the Region is neither 'persistent' nor has an Eviction policy of Overflow To Disk. GemFire erroneously throws an IllegalStateException when the Region references a Disk Store but is not configured with persistence or overflow, which should not matter. Also fixed JIRA issues SGF-282 where the Eviction 'action' is ignored for PARTITION Regions when the 'threshold' is not set. 2014-04-28 15:56:20 -07:00
John Blum
0c25e14be9 Fixes JIRA issue SGF-273 - OrderBy (static) and Sort parameter (dynamic) Repository Queries do not work. 2014-04-28 15:37:30 -07:00
John Blum
8fd0b0bf6d Fixes JIRA issue SGF-277 - OQL Join in Repository Interface. 2014-04-28 14:21:45 -07:00
John Blum
edca5232a4 Fixes JIRA issues SGF-271 - <cq-listener-container> element is missing the 'auto-startup' attribute, SGF-275 - <cq-listener-container> element's phase attribute is ignored, SGF-278 - ContinuousQueryListenerContainer class's 'taskExecutor' property is not set properly by the GemfireListenerContainerParser, SGF-279 - <cq-listener-container> element is missing the 'error-handler' attribute, and finally, SGF-280 - the ContinuousQueryListenerContainer class is not Thread-safe. 2014-04-28 13:34:44 -07:00
John Blum
83fde996b5 Merge branch 'sgf268' of github.com:jxblum/spring-data-gemfire into jxblum-pr64 2014-04-21 11:50:19 -07:00
John Blum
163e36497c Fixes JIRA issues SGF-271 - <cq-listener-container> element missing the 'auto-startup' attribute, SGF-275 - <cq-listener-container> element's phase attribute is ignored, SGF-278 - ContinuousQueryListenerContainer class's 'taskExecutor' property is not set properly by the GemfireListenerContainerParser, SGF-279 - <cq-listener-container> element is missing the 'error-handler' attribute, and finally, SGF-280 - the ContinuousQueryListenerContainer class is not Thread-safe. 2014-04-18 23:01:02 -07:00
John Blum
dc289b478e Refactored and cleaned up Javadoc. 2014-04-16 23:30:06 -07:00
John Blum
e6066d60c0 Declared and implemented the findAll(:Sort) method from the SDC's PagingAndSortingRepository abstraction in SDG given GemFire supports ORDER BY in Queries. 2014-04-16 21:11:54 -07:00
John Blum
7c354f59d6 Refactored and cleaned up deprecated and unchecked/unsafe Java and GemFire API usage. 2014-04-16 13:22:59 -07:00
John Blum
dbf593d409 Added test cases to test and assert the correct behavior of the StringBasedGemfireRepositoryQuery.toCollection(..) method for handling various GemFire Select Query result types. 2014-04-16 09:36:06 -07:00
John Blum
6ad31ba619 Resolves JIRA improvement SGF-265, appropriately handling the 'new' Query result type (ResultsCollectionPdxDeserializerWrapper) introduced and returned by GemFire's Querying infrastructure in 7.0.2, breaking backwards compatibility with 7.0.1 for certain types of Queries. 2014-04-16 08:56:45 -07:00
John Blum
bf21a98e85 Upgrades Spring Data GemFire to GemFire 7.0.2. 2014-04-16 08:53:41 -07:00
John Blum
3e300ddaf5 Added additional Gradle properties for SDG dependency version numbers. Re-organized the dependency declarations in build.gradle and changed version references to use Gradle properties from gradle.properties. 2014-04-14 16:41:03 -07:00
John Blum
4ae0be7860 Fixed compilation issues on JDK 7 and JDK 8. Refactored the DataSourceAdapter abstract, supporting class to implement the Java 7 DataSource.getParentLogger():Logger method. 2014-04-14 16:19:04 -07:00
Andy Wilkinson
7630d0b4df Update dependencies
Various dependencies have been updated to their latest versions. The
dependency on aspectjrt has been removed: it's unnecessary to depend
on both rt and weaver as aspectjweaver contains a superset of
aspectjrt. The dependency on cglib has been removed as it was not
being used.
2014-04-10 14:29:39 +01:00
John Blum
fe15c81da1 Included change log notes for the SDG 1.3.4 release. Updated the SDG dependency declarations in the build.gradle file to properly 'exclude' the 'commons-logging' transitive dependency included by the Spring Framework dependencies. 2014-04-04 15:24:36 -07:00
Spring Buildmaster
a2a9707f02 SGF-266 - Prepare next development iteration. 2014-03-31 08:10:15 -07:00
Spring Buildmaster
3da016b4dc SGF-266 - Release version 1.4.0.M1. 2014-03-31 08:10:12 -07:00
Oliver Gierke
1452422279 SGF-266 - Prepare 1.4 M1. 2014-03-31 16:34:13 +02:00
John Blum
d400c78fb6 Completes JIRA ticket SGF-260 adding support for @Id annotated domain entity interface and class methods in addition to domain entity class fields. This change replaces the DefaultGemfireEntityInformation class's PersistentEntityBasedEntityInformation implementation of the EntityInformation interface to use the new Spring Data Commons org.springframework.data.repository.core.support.PersistentEntityInformation class. Now, DefaultGemfireEntityInformation extends PersistentEntityInformation directly and uses the GemfirePersistentEntity mapping meta-data to retrieve information about the domain entity's id. 2014-03-27 12:44:25 -07:00
John Blum
7f5eb6edb6 Additional changes for SGF-260 supporting @Id annotations on domain entity class or interface methods in addition to domain entity class fields. This change replaces the use of the org.springframework.data.repository.core.support.ReflectionEntityInformation in the DefaultGemfireEntityInformation class with an internal implementation of SDC EntityInformation interface based on the GemfirePersistentEntity instance passed to the DefaultGemfireEntityInformation class during construction. 2014-03-26 17:04:03 -07:00
John Blum
c027e73131 Completes testing for SGF-260, which enables the Spring Data Commons @Id mapping annotation to be used on methods of domain interfaces or classes in addition to domain entity class fields. These test additions require DATACMNS-476 (https://jira.spring.io/browse/DATACMNS-476), with details in GitHub PR #76 (https://github.com/spring-projects/spring-data-commons/pull/76) to be included in the recent SDC 1.8.0.BUILD-SNAPSHOT, slated for the Spring Data Dijkstra release as M1. 2014-03-26 17:04:03 -07:00
John Blum
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. 2014-03-25 11:04:31 -07:00