/spring-cloud-huawei

Spring Cloud Huawei is a framework that makes it easier to integrate Spring Cloud and Huawei frameworks such as ServiceComb and ServiceStage.

Primary LanguageJavaApache License 2.0Apache-2.0

Build Status License Maven Central

Spring Cloud Huawei 查看中文文档

Spring Cloud Huawei is a framework that makes it easier to integrate Spring Cloud and Huawei frameworks. Including Apache ServiceComb and ServiceStage.

Supported version

Branch Spring Cloud Huawei Latest Version Spring Cloud Version Spring Boot Version
master 1.9.0-2020.0.x 2020.0.5 2.5.12
Hoxton 1.9.0-Hoxton Hoxton.SR9 2.3.5.RELEASE
Greenwich 1.6.1-Greenwich Greenwich.SR6 2.1.6-RELEASE
Finchley 1.6.1-Finchley 2.0.4.RELEASE 2.0.9.RELEASE
Edgware 1.2.0-Edgware 1.3.6.RELEASE 1.5.22.RELEASE

Notice:

  • Check Spring Cloud Release Train, and find a proper version to use.
  • Spring Cloud Edgeware, Finchley, Greenwich have all reached end of life status and are no longer supported.
  • Spring Cloud Huawei Hoxton branch only implements Spring Cloud Gateway loadbalance with Ribbon, and master branch (for 2020.0.x) only implements Spring Cloud Gateway loadbance with Spring Cloud LoadBalance. Recommend update Spring Cloud Gateway support for 2020.0.x.

Why use

  1. Integrate Spring Cloud applications to use ServiceStage. ServiceStage is a service deployment environment for microservices, includes high available discovery and registration service, configuration service, governance service, transaction management service and so on.
  2. Integrate Spring Cloud applications to use open source Apache ServiceComb services, like servicecomb-service-center, servicecomb-kie.
  3. Other enhancements like swagger generation and registration, canary release and so on.

Modules

  • spring-cloud-starter-huawei-discovery:

  • spring-cloud-starter-huawei-config:

  • spring-cloud-starter-huawei-governance:

    • Support for use CSE Request Marker-based Governance
    • Implements retry for FeignClient and RestTemplate
    • Implements rate limiter, circuit breaker, and bulkhead for Servlet Web MVC
  • spring-cloud-starter-huawei-router:

  • spring-cloud-starter-huawei-swagger:

    • Automatically swagger document generation and registration.
  • spring-cloud-starter-huawei-jasypt:

    • Support for use Profile encryption scheme.
    • Implements the function of identifying encryption mark in service configuration file

How to use

  1. Developer Guide
  2. Quick Start and Samples