Fix : 수정
This commit is contained in:
parent
a2fa6870e5
commit
1a5ad32c21
@ -1,3 +1,6 @@
|
||||
dependencies {
|
||||
implementation project(':common')
|
||||
|
||||
dependencies {
|
||||
implementation project(':common')
|
||||
|
||||
@ -9,3 +12,5 @@ dependencies {
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j:3.1.1'
|
||||
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.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) {
|
||||
|
||||
@ -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 {
|
||||
}
|
||||
|
||||
@ -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")
|
||||
|
||||
@ -3,6 +3,9 @@ server:
|
||||
port: ${RECOMMEND_SERVICE_PORT:8085}
|
||||
|
||||
spring:
|
||||
cloud:
|
||||
compatibility-verifier:
|
||||
enabled: false
|
||||
application:
|
||||
name: recommend-service
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user