Commit Graph

444 Commits

Author SHA1 Message Date
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
John Blum
60214e7d82 Modify processResources filter to ignore Java KeyStore (JKS) files. 2019-04-23 19:20:50 -07:00
John Blum
3346bbba10 Edit the Abstract, Introduction, and Getting Started chapters in the Reference Documentation. 2019-04-23 17:38:58 -07:00
John Blum
492fabf339 Change Reference Documentation URL to html5 reference. 2019-04-23 17:08:21 -07:00
John Blum
0035f6fe76 Add reference to the 'Spring Boot Auto-configuration for Apache Geode/Pivotal GemFire' Sample in the 'Auto-configuration vs. Annotation-based configuration' reference documentation. 2019-04-23 17:05:28 -07:00
John Blum
1c9a06f4c8 Customize processResources build step and configure the Apache Ant ReplaceTokens filter to process all tokens in configuration files and Gfsh shell scripts. 2019-04-23 16:59:11 -07:00
John Blum
1f3824b5f5 Rename spring-gemfire-starter-actuator/build.gradle to spring-gemfire-starter-actuator.gradle.
Rename spring-geode-starter-actuator/build.gradle to spring-geode-starter-actuator.gradle.
2019-04-23 16:04:07 -07:00
John Blum
804e96e927 Add logging configuration for the SpringBootApacheGeodeCacheServerApplication class. 2019-04-23 16:02:12 -07:00
John Blum
b7d584d8d5 Cleanup the Gfsh shell scripts. 2019-04-23 16:00:52 -07:00
John Blum
72421bbb26 Set the 'spring.boot.data.gemfire.security.ssl.keystore.name' property to 'trusted-keystore.jks'. 2019-04-23 16:00:39 -07:00
John Blum
36208a684d Edit guide and refactor example on Spring Boot auto-configuration for Apache Geode/Pivotal GemFire to include Security with SSL. 2019-04-23 15:54:38 -07:00
John Blum
f5fdf4b425 Edit the boot-configuration.adoc section on client/server auto-configuration support. 2019-04-23 11:06:48 -07:00
John Blum
7b5908ba30 Set the Table of Contents (TOC) level to 1. 2019-04-23 09:40:04 -07:00
John Blum
6b8fbba958 Edit boot-configuration.adoc for grammar and wording up to the client/server section. 2019-04-23 09:39:41 -07:00
John Blum
58d9970ce1 Edit guide and refactor example of Spring Boot auto-configuration for Apache Geode/Pivotal GemFire to include Security with Authentication. 2019-04-22 23:45:35 -07:00
John Blum
4f52e19acd Add setenv.gfsh Gfsh shell script to setup the system environment to run the example app. 2019-04-22 23:45:35 -07:00
John Blum
57a1ea4840 Add apache-geode-extensions module containing classes implementing Apache Geode interfaces and SPIs.
These extensions will be used for testing and documentation purposes.

For example, this module contains extensions to Apache Geode's o.a.g.security.SecurityManager and o.a.g.security.AuthInitialize interfaces used in the SBDG samples.
2019-04-22 23:45:47 -07:00
John Blum
74c4edfb2d Remove Git ignore on bin/. 2019-04-22 23:45:35 -07:00
John Blum
687ba1e54c Include guide and example of Spring Boot auto-configuration for Apache Geode & Pivotal GemFire. 2019-04-22 23:45:35 -07:00
John Blum
ce2cdc3660 Change wording regarding GemFire/Geode Security (Auth) & SSL configuration. 2019-04-19 14:06:18 -07:00
John Blum
20994a58bb Upgrade to Spring Session for Apache Geode/Pivotal GemFire 2.0.9.RELEASE. 2019-04-19 13:09:36 -07:00
John Blum
7539d9c824 Add section detailing the differences between Auto-configuration and Annotation-based configuration.
Resolves gh-20.
2019-04-18 13:00:07 -07:00
John Blum
1d685ede04 Change Templates chapter title to 'Data Access with GemfireTemplate'.
Resolves gh-31.
2019-04-16 13:41:13 -07:00