Commit Graph

74 Commits

Author SHA1 Message Date
John Blum
c9f3c1aa17 Update changelog with 1.1.3.RELEASE notes. 2019-11-06 07:36:56 -08:00
John Blum
c95237dd1f Update changelog with 1.2.0.RELEASE notes. 2019-10-17 20:05:34 -07:00
John Blum
25960adc4d Add auto-configuration support for TLS using SSL when deploying Spring Boot ClientCache applications to PCF using PCC that requires secure Sockets.
The TLS/SSL auto-configuration enables and configures the use of the SSL default context provided by the JRE, which the ClientCache instance uses to obtain the required CERT necessary when creating SSL Sockets between the client and PCC servers.

Resolves gh-61.
2019-10-17 15:50:26 -07:00
John Blum
61079d8b4b Update changelog with 1.2.0.RC1 release notes. 2019-10-03 14:12:58 -07:00
John Blum
4443a71dda Update changelog with 1.1.2.RELEASE notes. 2019-10-02 15:23:04 -07:00
John Blum
1d70d34740 Update changelog with 1.2.0.M3 release notes. 2019-09-24 01:04:00 -07:00
John Blum
4eff04c517 Refactor Cluster-aware Conditions to be CloudFoundry Environment-aware.
Resolves gh-56.
2019-09-24 00:34:36 -07:00
John Blum
0da65d79b9 Fix possible NullPointerException when testing and mocking.
Resolves gh-52.
2019-09-20 13:41:55 -07:00
John Blum
0094fd6ea4 Add Environment/System property to control ClusterAwareCondition matching.
Provide static method ClusterAwareConfiguration.ClusterAwareCondition.isAvailable() to assess whether the cluster was available in application components and act accordingly.

Resolves gh-52.
2019-09-20 13:23:43 -07:00
John Blum
6b4827c9b6 Add TypelessAnnotationConfigSupport class extending SDG's o.s.d.g.config.annotation.support.AbstractAnnotationConfigSupport class, which is not based on any configuration-based annotation, but provides a means to utilize the helper methods. 2019-09-20 01:42:40 -07:00
John Blum
ff3ddaf586 Adds support to properly clean up and 'reset' the ClusterAwareConfiguration.ClusterAwareCondition state on ApplicationContext closed events. 2019-09-12 17:40:08 -07:00
John Blum
8e30b4ddd2 Improve CQ Auto-configuration by assessing the availability of a server or cluster first before enabling and auto-configuring CQ functionality.
This added capabilities relies on the new ClusterAwareConditions.

