Code Monkey home page Code Monkey logo

spring-cloud-huawei's Introduction

Build Status Coverage Status

spring-cloud-huawei

查看中文文档

spring-cloud-huawei is a framework that makes it easier to integrate spring cloud and Huawei frameworks. Including open source framework and commercial framework, open source such as Apache ServiceComb, commercial such as Huawei Cloud ServiceStage.

Features

open source

  • Spring Cloud use ServiceComb-Service-Center to implement registration and discovery: No need to change the code, just modify the individual configuration files(application.yml) to complete the migration. Multiple Service-Centers can be launched and the client will select one of the healthy Service-Centers to make the call.

Huawei Cloud

  • Spring Cloud use ServiceStage to implement registration and discovery: No need to change the code, just modify the individual configuration files(application.yml) to complete the migration.

  • Spring Cloud use ServiceStage to implement Distributed Transaction: (Distributed Transaction Management, DTM) is a product that addresses consistency issues in a distributed environment.

  • Spring Cloud uses ServiceStage distributed configuration service: Support for getting configuration from the server, and dynamic updates, following the way of Spring Cloud.

  • Spring Cloud uses ServiceStage gray release service: Support for gray release capabilities.

Components

  • Apache-ServiceComb-Service-Center is a Restful based service-registry that provides micro-services discovery and micro-service management. It is based on Open API format and provides features like service-discovery, fault-tolerance, dynamic routing, notify subscription and scalable by design.

Checking out and building

Requirements:

  • Spring Cloud :2.1.2.RELEASE
  • JDK :1.8 +

do the following:

git clone https://github.com/huaweicloud/spring-cloud-huawei.git
cd spring-cloud-huawei
mvn package  --settings .maven.settings.xml

How to use

Because spring-cloud-huawei has not been released to the public repository, if you want to use it, you need to download the code to build locally.

mvn clean install  --settings .maven.settings.xml

dependencyManagement can be used in projects to manage dependencies.

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.springframework.cloud.huawei</groupId>
      <artifactId>spring-cloud-huawei-dependencies</artifactId>
      <version>${project.version}</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

more document

RoadMap

  • Integrated openapi-swagger2.0
  • Support WebFlux
  • Integrated serivicecomb-kie
  • Integrated edge-service

spring-cloud-huawei's People

Contributors

wangqj avatar guoyl123 avatar tianxiaoliang avatar liubao68 avatar angli2 avatar freesky-edward avatar glovethu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.