Fix : 수정

This commit is contained in:
lsh9672 2025-06-13 01:34:30 +09:00
parent a2fa6870e5
commit 1a5ad32c21
5 changed files with 20 additions and 8 deletions

View File

@ -1,6 +1,9 @@
dependencies {
implementation project(':common')
dependencies {
implementation project(':common')
// AI and Location Services
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.1.0'
@ -8,4 +11,6 @@ dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j:3.1.1'
implementation 'org.springframework.cloud:spring-cloud-starter-loadbalancer:4.1.2'
}
}

View File

@ -2,7 +2,9 @@ package com.ktds.hi.recommend;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
/**
* 추천 서비스 메인 애플리케이션 클래스
@ -16,6 +18,8 @@ import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
"com.ktds.hi.common"
})
@EnableJpaAuditing
@EnableJpaRepositories(basePackages = "com.ktds.hi.recommend.infra.gateway.repository")
@EntityScan(basePackages = "com.ktds.hi.recommend.infra.gateway.entity")
public class RecommendServiceApplication {
public static void main(String[] args) {

View File

@ -7,6 +7,5 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
* 추천 서비스 설정 클래스
*/
@Configuration
@EnableJpaRepositories(basePackages = "com.ktds.hi.recommend.infra.gateway.repository")
public class RecommendConfig {
}

View File

@ -13,10 +13,11 @@ import org.springframework.context.annotation.Configuration;
@Configuration
public class SwaggerConfig {
@Bean
public OpenAPI openAPI() {
return new OpenAPI()
.addServersItem(new Server().url("/"))
// .addServersItem(new Server().url("/"))
.info(new Info()
.title("하이오더 추천 서비스 API")
.description("사용자 취향 기반 매장 추천 및 취향 분석 관련 기능을 제공하는 API")

View File

@ -3,6 +3,9 @@ server:
port: ${RECOMMEND_SERVICE_PORT:8085}
spring:
cloud:
compatibility-verifier:
enabled: false
application:
name: recommend-service