代码拉取完成,页面将自动刷新
POST http://localhost:6001/actuator/bus-refresh
Content-Type: application/json
### 测试config总线
GET http://localhost:6001/actuator/bus-refresh
Accept: application/json
### 测试config总线
GET http://localhost:3001/order-service/asdaf212radsf
Accept: application/json
### 获取订单 最长链路,可用于测试 zipkin
GET http://localhost:3001/order-service/
Accept: application/json
### 添加订单
GET http://localhost:3001/user-service/8/score?score=1000
Accept: application/json
### 增加积分
GET http://localhost:3001/user-service/555
Accept: application/json
# ### 测试代码: ab -n 20000 -c 50 http://localhost:3001/user-service/555
### 获取用户
POST http://localhost:3001/item-service/decreaseNumber
Content-Type: application/json
[{"id": 1,"name": "abc","number": 23},{"id": 2,"name": "def","number": 11}]
###
GET http://localhost:3001/item-service/5?token=12345
Accept: application/json
# 转发调用这个路径:http://localhost:8001/5
### 测试代码: ab -n 10000 -c 50 http://localhost:3001/item-service/5?token=12345
GET http://localhost:3002/item-service/5?token=12345
Accept: application/json
### 测试3002服务器
GET http://localhost:8101/555
Accept: application/json
### 这里调用的是sp04-orderController中的路径,orderController再远程调用itemController中的方法
#POST http://localhost:8001/decreaseNumber
#Content-Type: application/json
#
#[{"id": 1,"name": "abc","number": 23},{"id": 2,"name": "def","number": 11}]
#### 减少库存
GET http://localhost:8001/5
Accept: application/json
#### 获得订单
GET http://eureka1:2001
Accept: application/json
### 测试服务器能否连通
# 仪表盘网址 http://localhost:4001/hystrix
# turbine 仪表盘填写的监控网址 http://localhost:5001/turbine.stream
GET http://localhost:6001/item-service/dev
Accept: application/json
### 测试config中心连接
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。