From 050679d7cf6e078140f00891f233335ed1ba9df2 Mon Sep 17 00:00:00 2001 From: John Blum Date: Mon, 18 May 2020 00:32:47 -0700 Subject: [PATCH] Add application.properties for the Look-Aside Caching example to configure the Spring application name and GemFire/Geode log-level. Edit Javadoc. --- .../lookaside/BootGeodeLookAsideCachingApplication.java | 5 +++-- .../look-aside/src/main/resources/application.properties | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 spring-geode-samples/caching/look-aside/src/main/resources/application.properties diff --git a/spring-geode-samples/caching/look-aside/src/main/java/example/app/caching/lookaside/BootGeodeLookAsideCachingApplication.java b/spring-geode-samples/caching/look-aside/src/main/java/example/app/caching/lookaside/BootGeodeLookAsideCachingApplication.java index 6c71df18..022c4a5f 100644 --- a/spring-geode-samples/caching/look-aside/src/main/java/example/app/caching/lookaside/BootGeodeLookAsideCachingApplication.java +++ b/spring-geode-samples/caching/look-aside/src/main/java/example/app/caching/lookaside/BootGeodeLookAsideCachingApplication.java @@ -20,8 +20,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; /** - * {@link SpringBootApplication} to configure and bootstrap the example application using the Look-Aside Caching pattern, - * and specifically Spring's Cache Abstraction with Apache Geode as the caching provider. + * {@link SpringBootApplication} to configure and bootstrap the example application using the + * {@literal Look-Aside Caching pattern}, and specifically Spring's Cache Abstraction along with + * Apache Geode as the caching provider. * * @author John Blum * @see org.springframework.boot.autoconfigure.SpringBootApplication diff --git a/spring-geode-samples/caching/look-aside/src/main/resources/application.properties b/spring-geode-samples/caching/look-aside/src/main/resources/application.properties new file mode 100644 index 00000000..d77b5ca8 --- /dev/null +++ b/spring-geode-samples/caching/look-aside/src/main/resources/application.properties @@ -0,0 +1,4 @@ +# Spring Boot application.properties for the Look-Aside Caching example. + +spring.application.name=LookAsideCachingApplication +spring.data.gemfire.cache.log-level=${gemfire.log-level:error}