Skip to content

WTIFS/specification

 
 

Repository files navigation

服务治理标准

English | 简体中文


README:

介绍

服务治理标准

北极星服务治理标准遵循下一代架构基金会所制定的服务治理标准,在此之上进行了扩展:

Latest Release
Serivce Management Specification
namespace v1
service v1
instance v1
health check v1
Traffic Mangement Specification
router v1
load balancer v1
limiter v1
Fault Tolerance Specification
circuit breaker v1
fault detector v1
retry v1
Access Control Specification
authentication v1
anthorization v1

服务治理接口

Latest Release
Serivce Management Specification
namespace v1
service v1
instance v1
health check v1
Traffic Mangement Specification
router v1
load balancer v1
limiter v1
Fault Tolerance Specification
circuit breaker v1
fault detector v1
Access Control Specification
authentication v1

如何构建

  • Java语言

Java的编译相关的工程在/source/java/polaris-specification下,通过以下命令可以构建:

cd source/java
bash build.sh
  • Go语言

Go的编译相关工程在/source/go下,通过以下命令可以构建

cd source/go
rm -rf api
bash build.sh
  • Rust语言

Rust的编译相关工程在/source/rust/polaris-specification,通过以下命令可以构建

cd source/rust
bash build.sh

如何使用

  • Java语言,只需要添加polaris-specification的依赖即可完成。
<dependency>
    <groupId>com.tencent.polaris</groupId>
    <artifactId>polaris-specification</artifactId>
    <!-- 版本号可换成最新版本号-->
    <version>v1.3.0</version>
</dependency>
  • Go语言,修改go.mod,添加github.com/polarismesh/specification的依赖。
require github.com/polarismesh/specification v1.3.0
  • Rust语言,修改cargo.toml,添加polaris-specification的依赖。
[dependencies]
polaris-specification = "1.3"

About

Service Governance Specification

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 48.6%
  • Python 46.7%
  • Shell 4.1%
  • PowerShell 0.6%