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.1.0</version>
</dependency>
- Go语言,修改go.mod,添加
github.com/polarismesh/specification
的依赖。
require github.com/polarismesh/specification v1.1.0
- Rust语言,修改
cargo.toml
,添加polaris-specification
的依赖。
[dependencies]
polaris-specification = "0.1"