Move Spring Boot Actuator Sample under the spring-geode-samples.
Declare the FreeFair Lombok Gradle Plugin in spring-geode-samples-boot-actuator.gradle.
This commit is contained in:
@@ -1 +0,0 @@
|
||||
server.port=9191
|
||||
@@ -1 +0,0 @@
|
||||
server.port=8181
|
||||
@@ -1,3 +1,7 @@
|
||||
plugins {
|
||||
id "io.freefair.lombok" version "3.2.1"
|
||||
}
|
||||
|
||||
apply plugin: 'io.spring.convention.spring-sample-boot'
|
||||
|
||||
description = "Spring Geode Sample demonstrating the use of Spring Boot Actuator with Apache Geode."
|
||||
@@ -16,10 +16,11 @@
|
||||
|
||||
package example.app.temp.event;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
|
||||
import example.app.temp.model.TemperatureReading;
|
||||
import lombok.Getter;
|
||||
|
||||
public class TemperatureEvent extends ApplicationEvent {
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
package example.app.temp.model;
|
||||
|
||||
import org.springframework.data.annotation.Id;
|
||||
import org.springframework.data.annotation.Transient;
|
||||
import org.springframework.data.gemfire.mapping.annotation.Region;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NonNull;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import org.springframework.data.annotation.Id;
|
||||
import org.springframework.data.annotation.Transient;
|
||||
import org.springframework.data.gemfire.mapping.annotation.Region;
|
||||
|
||||
@Data
|
||||
@Region("TemperatureReadings")
|
||||
@RequiredArgsConstructor(staticName = "newTemperatureReading")
|
||||
@@ -0,0 +1,3 @@
|
||||
# Temperature Service client application configuration properties
|
||||
|
||||
server.port=9191
|
||||
@@ -0,0 +1,3 @@
|
||||
# Temperature Service server application configuration properties
|
||||
|
||||
server.port=8181
|
||||
@@ -1,3 +1,5 @@
|
||||
# Temperature Service application configuration properties
|
||||
|
||||
management.endpoint.health.show-details=always
|
||||
#management.endpoints.web.exposure.include=env
|
||||
spring.data.gemfire.cache.log-level=error
|
||||
Reference in New Issue
Block a user