Resolves gh-53.
2019-09-12 14:28:59 -07:00
John Blum
25cf033095 Format source code; Optimize imports. 2019-09-12 01:09:38 -07:00
John Blum
a616bc52e7 Correct 'beanName' variable spelling in Lambda expression of the clientCacheMemberNameConfigurer and peerCacheMemberNameConfigurer bean definitions.
Optimize imports.
2019-09-12 01:09:38 -07:00
John Blum
a8e29f7065 Provide ability to reset Cluster-Aware Configuration Condition state. 2019-09-12 01:09:38 -07:00
John Blum
c1d7424de1 Add @EnableClusterAware annotation configuration support allowing developers to seamlessly switch between local and client/server development environments.
Resolves gh-52.
2019-09-12 01:09:38 -07:00
John Blum
0bd1eab2a9 Update changelog with 1.2.0.M2 release notes. 2019-09-12 00:26:15 -07:00
John Blum
18c4195cad Update changelog with 1.1.1.RELEASE notes. 2019-09-11 22:58:00 -07:00
John Blum
69250d1e30 Add capability to find an optional user by name.
Resolves gh-44.
2019-09-10 12:29:32 -07:00
John Blum
2fc6a28de2 Format source code; Optimize imports. 2019-09-03 14:39:52 -07:00
John Blum
a16018bcb2 Add support for 'locators' and 'remote-locators' properties configuration on Spring Boot, Apache Geode Locator applications when using the @UseLocators annotation. 2019-09-01 10:58:58 -07:00
John Blum
bdd8525e3b Update changelog with 1.2.0.M1 release notes. 2019-08-21 12:26:22 -07:00
John Blum
c7fe27629e Edit changelog notes for 1.1.0.RELEASE. 2019-08-21 09:14:31 -07:00
John Blum
6558e0ee97 Remove all improper uses of the Apache Shiro API and replace with the appropriate core Spring Framework API.
For example, usages of org.apache.shiro.util.Assert and org.apache.shiro.util.StringUtils should be replaced with org.springframework.util.Assert and org.springframework.util.StringUtils, respectively.
2019-08-20 15:00:36 -07:00
John Blum
8f9c5777b3 Update changelog with 1.1.0.RELEASE notes. 2019-08-19 23:51:13 -07:00
John Blum
006f009525 Update changelog with 1.1.0.RC2 release notes. 2019-08-13 23:37:18 -07:00
John Blum
ebc5bf9d10 Update changelog with 1.1.0.RC1 release notes. 2019-08-02 11:48:10 -07:00
John Blum
5a061898de Update changelog with 1.1.0.M3 release notes. 2019-07-03 01:24:48 -07:00
John Blum
621982f472 Add functionality to target and extract VCAP environment variable configuration for a specific CloudCache Service Instance in PCF.
Resolves gh-33.
2019-06-28 18:43:27 -07:00
John Blum
6e81c007e6 Add comparable methods to optionally 'find' as well as 'require' a CloudCache Service Instance in PCF.
Resolves gh-33.
2019-06-28 13:03:30 -07:00
John Blum
feb0886b04 Update changelong with 1.1.0.M2 release notes.
Correct Spring Test for Apache Geode & Pivotal GemFire version; set to 0.0.4.RELEASE.
2019-06-15 11:59:17 -07:00
John Blum
ff62a3470e Update changelog with 1.1.0.M2 release notes.
Correct Spring Framework version; set to 5.1.8.RELEASE.
2019-06-14 23:48:19 -07:00
John Blum
64d4f7ce5d Update changelog with 1.0.1.RELEASE release notes. 2019-06-13 17:04:39 -07:00
John Blum
3047073b52 Edit Javadoc.
Apply Spring @NonNull & @Nullable annotations to the API.
2019-06-12 18:19:55 -07:00
John Blum
82a3887f89 Add RegionConfigurer to enable Inline Caching capabilities using a SD CrudRepository for an application Region. 2019-06-12 18:06:10 -07:00
John Blum
66f75bc898 Optimize imports. 2019-06-12 11:02:59 -07:00
John Blum
7278f2af6e Add RegionConfigurer to register a SD CrudRepository as a Region CacheWriter to write-through to an external data source for Inline Caching. 2019-06-12 11:00:34 -07:00
John Blum
f82bf7380a Add RegionConfigurer to register a SD CrudRepository as a Region CacheLoader to handle cache misses in Inline Caching. 2019-06-12 10:59:23 -07:00
John Blum
8d9d520a75 Change getRepository() access modifier to public. 2019-06-12 10:58:54 -07:00
John Blum
24700d556b Update changelog with 1.1.0.M2 release notes. 2019-06-10 18:29:58 -07:00
John Blum
567b231954 Optimize imports.
Format source code.
2019-06-09 18:07:40 -07:00
John Blum
6e0cf8f200 Edit Javadoc. 2019-05-09 19:55:46 -07:00
John Blum
7617fddd78 Add a concrete o.s.g.cache.RepositoryCacheLoader class, which implements org.apache.geode.cache.CacheLoader and uses (delegates to) a Spring Data CrudRepository. 2019-05-09 19:52:09 -07:00
John Blum
c33d75db27 Add a concrete o.s.g.cache.RepositoryCacheWriter class, which implements org.apache.geode.cache.CacheWriter and uses (delegates to) a Spring Data CrudRepository. 2019-05-09 19:51:11 -07:00
John Blum
a1300c5fc5 Add abstract base class supporting the development of Spring Data Repository, Apache Geode CacheLoader/CacheWriter implementations. 2019-05-09 19:49:29 -07:00
John Blum
75f8aed494 Add o.s.g.cache.support.CacheWriterSupport interface extending org.apache.geode.cache.CacheWriter to facilitate the implementations of application CacheWriters.
The CacheWriterSupport compliments the o.s.g.cache.support.CacheLoaderSupport interface.
2019-05-09 19:48:15 -07:00
John Blum
b9578f679d Add abstract utility class for working with java.util.function.Functions. 2019-05-09 19:45:50 -07:00
John Blum
092d3aaaae Edit changelog.txt.
Add release notes for the 1.1.0.M1 release.
2019-05-06 17:11:02 -07:00
John Blum
cdcbbca6a4 Encapsulate configuration of Apache Geode/Pivotal GemFire (PCC) Security (Auth) using an enabling Annotation with the CacheFactory API. 2019-05-06 16:48:23 -07:00
John Blum
fa421c6da4 Refactor SecurityManagerProxy class.
Remove init(:Properties) method call from constructor.

Implement the o.s.beans.factory.BeanFactoryAware interface.

Override the locateBeanFactory() method.

Switch the test configuration to use the new @EnableSecurityManagerProxy annotation.
2019-05-06 16:48:23 -07:00