Commit Graph

437 Commits

Author SHA1 Message Date
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
John Blum
7d7f8a34df Add Region Template auto-configuration documentation to Reference Docs.
Resolves gh-31.
2019-04-16 13:32:10 -07:00
John Blum
3251ffe166 Configure logging for Apache Geode, Spring and other libraries. 2019-04-15 15:51:16 -07:00
John Blum
4abc75b1d3 Extend o.s.d.g.tests.integration.IntegrationTestsSupport.
Resolves gh-31.
2019-04-12 17:41:19 -07:00
John Blum
cf4df83333 Add additional integration tests testing the auto-configuration of GemfireTemplate beans for Regions with existing named and Region-based GemfireTemplates.
Resolves gh-31.
2019-04-12 17:08:34 -07:00
John Blum
b9922f8c1b Add auto-configuration support for creating Templates per Cache Region.
Resolves gh-31.
2019-04-12 16:23:35 -07:00
John Blum
ceaeac88b4 Fix typo. 2019-04-12 15:21:48 -07:00
John Blum
c288270df9 Add dependency management for ByteBuddy.
Set ByteBuddy version to 1.9.10 to match Mockito 2.27.0.
2019-04-11 12:37:25 -07:00