From c92bff530ceef1c02cc110f6e58130570b24cebb Mon Sep 17 00:00:00 2001 From: soohyeon Date: Tue, 13 Feb 2024 01:52:12 +0900 Subject: [PATCH] add :: yml & application annotation --- .../xquare/v1userservice/V1UserServiceApplication.kt | 2 ++ user-infrastructure/src/main/resources/application.yml | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/user-infrastructure/src/main/kotlin/com/xquare/v1userservice/V1UserServiceApplication.kt b/user-infrastructure/src/main/kotlin/com/xquare/v1userservice/V1UserServiceApplication.kt index c64803bf..0ea5134e 100644 --- a/user-infrastructure/src/main/kotlin/com/xquare/v1userservice/V1UserServiceApplication.kt +++ b/user-infrastructure/src/main/kotlin/com/xquare/v1userservice/V1UserServiceApplication.kt @@ -2,9 +2,11 @@ package com.xquare.v1userservice import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication +import org.springframework.cloud.openfeign.EnableFeignClients internal const val BASE_PACKAGE = "com.xquare.v1userservice" +@EnableFeignClients @SpringBootApplication class V1UserServiceApplication diff --git a/user-infrastructure/src/main/resources/application.yml b/user-infrastructure/src/main/resources/application.yml index dbbc5ab4..cebbefe5 100644 --- a/user-infrastructure/src/main/resources/application.yml +++ b/user-infrastructure/src/main/resources/application.yml @@ -15,8 +15,15 @@ spring: config: username: ${CLOUD_CONFIG_USERNAME} password: ${CLOUD_CONFIG_PASSWORD} + server: shutdown: graceful + scheme: ${SCHEME} + host: ${HOST} + port: ${PORT} + database: ${DB_NAME} + username: ${USERNAME} + password: ${PASSWORD} management: endpoints: @@ -26,3 +33,6 @@ management: endpoint: health: show-details: when_authorized + +excel: + url: ${EXCEL_URL} \ No newline at end of file