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
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
John Blum
fb6fc6c93c
Fix failing tests.
2019-01-29 15:05:00 -08:00
John Blum
60d23c9b8f
Apply Java 8 constructs and features (e.g. Method References).
2019-01-28 09:41:27 -08:00
John Blum
fe54953e00
Add logic to ignore member name if 'spring.data.gemfire.name' or 'spring.data.gemfire.cache.name' properties are set.
...
Add logic to ignore member name if the 'spring.application.name' property is set.
Add integration tests asserting that @UseMemberName overrides the name attribute specified in the caching annotations (e.g. @ClientCacheApplication#name() or @PeerCacheApplication#name()).
2018-10-02 16:13:24 -07:00
John Blum
b6e47a6578
Add test cases for getting the value of an Object Field.
2018-09-20 00:07:13 -07:00
John Blum
f1c9e3ea3c
Add get(:Object: fieldName:String) and get(:Object, :Field) methods to ObjectUtils.
...
Add overloaded doOperationSafely(:ExceptionThrowingOperation, :Function<Throwable, T>) method.
2018-09-19 13:14:27 -07:00
John Blum
2bd1afdb9e
Add utiliy method to invoke a method on an object.
2018-08-29 10:06:33 -07:00
John Blum
d98c8d1334
Add annotation configuration support to configure Apache Geode/Pivotal GemFire Locators ('locators') used in P2P topologies and remote Locators ('remote-locators') used in WAN topologies.
2018-06-21 17:51:42 -07:00
John Blum
330dc7fec3
Rename modules.
...
Rename geode-spring-boot to spring-geode.
Rename geode-spring-boot-autoconfigure to spring-geode-autoconfigure.
Rename geode-spring-boot-starter to spring-geode-starter.
Rename gemfire-spring-boot-starter to spring-gemfire-starter.
Resolves GitHub Issue #6 .
2018-06-19 18:35:09 -07:00