- eureka
- zuul
- spring-cloud-config
- spring-cloud-stream
- RabbitMQ
- hystrix
- spring-data-jpa
- hystrix-dashboard
- turbine
- ribbon
- spring cloud sleuth
- Zipkin
- 查询全部用户
GET https://localhost/api/v1/person Accept: application/json
- 查询指定用户
GET https://localhost/api/v1/person/{id} Accept: application/json
- 查询指定用户权限
GET https://localhost/api/v1/person/{id}/permissions Accept: application/json
- 添加用户
POST https://localhost/api/v1/person Content-Type: application/json { "name": "tom4", "password": "111111", "permissions": 1 }
- 修改用户
PUT https://localhost/api/v1/person Content-Type: application/json { "id": "4028ab157595e815017595fd73db0000", "name": "tom3", "password": "111111", "permissions": 3 }
- 查询全部书籍
GET https://localhost/api/v1/book Accept: application/json
- 查询指定书籍(id)
GET https://localhost/api/v1/book/{id} Accept: application/json
- 添加书籍
POST https://localhost/api/v1/book Content-Type: application/json { "name": "Core JAVA", "category": "JAVA", "repertory": 20 }
- 修改书籍
PUT https://localhost/api/v1/book Content-Type: application/json { "id": "4028ab1575961aa4017596292cc30000", "name": "Core JAVA", "category": "JAVA", "repertory": 18 }
- 修改书籍库存
POST https://localhost/api/v1/book/repertory Content-Type: application/json { "id": "4028ab1575961aa4017596292cc30000", "repertory": 3 }
- 查询全部订单
GET https://localhost/api/v1/order Accept: application/json
- 查询指定订单
GET https://localhost/api/v1/order/{id} Accept: application/json
- 添加订单
POST https://localhost/api/v1/order Content-Type: application/json { "goodsId":"4028ab15757d90cf01757d9456bb0000", "userId":"4028ab157592067d0175921687ab0000" }
- 修改订单
PUT https://localhost/api/v1/order Content-Type: application/json { "id": "4028ab157595edc2017596046fd50000", "userId": "4028ab157592067d0175921687ab0000", "goodsId": "4028ab15757d90cf01757d9456bb0000", "date": "2020-11-05T02:30:54.000+00:00" }
- 购买书籍
POST https://127.0.0.1/api/v1/shop Content-Type: application/json { "goodsId":"4028ab1575961aa4017596292cc30000", "userId":"4028ab157568873f01756898bd460000" }
-
注册中心
https://localhost:7001/ https://localhost:7002/
-
服务监控 仪表盘
https://localhost:9001/hystrix
-
监控聚合
https://localhost:9002/turbine.stream
-
分布式跟踪
https://localhost:9411/zipkin
-
展示图片