1 Star 0 Fork 0

cutie/clot-registry

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
registry.http 1.69 KB
一键复制 编辑 原始数据 按行查看 历史
cutie 提交于 2024-04-25 00:21 . rpc注册中心测试
### 获取所有服务实例 8484
POST http://localhost:8484/findAll?service=cn.cutie.clotrpc.UserService
Content-Type: application/json
### 获取所有服务实例 8485
GET http://localhost:8485/findAll?service=io.github.kimmking.kkrpc.UserService
### 注册服务实例 8484
POST http://localhost:8484/reg?service=cn.cutie.clotrpc.UserService
Content-Type: application/json
{
"scheme": "http",
"host": "127.0.0.1",
"port": 8082,
"context": "clotrpc",
"status": false,
"parameters": {
"env": "dev",
"tag": "reg"
}
}
### 取消注册服务 8484
POST http://localhost:8484/unreg?service=cn.cutie.clotrpc.UserService
Content-Type: application/json
{
"scheme": "http",
"host": "127.0.0.1",
"port": 8081,
"context": "clotrpc"
}
### 保活服务 8484
POST http://localhost:8484/renew?service=cn.cutie.clotrpc.UserService
Content-Type: application/json
{
"scheme": "http",
"host": "127.0.0.1",
"port": 8081,
"context": "clotrpc"
}
### 8484 获取服务版本
POST http://localhost:8484/version?service=cn.cutie.clotrpc.UserService
Content-Type: application/json
{
"scheme": "http",
"host": "127.0.0.1",
"port": 8081,
"context": "clotrpc"
}
### 获取集群信息 8484
GET http://localhost:8484/cluster
### 获取集群信息 8485
GET http://localhost:8485/cluster
### 获取info信息 8484
GET http://localhost:8484/info
### 获取myself信息 8484
GET http://localhost:8484/myself
### 获取myself信息 8485
GET http://localhost:8485/myself
### 获取快照 8484
GET http://localhost:8484/snapshot
### 获取快照 8485
GET http://localhost:8485/snapshot
### get all inst
GET http://localhost:8484/findAll?service=app1_public_dev_cn.cutie.clotrpc.demo.api.OrderService
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cutie/clot-registry.git
git@gitee.com:cutie/clot-registry.git
cutie
clot-registry
clot-registry
main

搜索帮助