New file |
| | |
| | | package com.panzhihua.config_server; |
| | | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.cloud.client.SpringCloudApplication; |
| | | import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker; |
| | | import org.springframework.cloud.config.server.EnableConfigServer; |
| | | import org.springframework.cloud.netflix.eureka.EnableEurekaClient; |
| | | |
| | | @EnableCircuitBreaker |
| | | @SpringCloudApplication |
| | | @EnableEurekaClient |
| | | @EnableConfigServer |
| | | public class ConfigServerApplication { |
| | | |
| | | public static void main(String[] args) { |
| | | SpringApplication.run(ConfigServerApplication.class, args); |
| | | } |
| | | |
| | | } |