Commit Graph

69 Commits

Author SHA1 Message Date
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
a8f88dff0a Declare AbstractInlineCachingWithExternalDataSourceIntegrationTests as a proper abstract class. 2019-06-13 01:39:14 -07:00
John Blum
ba646e83f3 Add Lombok config. 2019-06-13 01:38:20 -07:00
John Blum
90a4f7f036 Add Lombok Gradle Plugin. 2019-06-13 01:35:35 -07:00
John Blum
bc1c259fb7 Add Integration Tests testing the Inline Caching support using Apache Cassandra. 2019-06-13 01:32:02 -07:00
John Blum
d3bb6e4b32 Extend AbstractInlineCachingWithExternalDataSourceIntegrationTests. 2019-06-13 01:31:14 -07:00
John Blum
6837ac82c9 Add abstract base class encapsulating functionality and test cases common to all Inline Caching Integration Tests. 2019-06-13 01:30:00 -07:00
John Blum
ac62cbb002 Add Apache Cassandra mapping annotations/meta-data for persistence purposes. 2019-06-13 01:29:07 -07:00
John Blum
c8124d5c2b Add test compile dependency on org.testcontainers:testcontainers. 2019-06-13 01:09:25 -07:00
John Blum
7b5824f4c7 Add Integration Tests testing the Inline Caching support using a RDBMS (HSQLDB Database). 2019-06-13 00:19:10 -07:00
John Blum
759fa1b9a1 Add example Customer Relationship Management (CRM) application domain classes. 2019-06-13 00:14:21 -07:00
John Blum
dcd0b33f7c Add test runtime dependency on org.springframework.boot:spring-boot-starter-data-jpa.
Add test runtime dependency on org.springframework.boot:spring-boot-starter-data-cassandra.

Add test runtime dependency on org.hsqldb:hsqldb.
2019-06-13 00:13:26 -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
John Blum
4f7383f71b Encapsulate configuration of Apache Geode/Pivotal GemFire (PCC) Security (Auth) using an enabling Annotation and security-manager property with proxying. 2019-05-06 16:48:23 -07:00
John Blum
2a805fa24d Add exclusion on 'org.skyscreamer:jsonassert' in the 'org.springframework.boot:spring-boot-starter-test' dependency.
This transitive dependency creates a conflict with Apache Geode with the org.json.JSONObject class given Geode use but overrides (o.O) the same API.
2019-05-06 16:48:23 -07:00
John Blum
71c93615d9 Refactor test class setup and tearDown.
Remove GemfireBeanFactoryLocator cleanup.  Rely on IntegrationTestsSupport to cleanup the GemfireBeanFactoryLocator state.

Rename setup/tearDown method from cleanUpBeanFactoryLocatorReferences to cleanupSecurityManagerProxyInstance.
2019-05-06 16:48:23 -07:00
John Blum
e7d0e5f974 Add 1.0 GA release note for STDG 0.0.1.RELEASE upgrade. 2019-05-06 15:25:31 -07:00
John Blum
fba399540a Update changelog.txt.
Include release notes for 1.0.0.RELEASE (GA).
2019-05-06 14:39:49 -07:00
John Blum
3d06e521b0 Edit changelog.
Update the changelog with changes in 1.0.0.RC2.
2019-04-30 23:37:18 -07:00
John Blum
f0e8b7964c Remove exclusions on 'org.springframework.boot:spring-boot-starter-logging'.
Add exclusion on 'org.apache.logging.log4j:log4j-to-slf4j'.
2019-04-29 19:49:36 -07:00
John Blum
473e31af30 Remove unnecessary use of java.util.Optional. 2019-04-29 19:37:14 -07:00
John Blum
332b228589 Edit Javadoc.
Correct invalid '@literl' and '@lin' Javadoc tags.
2019-04-29 16:19:04 -07:00
John Blum
a366c7abd5 Add findMethod(:Class, :String, :Object[]):Optional<Method> and supporting private Predicate creation methods.
findMethod(..) matches a Method based on the Object's Class type, the Method name and whether the arguments passed can be used to invoek a (potentially) overloaded method by the same name.

Add a resolveInvocationTarget(:Object, :Method) to resolve the target of the Method invocation.

