Add SpringBootAdmin Client Settings

This commit is contained in:
Rebwon
2021-10-21 15:10:34 +09:00
committed by MaengSol
parent 5291eaae93
commit 1fb67badcd
3 changed files with 12 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ import com.github.spotbugs.snom.SpotBugsTask
plugins { plugins {
id 'jacoco' id 'jacoco'
id 'org.springframework.boot' version '2.5.4' id 'org.springframework.boot' version '2.5.5'
id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'org.asciidoctor.convert' version '1.5.8' id 'org.asciidoctor.convert' version '1.5.8'
id 'org.ec4j.editorconfig' version '0.0.3' id 'org.ec4j.editorconfig' version '0.0.3'
@@ -55,7 +55,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'de.codecentric:spring-boot-admin-starter-server:2.4.3' implementation 'de.codecentric:spring-boot-admin-starter-client:2.4.3'
implementation 'it.ozimov:embedded-redis:0.7.2' implementation 'it.ozimov:embedded-redis:0.7.2'
testImplementation 'it.ozimov:embedded-redis:0.7.2' testImplementation 'it.ozimov:embedded-redis:0.7.2'

View File

@@ -1,10 +0,0 @@
package com.yam.app.common.configuration;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.context.annotation.Configuration;
@Configuration
@EnableAdminServer
public class MonitoringConfiguration {
}

View File

@@ -4,3 +4,13 @@ server:
spring: spring:
session: session:
store-type: redis store-type: redis
boot:
admin:
client:
url: http://localhost:8080
management:
endpoints:
web:
exposure:
include: "*"