All Projects → linux-china → spring-boot-microservices

linux-china / spring-boot-microservices

Licence: other
Spring Boot MicroServices

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Spring Boot MicroServices

Spring Boot 1.5.x MicroServices

environment

please install Java 8 JCE: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html

Services

  • Config Server
  • Eureka Registry Server
  • Spring Boot Admin Server
  • Spring Cloud DataFlow Server
  • Spring Cloud Skipper Ser
  • Spring Cloud Gateway
  • Zull Reverse Proxy
  • Charon Reverse Proxy
  • Spring Cloud Hystrix

How to start services

  • Start Eureka
  • Start Config Server(integrated with eureka)
  • Start Spring Boot Admin (integrated with eureka)

Maven plugins

  • maven-compiler-plugin: 1.8 compile
  • spring-boot-maven-plugin: build-info
  • git-commit-id-plugin: git full mode

###Spring Cloud Consul

Startup

Consul Configuration

Consul Key/Value支持的Spring config Server目录结构如下:

config/testApp,dev/
config/testApp/
config/application,dev/
config/application/

接下来就是在这些目录下创建对应的Key/Value。

Tips

  • 不同Spring Boot加载的配置问题,可以通过 --spring.profiles.active=15X 来激活全局的 application-15X.properties这样

Reference

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].