The target of the Method invocation is determined by whether the Method is static; if the Method is static, then the resolved target is null, otherwise it is the target Object.
2019-04-29 16:13:00 -07:00
John Blum
bb8a415bd9 Edit changelog. 2019-04-24 11:36:16 -07:00
John Blum
921243c003 Update changelog.
Post release notes for SBDG 1.0.0.RC1.
2019-04-24 09:11:03 -07:00
John Blum
1ec07c0dc1 Update changelog.
Include details for all development tasks in 1.0.0.M4.
2019-03-21 22:05:54 -07:00
Spring Operator
928d96e0f5 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://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/gemfire/v1 (ConnectTimeoutException) with 1 occurrences migrated to:
  https://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/gemfire/v1 ([https](https://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/gemfire/v1) result ConnectTimeoutException).
* [ ] http://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/pulse (ConnectTimeoutException) with 2 occurrences migrated to:
  https://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/pulse ([https](https://cloudcache-9defb33a-6b8b-49f0-bd35-cf6f7b2f222f.sys.tunis.cf-app.com/pulse) result ConnectTimeoutException).
* [ ] http://gemfire- (UnknownHostException) with 1 occurrences migrated to:
  https://gemfire- ([https](https://gemfire-) result UnknownHostException).
* [ ] http://skullbox:7070/v1/gemfire (UnknownHostException) with 1 occurrences migrated to:
  https://skullbox:7070/v1/gemfire ([https](https://skullbox:7070/v1/gemfire) result UnknownHostException).

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

* [ ] http://geode.apache.org/ with 3 occurrences migrated to:
  https://geode.apache.org/ ([https](https://geode.apache.org/) result 200).
* [ ] http://geode.apache.org/docs/guide/ with 1 occurrences migrated to:
  https://geode.apache.org/docs/guide/ ([https](https://geode.apache.org/docs/guide/) result 200).
* [ ] http://geode.apache.org/releases/latest/javadoc with 1 occurrences migrated to:
  https://geode.apache.org/releases/latest/javadoc ([https](https://geode.apache.org/releases/latest/javadoc) result 200).
* [ ] http://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/client/ClientCache.html with 1 occurrences migrated to:
  https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/client/ClientCache.html ([https](https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/client/ClientCache.html) result 200).
* [ ] http://projects.spring.io/spring-boot/ with 3 occurrences migrated to:
  https://projects.spring.io/spring-boot/ ([https](https://projects.spring.io/spring-boot/) result 200).
* [ ] http://projects.spring.io/spring-data-gemfire/ with 2 occurrences migrated to:
  https://projects.spring.io/spring-data-gemfire/ ([https](https://projects.spring.io/spring-data-gemfire/) result 200).
* [ ] http://shiro.apache.org/realm.html with 1 occurrences migrated to:
  https://shiro.apache.org/realm.html ([https](https://shiro.apache.org/realm.html) result 200).
* [ ] http://stackoverflow.com with 1 occurrences migrated to:
  https://stackoverflow.com ([https](https://stackoverflow.com) result 200).
* [ ] http://stackoverflow.com/tags/spring-session with 1 occurrences migrated to:
  https://stackoverflow.com/tags/spring-session ([https](https://stackoverflow.com/tags/spring-session) result 200).
* [ ] http://www.slf4j.org/codes.html with 1 occurrences migrated to:
  https://www.slf4j.org/codes.html ([https](https://www.slf4j.org/codes.html) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://docs.pivotal.io/p-cloud-cache/ with 1 occurrences migrated to:
  https://docs.pivotal.io/p-cloud-cache/ ([https](https://docs.pivotal.io/p-cloud-cache/) result 301).
* [ ] http://docs.spring.io/spring-data-gemfire/docs/current/reference/html/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-data-gemfire/docs/current/reference/html/ ([https](https://docs.spring.io/spring-data-gemfire/docs/current/reference/html/) result 301).
* [ ] http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/) result 301).
* [ ] http://gemfire.docs.pivotal.io/ with 1 occurrences migrated to:
  https://gemfire.docs.pivotal.io/ ([https](https://gemfire.docs.pivotal.io/) result 302).

These URLs were intentionally ignored.

* http://localhost:%d/session/attribute with 1 occurrences
* http://localhost:7070/v1/gemfire with 1 occurrences

Resolves gh-28.
2019-03-21 21:11:53 -07:00
John Blum
8da5755ed8 Update copyright to 2019.
Resolves gh-19.
2019-03-21 18:07:02 -07:00
Toshiaki Maki
9a27b397fc Fix placeholders in log statements.
The log statement incorrectly used String.format(..) placecholders (e.g. %s) rather than SLF4J placeholders (e.g. {}).

Resolves gh-24.
2019-03-11 11:17:03 -07:00