加菲猫4.0Demo

目录

[TOC]

操作的顺序

清空jenkins中内容
重启celery_publisher

机器

建立机器, 因为机器是已经自动发现了, 所以这部分机器就不需要手动添加了
需要添加一个域名:
10.19.172.72 01
10.19.23.219 02
10.19.108.45 03
10.19.139.77 04
test.jfm.tvmore.com.cn

服务

建立是个5个服务
ServerA, ServerB, ServerC, ServerD, JFM

建立节点

端口号: 4321
JFM - test.jfm.tvmore.com.cn
其它的服务和实体机关联

建立接口

四个接口, 加上一个irc的接口
GET请求: /left?delay=1000
GET请求: /right/1000
POST请求: /front

1
2
3
{
"delay": 1000
}

POST请求: /back/1000

1
2
3
{
"delay": 1000
}

1
2
3
4
5
6
7
8
9
10
11
12
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"delay": {
"type": "integer"
}
},
"required": [
"delay"
]
}

GET请求: /irc/user/query?email=jfm&page=1&size=10

1
2
3
4
5
6
7
8
```
## 测试用例
5个测试用例

## 执行测试用例

## 发布
执行一个发布

clean install
http://116.236.232.242:8107/ma.qiang/jenkins_maven.git
*/master
svn://10.10.96.33/JFM

ma.qiang@whaley.cn
jfm@whaley.cn
tan.yang@whaley.cn
```