Skip to content

SpringCloud相关DEMO(包含: zuul\eureka\swagger2\feign\hystrix\spring cloud config\spring data rest等)

Notifications You must be signed in to change notification settings

fengyonghui/spring-cloud-example

 
 

Repository files navigation

Spring Cloud Example

Build Status

Spring Cloud相关DEMO,包含zuul\eureka\swagger2\feign\hystrix\spring cloud config\spring data rest等。

GitHub:https://github.com/luoml/spring-cloud-example.git

项目基于Spring Boot 1.5.2.RELEASE,Spring Cloud Dalston.RELEASE,各模块简要说明如下:

project desc
config-repo Git远程仓库
config-server Spring Cloud Config Server,从config-repo拉取配置清单
eureka-server Eureka服务注册中心
eureka-client Eureka与Config客户端,集成了Swagger2等
rest-demo 数据库增删改查
涉及Eureka Client、Spring Data JPA、Spring Data REST、H2、the HAL Browser等
feign-demo Eureka客户端,集成了Feign、Hystrix等
api-gateway Zuul服务网关
admin-server 监控基于Spring Boot的应用
... ...

项目启动顺序:

  1. 服务端(config-server \ eureka-server \ admin-server)
  2. 客户端(eureka-client \ feign-demo \ rest-demo)
  3. 服务网关(api-gateway)

About

SpringCloud相关DEMO(包含: zuul\eureka\swagger2\feign\hystrix\spring cloud config\spring data rest等)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%