Fix : 수정
This commit is contained in:
parent
a2fa6870e5
commit
1a5ad32c21
@ -1,11 +1,16 @@
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':common')
|
implementation project(':common')
|
||||||
|
|
||||||
// AI and Location Services
|
dependencies {
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
implementation project(':common')
|
||||||
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.1.0'
|
|
||||||
|
// AI and Location Services
|
||||||
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
||||||
|
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.1.0'
|
||||||
|
|
||||||
|
|
||||||
implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j:3.1.1'
|
implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j:3.1.1'
|
||||||
implementation 'org.springframework.cloud:spring-cloud-starter-loadbalancer:4.1.2'
|
implementation 'org.springframework.cloud:spring-cloud-starter-loadbalancer:4.1.2'
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,9 @@ package com.ktds.hi.recommend;
|
|||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
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.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"
|
"com.ktds.hi.common"
|
||||||
})
|
})
|
||||||
@EnableJpaAuditing
|
@EnableJpaAuditing
|
||||||
|
@EnableJpaRepositories(basePackages = "com.ktds.hi.recommend.infra.gateway.repository")
|
||||||
|
@EntityScan(basePackages = "com.ktds.hi.recommend.infra.gateway.entity")
|
||||||
public class RecommendServiceApplication {
|
public class RecommendServiceApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|||||||
@ -7,6 +7,5 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
|||||||
* 추천 서비스 설정 클래스
|
* 추천 서비스 설정 클래스
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableJpaRepositories(basePackages = "com.ktds.hi.recommend.infra.gateway.repository")
|
|
||||||
public class RecommendConfig {
|
public class RecommendConfig {
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,11 +12,12 @@ import org.springframework.context.annotation.Configuration;
|
|||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
public class SwaggerConfig {
|
public class SwaggerConfig {
|
||||||
|
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public OpenAPI openAPI() {
|
public OpenAPI openAPI() {
|
||||||
return new OpenAPI()
|
return new OpenAPI()
|
||||||
.addServersItem(new Server().url("/"))
|
// .addServersItem(new Server().url("/"))
|
||||||
.info(new Info()
|
.info(new Info()
|
||||||
.title("하이오더 추천 서비스 API")
|
.title("하이오더 추천 서비스 API")
|
||||||
.description("사용자 취향 기반 매장 추천 및 취향 분석 관련 기능을 제공하는 API")
|
.description("사용자 취향 기반 매장 추천 및 취향 분석 관련 기능을 제공하는 API")
|
||||||
|
|||||||
@ -3,6 +3,9 @@ server:
|
|||||||
port: ${RECOMMEND_SERVICE_PORT:8085}
|
port: ${RECOMMEND_SERVICE_PORT:8085}
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
|
cloud:
|
||||||
|
compatibility-verifier:
|
||||||
|
enabled: false
|
||||||
application:
|
application:
|
||||||
name: recommend-service
|
name: recommend-service
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user