Commit Graph

890 Commits

Author SHA1 Message Date
Spring Operator
d66f9f9aa2 SGF-827 - URL Cleanup.
- Ensure Gradle Wrapper is downloaded via https

Resolves gh-121
2019-03-28 09:27:39 +01:00
Spring Operator
fcdc51421f SGF-827 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 536 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Resolves gh-112
2019-03-27 09:55:51 +01:00
Spring Operator
2194f9e0e4 SGF-827 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://www.gemstone.com/docs/6.5.1/product/docs/japi/ (ConnectTimeoutException) with 1 occurrences migrated to:
  https://www.gemstone.com/docs/6.5.1/product/docs/japi/ ([https](https://www.gemstone.com/docs/6.5.1/product/docs/japi/) result ConnectTimeoutException).
* http://atinject.googlecode.com/svn/trunk/javadoc/ (404) with 1 occurrences migrated to:
  https://atinject.googlecode.com/svn/trunk/javadoc/ ([https](https://atinject.googlecode.com/svn/trunk/javadoc/) result 404).
* http://logging.apache.org/log4j/docs/api/ (404) with 1 occurrences migrated to:
  https://logging.apache.org/log4j/docs/api/ ([https](https://logging.apache.org/log4j/docs/api/) result 404).

These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 1 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.txt with 1 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
* http://asm.objectweb.org/asm223/javadoc/user (301) with 1 occurrences migrated to:
  https://asm.ow2.org/asm223/javadoc/user ([https](https://asm.objectweb.org/asm223/javadoc/user) result 301).
* http://static.springframework.org/spring/docs/3.1.x/javadoc-api (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/3.1.x/javadoc-api ([https](https://static.springframework.org/spring/docs/3.1.x/javadoc-api) result 301).
* http://github.com/SpringSource/spring-gemfire with 2 occurrences migrated to:
  https://github.com/SpringSource/spring-gemfire ([https](https://github.com/SpringSource/spring-gemfire) result 301).
* http://repo.springsource.org/libs-snapshot with 1 occurrences migrated to:
  https://repo.springsource.org/libs-snapshot ([https](https://repo.springsource.org/libs-snapshot) result 301).
* http://www.springsource.org/spring-gemfire with 1 occurrences migrated to:
  https://www.springsource.org/spring-gemfire ([https](https://www.springsource.org/spring-gemfire) result 301).
* http://download.oracle.com/javase/6/docs/api with 1 occurrences migrated to:
  https://download.oracle.com/javase/6/docs/api ([https](https://download.oracle.com/javase/6/docs/api) result 302).

These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 1 occurrences

