...
This commit is contained in:
@@ -15,6 +15,7 @@ import javax.servlet.ServletRequest;
|
||||
@RestController
|
||||
@RequestMapping("/event")
|
||||
public class EventController {
|
||||
|
||||
|
||||
private final CustomConfig customConfig;
|
||||
private final MemberFeignClient memberFeignClient;
|
||||
|
||||
@@ -31,6 +31,11 @@
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-config</artifactId>
|
||||
</dependency>-->
|
||||
<!-- 히스트릭스 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableZuulProxy // 주울 서버로 사용
|
||||
//@EnableCircuitBreaker
|
||||
@EnableCircuitBreaker
|
||||
public class ZuulserverApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user