From 1bc9d1f10aefe2318bf966b0760cad0d314ed911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E4=B8=8B=E8=97=A4=E5=90=89=E9=83=8E?= <827908815@qq.com> Date: Wed, 28 Apr 2021 00:31:15 +0800 Subject: [PATCH] 123 --- build.gradle | 2 ++ src/main/resources/application.properties | 2 ++ 2 files changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 916ae60..2c540c7 100644 --- a/build.gradle +++ b/build.gradle @@ -27,6 +27,8 @@ ext { dependencies { implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-server' + implementation 'org.springframework.boot:spring-boot-starter-web' + implementation 'org.springframework.boot:spring-boot-starter-actuator' } dependencyManagement { diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 6cf6f85..334196d 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -12,4 +12,6 @@ eureka.client.service-url.defaultZone=http://${eureka.instance.hostname}:${serve # eureka.server.enable-self-preservation=false # +management.endpoints.web.exposure.include=* +# logging.level.root=info -- GitLab