Git Product home page Git Product logo

spring-cloud-huawei-samples's Introduction

Spring Cloud Huawei Samples 中文

This project provide samples for Spring Cloud Huawei. Read each sub-project for details about each sample.

Directory description:

  • basic:This project providers sample to show working with Spring Cloud Microservices.

  • basic-tomcat:This project provides a simple example of a Spring Boot application running on a standalone Tomcat

  • canary:This project providers sample to show working with Canary Deploy.

  • migrate:Demonstrate the dubbo,eureka, hsf, sofa, nacos and tsf projects and their transformation to spring cloud microservices.

  • porter:This project provides 5 microservices using Spring Cloud Huawei and ServiceComb Java Chassis.

Branches:

  • master: for Spring Cloud 2021.0.x
  • 2020.0.x: for Spring Cloud 2020.0.x
  • Hoxton: for Spring Cloud Hoxton(EOL, not for pruducton use)
  • Greenwich: for Spring Cloud Greenwich(Community maintenance is not recommended for production environment)
  • Finchley: for Spring Cloud Finchley(Community maintenance is not recommended for production environment)

Prerequisites

Running samples, must first prepare CSE environment

More information can be found in Huawei Cloud.

And edit bootstrap.yml for each microserivce, configure the correct CSE services, like config center and service center.

Samples using CSE 2.0 in default,the config service is kie

spring:
  cloud:
    servicecomb:
      config:
        serverType: kie
        serverAddr:  http://127.0.0.1:30110

If using CSE 1.0,config service change to config-center.

spring:
  cloud:
    servicecomb:
      config:
        serverType: config-center
        serverAddr:  http://127.0.0.1:30113
        fileSource: consumer.yaml

Cloud Service Engine(CSE)

Cloud Service Engine (CSE) provides service registry, service governance, and configuration management. It allows you to quickly develop microservice applications and implement high-availability O&M. Furthermore, it supports multiple languages and runtime systems, and unified access and governance of intrusive frameworks such as Spring Cloud, Apache ServiceComb (Java Chassis/Go Chassis), and Dubbo, and non-intrusive service meshes.

CSE has two versions: CSE 1.0 and CSE 2.0.

CSE 2.0 provides an exclusive edition of the microservice engine. The microservice engine exclusive edition is a commercial engine that supports large-scale microservice application management. You can select different specifications based on service requirements. Engine resources are exclusively used and the performance is not affected by other tenants.

Compared with CSE 1.0, CSE 2.0 completely upgrades the underlying architecture, functions, security, and performance. It provides independent service registration and discovery centers and configuration centers to support definition and governance based on user service scenarios. Table 1 describes the feature comparison between the two versions.

More informationcan be found in Official Documents .

spring-cloud-huawei-samples's People

Contributors

liubao68 avatar david6969xin avatar hujinming178 avatar chengyouling avatar yoc19970520 avatar m13922236379 avatar develpoerx avatar dependabot[bot] avatar glovethu avatar

Watchers

 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.