From 6d5bd7dd9c9d6c1413c22b7fad479137c08823cd Mon Sep 17 00:00:00 2001 From: sangminee Date: Thu, 19 Oct 2023 16:55:44 +0900 Subject: [PATCH] =?UTF-8?q?application.yml=20=EC=A0=95=EB=B3=B4=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 6 ++++++ src/main/resources/application.yml | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 696d6a5..71de674 100644 --- a/build.gradle +++ b/build.gradle @@ -24,6 +24,12 @@ dependencies { implementation 'org.springframework.cloud:spring-cloud-starter-gateway' implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client' testImplementation 'org.springframework.boot:spring-boot-starter-test' + + compileOnly 'org.projectlombok:lombok' + annotationProcessor 'org.projectlombok:lombok' + + implementation 'org.springframework.boot:spring-boot-starter-actuator' + } dependencyManagement { diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index f7e0e34..9eebd2b 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -8,9 +8,15 @@ eureka: service-url: defaultZone: http://52.78.155.253:8761/eureka +management: + endpoints: + web: + exposure: + include: + spring: application: - name: gateway-service + name: api-gateway-service cloud: gateway: routes: