Commit Graph

466 Commits

Author SHA1 Message Date
John Blum
c2e90b9c17 Edit Javadoc. 2019-05-06 13:00:05 -07:00
John Blum
97f17557ca Create Spring Geode Sample application for the Look-Aside Caching pattern. 2019-05-06 13:00:05 -07:00
John Blum
938e247dc8 Re-arrange table of contents and docs (index includes).
Change the order to Data Serialization, Security, Spring Boot Actuator, Spring Session, Samples.
2019-05-02 06:47:04 -07:00
John Blum
39db0d42dd Change image links to be relative to images/. 2019-05-02 06:29:31 -07:00
John Blum
5df446e18d Move images to spring-geode-docs/src/docs/asciidoc/images. 2019-05-02 06:10:41 -07:00
John Blum
8ac286c6e9 Declare 'imagesdir' location variable.
Change all image references to be relative to 'imagesdir'.
2019-05-02 05:54:07 -07:00
John Blum
d4967f34b6 Move images to spring-geode-docs/src/docs/images.
Rename client-actuator-health-endpoint.png to client-actuator-health-endpoints.png.

Rename server-actuator-health-endpoint.png to server-actuator-health-endpoints.png.
2019-05-02 05:47:06 -07:00
John Blum
d93830bede Fix path variables (e.g. samples-dir) used in documentation and source files.
Remove trailing path separator (/).
2019-05-01 18:48:45 -07:00
John Blum
a795c4d3fd Fix source block containing Gradle-based, Spring libs-milestone repository reference. 2019-05-01 00:00:54 -07:00
John Blum
a13413a658 Prepare next development iteration. 2019-04-30 23:52:34 -07:00
John Blum
24018751a5 Release 1.0.0.RC2. 2019-04-30 23:39:04 -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
e65b2725a3 Include 'back' links. 2019-04-30 23:20:43 -07:00
John Blum
a60fe9e8b3 Correct URLs and source file includes. 2019-04-30 23:20:27 -07:00
John Blum
0c6c6a79b1 Edit Spring Boot Actuator Sample Guide. 2019-04-30 23:05:12 -07:00
John Blum
934f03ebce Format source code for documentation reference purposes. 2019-04-30 23:04:44 -07:00
John Blum
48ad20244e Correct misspelled image file names. 2019-04-30 23:03:59 -07:00
John Blum
3edb1ca00a Add Sample with guide and example application/code for using Spring Boot's Actuator. 2019-04-30 18:26:10 -07:00
John Blum
05900e499e Add Asciidoc tag references. 2019-04-30 18:23:59 -07:00
John Blum
4beb39c336 Add 'org.springframework.boot:spring-boot-autoconfigure-processor' as an optional dependency. 2019-04-29 20:32:05 -07:00
John Blum
bd2b5ab146 Remove unnecessary @ConditionalOnClass on the GemFireCache.class. 2019-04-29 20:27:06 -07:00
John Blum
e2031ef892 Add 'javax.cache:cache-api' as a runtime dependency to the starters. 2019-04-29 20:08:32 -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
3121f6684c Add generated Lombok configuration file to Spring Boot Actuator Sample. 2019-04-29 16:14:29 -07:00
John Blum
9e3e8f45d2 Add logging configuration files for JUL, Log4j and SLF4J to the Spring Boot Actuator Sample application. 2019-04-29 16:14:29 -07:00
John Blum
280ee00f61 Move Spring Boot Actuator Sample under the spring-geode-samples.
Declare the FreeFair Lombok Gradle Plugin in spring-geode-samples-boot-actuator.gradle.
2019-04-29 16:14:29 -07:00
Spring Operator
12a675e045 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 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 134 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0.html with 1 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html) result 200).

Resolves gh-30.
2019-04-29 16:14:29 -07:00
John Blum
c8b4c3702e Switch dependencies from spring-geode-starter & spring-geode-actuator-autoconfigure to spring-geode-starter-actuator. 2019-04-29 16:14:29 -07:00
John Blum
4ba70b6e8f Declare the mainClassName property for bootJar. 2019-04-29 16:14:29 -07:00
John Blum
6f721538cb Add client member to the 'TemperatureMonitors' group.
Set the client member name to 'TemperatureMonitoringService'.
2019-04-29 16:14:29 -07:00
John Blum
ed9b8e0c7a Add server member to the 'TemperatureSensors' group.
Enable statistics.

Enable statistics on the '/TemperatureReadings' Region.
2019-04-29 16:14:29 -07:00
John Blum
19f5785350 Add sample demonstrating the use of Spring Boot Actuator with Apache Geode. 2019-04-29 16:14:29 -07:00
John Blum
da20d74044 Add Unit Tests for HttpBasicAuthenticationSecurityConfiguration. 2019-04-29 16:14:29 -07:00
John Blum
717832d053 Remove unnecessary filter(..) and map(..) invocations on the Optional used inside the BeanPostProcessor.postProcessAfterInitialization(..).
Improve invokeMethod(..) to allow arguments, handle class (static) methods, find the Method based on matching arguments to parameter types, and delegate accessibility to ObjectUtils.

Change access modifier on registerInterceptor(..) to protected.

Change access modifier on the schemaObjectInitializerPostProcessor(..) bean definition to public.

Move the HttpRequest.getHeaders() call inside the conditional on isAuthenticationEnabled().
2019-04-29 16:14:29 -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
60c65548ee Remove unecessary ExceptionThrowingOperation @FunctionalInterface.
Remove the private doOperationSafely(:ExceptionThrowingOperation):T method.  Both the ExceptionThrowingOperation interface and doOperationSafely(..) method can be replaced by o.s.geode.core.util.ObjectUtils.

Refactor the existing invokeMethod(..) method; change access modifier to package-private.
2019-04-29 16:11:46 -07:00
John Blum
6419a5bd4d Upgrade to Gradle 5.4.1.
Declare the FreeFair Lombok Gradle Plugin in the spring-geode-autoconfigure and spring-geode-samples-boot-configuration modules.
2019-04-28 18:12:36 -07:00
John Blum
2a4f0b0f4e Prepare next development iteration. 2019-04-24 12:13:59 -07:00
John Blum
4fbe53f353 Release 1.0.0.RC1. 2019-04-24 11:42:44 -07:00
John Blum
bb8a415bd9 Edit changelog. 2019-04-24 11:36:16 -07:00
John Blum
66a130f954 Revert directory location references back to using 'rootProject.projectDir.path'.
Source file references must use the 'include:' directive and not 'link:' inside the source reference markup.
2019-04-24 11:23:55 -07:00
John Blum
5facbf4679 Fix links/includes to source files. 2019-04-24 10:11:15 -07:00
John Blum
361c1e3a0c Edit README and include reference to the samples. 2019-04-24 09:59:33 -07:00
John Blum
3e2411a6aa Fix URLs as well as other links, includes, etc. 2019-04-24 09:56:30 -07:00
John Blum
f49aa679a2 Change directory locations to be based on GitHub URLs. 2019-04-24 09:55:56 -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
a293b97113 Implement HTTP client authentication on cluster configuration push when sending configuration meta-data from client to server (cluster Manager).
Resolves gh-16.
2019-04-24 00:27:30 -07:00
John Blum
786deaeef9 Optimize imports. 2019-04-23 23:40:25 -07:00