Resolves gh-100.
2019-03-18 17:01:43 -07:00
John Blum
9ce7079023 SGF-639 - Release Spring Data GemFire 1.6.2.RELEASE-PATCH02. 2017-06-27 00:51:24 -07:00
John Blum
69bf7ac446 SGF-637 - Improve IndexFactoryBean's resilience and options for handling GemFire IndexExistsExceptions and IndexNameConflictExceptions.
(cherry picked from commit d3b8e58358)
Signed-off-by: John Blum <jblum@pivotal.io>
2017-06-27 00:13:45 -07:00
John Blum
693179629e SGF-632 - Re-prepare next development iteration. 2017-06-01 15:39:39 -07:00
John Blum
896efc1b07 SGF-632 - Release Spring Data GemFire 1.6.2.RELEASE-PATCH01. 2017-06-01 15:30:06 -07:00
John Blum
475fe88bc5 SGF-631 - Add pom.xml to build SDG with Maven. 2017-06-01 14:36:20 -07:00
Oliver Gierke
cf3bfd5a39 SGF-481 - Updated changelog. 2016-03-18 13:23:55 +01:00
John Blum
99bbe183cf SGF-475 - Add additional logging to the MappingPdxSerializer.
(cherry picked from commit 6dfd3e7082)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-03-01 16:29:05 -08:00
John Blum
090d49c687 SGF-474 - Fix the NPE in the MappingPdxSerializer
(cherry picked from commit 53a1fc217a)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-25 13:10:05 -08:00
Oliver Gierke
5360d2b21f SGF-470 - Updated changelog. 2016-02-23 14:33:58 +01:00
John Blum
f205947062 SGF-473 - Fix CI build test failures.
(cherry picked from commit adaf6903d7)
Signed-off-by: John Blum <jblum@pivotal.io>
2016-02-17 01:22:10 -08:00
John Blum
92b56d998a 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:23:47 -08:00
John Blum
ff0dfe7ec4 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:38:18 -08:00
John Blum
a73ad7e55a 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:42:42 -08:00
John Blum
1c93c97dc8 SGF-457 - Clean up Javadoc warnings. 2016-01-08 17:41:08 -08:00
Oliver Gierke
f752419b69 SGF-456 - Updated changelog. 2015-12-18 11:00:46 +01:00
Oliver Gierke
eaed096f09 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:46:30 +01:00
John Blum
1328fa3300 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 19:00:13 -08:00
John Blum
14d42618a1 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:59:52 -08:00
John Blum
2f44261527 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:58:08 -08:00
John Blum
ed01af8012 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. 2015-11-30 12:35:43 -08:00
Oliver Gierke
d6e46299f2 SGF-437 - Updated changelog. 2015-11-16 08:53:07 +01:00
John Blum
c41c126fcf 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:58:24 -07:00
Oliver Gierke
a4680e5194 SGF-436 - Updated changelog. 2015-10-14 13:58:53 +02:00
John Blum
7633bfe8f1 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 01:42:50 -07:00
John Blum
0fc527e399 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 01:15:48 -07:00
John Blum
bb89e2bdb6 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 23:18:15 -07:00
John Blum
590b182ada 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 23:04:01 -07:00
John Blum
58d172d316 SGF-432 - IndexFactoryBean traps IndexExistsException instead of IndexNameConflictException.
(cherry picked from commit 9cc4b98e35)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-05 23:02:10 -07:00
John Blum
a95b3f6a60 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 1cd2a7f)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-10-01 19:46:04 -07:00
John Blum
0297180479 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:57:35 -07:00
Oliver Gierke
b9bb54b534 SGF-426 - Updated changelog. 2015-09-01 12:32:11 +02:00
John Blum
8d0ed421a6 SGF-419 - Documentation error on page 22 in the Spring Data GemFire Reference PDF.
(cherry picked from commit ff290a442e)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-12 00:14:36 -07:00
John Blum
0d7a2fe211 SGF-425 - Allow early initialization and re-initialization of LazyWiringDeclarableSupport instances.
Deprecated org.springframework.data.gemfire.WiringDeclarableSupport in favor of LazyWiringDeclarableSupport and modified LazyWiringDeclarableSupport to 'release' the BeanFactory reference.
(cherry picked from commit 29a169a10c)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-10 23:42:58 -07:00
John Blum
e37004facf SGF-425 - Allow early initialization and re-initialization of LazyWiringDeclarableSupport instances.
Fixed test failures associated with changes to LazyWiringDeclarableSupport passing the ApplicationContext onApplicationEvents (ContextRefreshedEvent) directly rather than the ApplicationContext's ConfigurableListableBeanFactory required by BeanConfigurerSupport.
(cherry picked from commit be6a3aac3e)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-10 23:42:48 -07:00
John Blum
5b7aa8ad59 SGF-425 - Allow early initialization and re-initialization of LazyWiringDeclarableSupport instances.
(cherry picked from commit 93280bf204)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-10 23:42:38 -07:00
John Blum
e90874f1d4 SGF-423 - Handle improper ClassCastException thrown from SDG's Function Execution interface and annotation-based support when a GemFire Function throws an Exception.
Additional refactoring and added serveral unit tests.
(cherry picked from commit a806f1540e)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-10 23:42:26 -07:00
John Blum
17e41723b5 SGF-423 - Handle improper ClassCastException thrown from SDG's Function Execution interface and annotation-based support when a GemFire Function throws an Exception.
Initial refactoring and code cleanup.
(cherry picked from commit bb8ce682c6)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-08-10 23:42:17 -07:00
John Blum
615ab83d68 SGF-420 - After release cleanups. 2015-08-10 23:42:01 -07:00
Oliver Gierke
4d615a8ec3 SGF-422 - Updated changelog. 2015-08-04 14:51:19 +02:00
Oliver Gierke
4302a5b05f SGF-420 - After release cleanups. 2015-07-28 16:28:36 +02:00
Spring Buildmaster
ab96adb8b1 SGF-420 - Prepare next development iteration. 2015-07-28 07:09:01 -07:00
Spring Buildmaster
d0e0fe24d3 SGF-420 - Release version 1.6.2.RELEASE (Fowler SR2). 2015-07-28 07:08:58 -07:00
Oliver Gierke
f71b1534e4 SGF-420 - Prepare 1.6.2.RELEASE (Fowler SR2). 2015-07-28 15:26:46 +02:00
Oliver Gierke
09953afa9c SGF-420 - Updated changelog. 2015-07-28 14:52:42 +02:00
John Blum
d6b0bd87f8 SGF-409 - Modify the GemfireDataSourcePostProcessor (basis for <gfe:datasource>) to not assume a GemFire Server was configured and bootstrapped with Spring and subsequently that the SDG ListRegionsOnServerFunction was registered.
Fixed up the GemFireDataSourceUsingNonSpringConfiguredGemFireServerIntegrationTest to customize the classpath in order to exlude the Spring Data GemFire dependency from the non-Spring-configured GemFire Server's classpath thereby removing any presence of the ListRegionsOnServerFunction GemFire Function; made use of the com.gemstone.gemfire.distributed.ServerLauncher class for launching the non-Spring-configured GemFire Server and finally, wrote the gemfire-datasource-integration-test-cache.xml as an cache.xml file to the non-Spring-configured GemFire Server's working directory to properly configure the GemFire Server.
(cherry picked from commit 65ab1c7dcd)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-20 15:35:13 -07:00
John Blum
a21cb18c24 SGF-409 - Modify the GemfireDataSourcePostProcessor (basis for <gfe:datasource>) to not assume a GemFire Server was configured and bootstrapped with Spring and subsequently that the SDG ListRegionsOnServerFunction was registered.
Refactored the GemfireDataSourcePostProcessorTest class test cases based on the new implementation of the GemfireDataSourcePostProcessor BeanFactoryPostProcessor, which uses the GemFire internal GetRegionsFunction GemFire Function as a fallback when the ListRegionsOnServerFunction has not been registered or is not available.  In addition, added 2 integration tests to test a Spring Data GemFire ClientCache connecting to a Spring-configured GemFire Server and non-Spring-configured GemFire Server asserting that client PROXY Region beans are appropriately created in the Spring ApplicationContext.
(cherry picked from commit 52e4be4240)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-20 15:34:56 -07:00
John Blum
a339b64387 SGF-409 - Modify the GemfireDataSourcePostProcessor (basis for <gfe:datasource>) to not assume a GemFire Server was configured and bootstrapped with Spring and subsequently that the SDG ListRegionsOnServerFunction was registered.
Adding unit tests for the GemfireDataSourcePostProcessor class.
(cherry picked from commit 0055a79a5d)

Signed-off-by: John Blum <jblum@pivotal.io>
2015-07-20 15:34:41 -07:00