[ Server ] accomplish alive status precedure
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~Default Group",
|
||||
"filePath": "~.fastRequest~collections~Root~Default Group~",
|
||||
"groupId": "1",
|
||||
"id": "1",
|
||||
"name": "Default Group",
|
||||
"type": 1
|
||||
}
|
||||
9
.fastRequest/collections/Root/directory.json
Normal file
9
.fastRequest/collections/Root/directory.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root",
|
||||
"filePath": "~.fastRequest~collections~Root~",
|
||||
"groupId": "-1",
|
||||
"id": "0",
|
||||
"name": "Root",
|
||||
"type": 1
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server~ExecutionController",
|
||||
"filePath": "~.fastRequest~collections~Root~server~ExecutionController~",
|
||||
"id": "20230222093108443",
|
||||
"name": "ExecutionController",
|
||||
"type": 3
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"activeGroup": "Default",
|
||||
"apiParamGroup": {},
|
||||
"childList": [],
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server~ExecutionController",
|
||||
"domain": "http://localhost:9999",
|
||||
"enableEnv": "local",
|
||||
"enableProject": "ProjectOctopus",
|
||||
"filePath": "~.fastRequest~collections~Root~server~ExecutionController~patchCommandToAgentAll.rapi",
|
||||
"headerList": [],
|
||||
"id": "api_io.wdd.rpc.controller.ExecutionController.patchCommandToAgentAll",
|
||||
"name": "[命令]- 发送命令至所有的主机",
|
||||
"paramGroup": {
|
||||
"bodyKeyValueListJson": "",
|
||||
"className": "io.wdd.rpc.controller.ExecutionController",
|
||||
"jsonDocument": "",
|
||||
"method": "patchCommandToAgentAll",
|
||||
"methodDescription": "[命令]- 发送命令至所有的主机",
|
||||
"methodType": "POST",
|
||||
"multipartKeyValueListJson": "[]",
|
||||
"originUrl": "/octopus/server/executor/command/all",
|
||||
"pathParamsKeyValueListJson": "[]",
|
||||
"postScript": "",
|
||||
"postType": "json",
|
||||
"preScript": "",
|
||||
"returnDocument": "{\n\t\"code\":\"No comment,Type =Number\",\n\t\"msg\":\"No comment,Type =String\",\n\t\"data\":{}\n}",
|
||||
"tempId": "",
|
||||
"url": "/octopus/server/executor/command/all",
|
||||
"urlEncodedKeyValueListJson": "[{\"comment\":\"命令行\",\"customFlag\":2,\"enabled\":true,\"key\":\"commandList\",\"type\":\"String\",\"value\":\"apt-get,update\"},{\"comment\":\"\",\"customFlag\":2,\"enabled\":true,\"key\":\"type\",\"type\":\"String\",\"value\":\"\"}]",
|
||||
"urlEncodedKeyValueListText": "commandList=apt-get,update\n&type=",
|
||||
"urlParamsKeyValueListJson": "[]",
|
||||
"urlParamsKeyValueListText": ""
|
||||
},
|
||||
"tempId": "id_io.wdd.rpc.controller.ExecutionController.patchCommandToAgentAll",
|
||||
"type": 2
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"activeGroup": "Default",
|
||||
"apiParamGroup": {},
|
||||
"childList": [],
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server~SchedulerController",
|
||||
"domain": "http://localhost:9999",
|
||||
"enableEnv": "local",
|
||||
"enableProject": "ProjectOctopus",
|
||||
"filePath": "~.fastRequest~collections~Root~server~SchedulerController~createScriptScheduler.rapi",
|
||||
"headerList": [],
|
||||
"id": "api_io.wdd.rpc.controller.SchedulerController.createScriptScheduler",
|
||||
"name": "新增一个定时脚本任务",
|
||||
"paramGroup": {
|
||||
"bodyKeyValueListJson": "{\n \"schedulerUuid\": \"\",\n \"name\": \"测试任务\",\n \"cronExpress\": \"30 */30 * * * ? *\",\n \"description\": \"这是注释内容\",\n \"scriptContent\": \"echo yes \\napt-get update \\necho no \\napt-get install nginx -y\",\n \"targetMachine\": \"Chengdu-amd64-98-98066f\",\n \"lastExecutionId\": null,\n \"lastExecutionResultKey\": \"\",\n \"lastExecutionStatus\": null ,\n \"createTime\": \"\",\n \"updateTime\": \"\",\n \"nextScheduleTime\": \"\",\n \"lastScheduleTime\": \"\"\n}",
|
||||
"className": "io.wdd.rpc.controller.SchedulerController",
|
||||
"jsonDocument": "{\n \"schedulerUuid\": \"No comment,Value =schedulerUuid_9dr3w\",\n \"name\": \"No comment,Value =name_ucmeh\",\n \"cronExpress\": \"No comment,Value =cronExpress_qbwqm\",\n \"description\": \"No comment,Value =description_drj0c\",\n \"scriptContent\": \"脚本任务的内容\",\n \"targetMachine\": \"执行目标机器agent_topic_name列表,使用, 分隔\",\n \"lastExecutionId\": \"与 execution_log表的主键对应,方便查询执行日志\",\n \"lastExecutionResultKey\": \"与 execution_log表的 result_key 对应,方便查询执行日志\",\n \"lastExecutionStatus\": \"任务上次执行状态\",\n \"createTime\": \"定时脚本任务创建时间\",\n \"updateTime\": \"上次更新时间\",\n \"nextScheduleTime\": \"任务下次计划执行时间\",\n \"lastScheduleTime\": \"任务上次计划执行时间\"\n}",
|
||||
"method": "createScriptScheduler",
|
||||
"methodDescription": "新增一个定时脚本任务",
|
||||
"methodType": "POST",
|
||||
"multipartKeyValueListJson": "[]",
|
||||
"originUrl": "/octopus/server/scheduler/script/create",
|
||||
"pathParamsKeyValueListJson": "[]",
|
||||
"postScript": "",
|
||||
"postType": "json",
|
||||
"preScript": "",
|
||||
"returnDocument": "{\n\t\"code\":\"No comment,Type =Number\",\n\t\"msg\":\"No comment,Type =String\",\n\t\"data\":{}\n}",
|
||||
"tempId": "",
|
||||
"url": "/octopus/server/scheduler/script/create",
|
||||
"urlEncodedKeyValueListJson": "[]",
|
||||
"urlEncodedKeyValueListText": "",
|
||||
"urlParamsKeyValueListJson": "[]",
|
||||
"urlParamsKeyValueListText": ""
|
||||
},
|
||||
"tempId": "id_io.wdd.rpc.controller.SchedulerController.createScriptScheduler",
|
||||
"type": 2
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server~SchedulerController",
|
||||
"filePath": "~.fastRequest~collections~Root~server~SchedulerController~",
|
||||
"id": "20230116173428298",
|
||||
"name": "SchedulerController",
|
||||
"type": 3
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"activeGroup": "Default",
|
||||
"apiParamGroup": {},
|
||||
"childList": [],
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server~SchedulerController",
|
||||
"domain": "http://localhost:9999",
|
||||
"enableEnv": "local",
|
||||
"enableProject": "ProjectOctopus",
|
||||
"filePath": "~.fastRequest~collections~Root~server~SchedulerController~queryAllQuartzJob.rapi",
|
||||
"headerList": [],
|
||||
"id": "api_io.wdd.rpc.controller.SchedulerController.queryAllQuartzJob",
|
||||
"name": "查询所有job",
|
||||
"paramGroup": {
|
||||
"bodyKeyValueListJson": "",
|
||||
"className": "io.wdd.rpc.controller.SchedulerController",
|
||||
"jsonDocument": "",
|
||||
"method": "queryAllQuartzJob",
|
||||
"methodDescription": "查询所有job",
|
||||
"methodType": "GET",
|
||||
"multipartKeyValueListJson": "[]",
|
||||
"originUrl": "/octopus/server/scheduler/queryAllJob",
|
||||
"pathParamsKeyValueListJson": "[]",
|
||||
"postScript": "",
|
||||
"postType": "json",
|
||||
"preScript": "",
|
||||
"returnDocument": "{\n\t\"code\":\"No comment,Type =Number\",\n\t\"msg\":\"No comment,Type =String\",\n\t\"data\":{}\n}",
|
||||
"tempId": "",
|
||||
"url": "/octopus/server/scheduler/queryAllJob",
|
||||
"urlEncodedKeyValueListJson": "[]",
|
||||
"urlEncodedKeyValueListText": "",
|
||||
"urlParamsKeyValueListJson": "[]",
|
||||
"urlParamsKeyValueListText": ""
|
||||
},
|
||||
"tempId": "id_io.wdd.rpc.controller.SchedulerController.queryAllQuartzJob",
|
||||
"type": 2
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"activeGroup": "Default",
|
||||
"apiParamGroup": {},
|
||||
"childList": [],
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server~SchedulerController",
|
||||
"domain": "http://localhost:9999",
|
||||
"enableEnv": "local",
|
||||
"enableProject": "ProjectOctopus",
|
||||
"filePath": "~.fastRequest~collections~Root~server~SchedulerController~queryAllTriggers.rapi",
|
||||
"headerList": [],
|
||||
"id": "api_io.wdd.rpc.controller.SchedulerController.queryAllTriggers",
|
||||
"name": "查询所有的触发器Trigger",
|
||||
"paramGroup": {
|
||||
"bodyKeyValueListJson": "",
|
||||
"className": "io.wdd.rpc.controller.SchedulerController",
|
||||
"jsonDocument": "",
|
||||
"method": "queryAllTriggers",
|
||||
"methodDescription": "查询所有的触发器Trigger",
|
||||
"methodType": "GET",
|
||||
"multipartKeyValueListJson": "[]",
|
||||
"originUrl": "/octopus/server/scheduler/allTriggers",
|
||||
"pathParamsKeyValueListJson": "[]",
|
||||
"postScript": "",
|
||||
"postType": "json",
|
||||
"preScript": "",
|
||||
"returnDocument": "{\n\t\"code\":\"No comment,Type =Number\",\n\t\"msg\":\"No comment,Type =String\",\n\t\"data\":{}\n}",
|
||||
"tempId": "",
|
||||
"url": "/octopus/server/scheduler/allTriggers",
|
||||
"urlEncodedKeyValueListJson": "[]",
|
||||
"urlEncodedKeyValueListText": "",
|
||||
"urlParamsKeyValueListJson": "[]",
|
||||
"urlParamsKeyValueListText": ""
|
||||
},
|
||||
"tempId": "id_io.wdd.rpc.controller.SchedulerController.queryAllTriggers",
|
||||
"type": 2
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"activeGroup": "Default",
|
||||
"apiParamGroup": {},
|
||||
"childList": [],
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server~SchedulerController",
|
||||
"domain": "http://localhost:9999",
|
||||
"enableEnv": "local",
|
||||
"enableProject": "ProjectOctopus",
|
||||
"filePath": "~.fastRequest~collections~Root~server~SchedulerController~queryRunQuartzJob.rapi",
|
||||
"headerList": [],
|
||||
"id": "api_io.wdd.rpc.controller.SchedulerController.queryRunQuartzJob",
|
||||
"name": "查询所有运行job",
|
||||
"paramGroup": {
|
||||
"bodyKeyValueListJson": "",
|
||||
"className": "io.wdd.rpc.controller.SchedulerController",
|
||||
"jsonDocument": "",
|
||||
"method": "queryRunQuartzJob",
|
||||
"methodDescription": "查询所有运行job",
|
||||
"methodType": "POST",
|
||||
"multipartKeyValueListJson": "[]",
|
||||
"originUrl": "/octopus/server/scheduler/queryRunJob",
|
||||
"pathParamsKeyValueListJson": "[]",
|
||||
"postScript": "",
|
||||
"postType": "json",
|
||||
"preScript": "",
|
||||
"returnDocument": "{\n\t\"code\":\"No comment,Type =Number\",\n\t\"msg\":\"No comment,Type =String\",\n\t\"data\":{}\n}",
|
||||
"tempId": "",
|
||||
"url": "/octopus/server/scheduler/queryRunJob",
|
||||
"urlEncodedKeyValueListJson": "[]",
|
||||
"urlEncodedKeyValueListText": "",
|
||||
"urlParamsKeyValueListJson": "[]",
|
||||
"urlParamsKeyValueListText": ""
|
||||
},
|
||||
"tempId": "id_io.wdd.rpc.controller.SchedulerController.queryRunQuartzJob",
|
||||
"type": 2
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"activeGroup": "Default",
|
||||
"apiParamGroup": {},
|
||||
"childList": [],
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server~StatusController",
|
||||
"domain": "http://localhost:9999",
|
||||
"enableEnv": "local",
|
||||
"enableProject": "ProjectOctopus",
|
||||
"filePath": "~.fastRequest~collections~Root~server~StatusController~GetHealthyStatusAgentList.rapi",
|
||||
"headerList": [],
|
||||
"id": "api_io.wdd.rpc.controller.StatusController.GetHealthyStatusAgentList",
|
||||
"name": "[ 状态-Agent ] Map",
|
||||
"paramGroup": {
|
||||
"bodyKeyValueListJson": "",
|
||||
"className": "io.wdd.rpc.controller.StatusController",
|
||||
"jsonDocument": "",
|
||||
"method": "GetHealthyStatusAgentList",
|
||||
"methodDescription": "[ 状态-Agent ] Map",
|
||||
"methodType": "GET",
|
||||
"multipartKeyValueListJson": "[]",
|
||||
"originUrl": "/octopus/server/status/status/agent",
|
||||
"pathParamsKeyValueListJson": "[]",
|
||||
"postScript": "",
|
||||
"postType": "json",
|
||||
"preScript": "",
|
||||
"returnDocument": "{\n\t\"code\":\"No comment,Type =Number\",\n\t\"msg\":\"No comment,Type =String\",\n\t\"data\":{}\n}",
|
||||
"tempId": "",
|
||||
"url": "/octopus/server/status/status/agent",
|
||||
"urlEncodedKeyValueListJson": "[]",
|
||||
"urlEncodedKeyValueListText": "",
|
||||
"urlParamsKeyValueListJson": "[]",
|
||||
"urlParamsKeyValueListText": ""
|
||||
},
|
||||
"tempId": "id_io.wdd.rpc.controller.StatusController.GetHealthyStatusAgentList",
|
||||
"type": 2
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"activeGroup": "Default",
|
||||
"apiParamGroup": {},
|
||||
"childList": [],
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server~StatusController",
|
||||
"domain": "http://localhost:9999",
|
||||
"enableEnv": "local",
|
||||
"enableProject": "ProjectOctopus",
|
||||
"filePath": "~.fastRequest~collections~Root~server~StatusController~ManualUpdateAgentStatus.rapi",
|
||||
"headerList": [],
|
||||
"id": "api_io.wdd.rpc.controller.StatusController.ManualUpdateAgentStatus",
|
||||
"name": "手动更新Agent的状态",
|
||||
"paramGroup": {
|
||||
"bodyKeyValueListJson": "",
|
||||
"className": "io.wdd.rpc.controller.StatusController",
|
||||
"jsonDocument": "",
|
||||
"method": "ManualUpdateAgentStatus",
|
||||
"methodDescription": "手动更新Agent的状态",
|
||||
"methodType": "POST",
|
||||
"multipartKeyValueListJson": "[]",
|
||||
"originUrl": "/octopus/server/status/agent/status/update",
|
||||
"pathParamsKeyValueListJson": "[]",
|
||||
"postScript": "",
|
||||
"postType": "json",
|
||||
"preScript": "",
|
||||
"returnDocument": "{\n\t\"code\":\"No comment,Type =Number\",\n\t\"msg\":\"No comment,Type =String\",\n\t\"data\":{}\n}",
|
||||
"tempId": "",
|
||||
"url": "/octopus/server/status/agent/status/update",
|
||||
"urlEncodedKeyValueListJson": "[]",
|
||||
"urlEncodedKeyValueListText": "",
|
||||
"urlParamsKeyValueListJson": "[]",
|
||||
"urlParamsKeyValueListText": ""
|
||||
},
|
||||
"tempId": "id_io.wdd.rpc.controller.StatusController.ManualUpdateAgentStatus",
|
||||
"type": 2
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server~StatusController",
|
||||
"filePath": "~.fastRequest~collections~Root~server~StatusController~",
|
||||
"id": "20230222092955736",
|
||||
"name": "StatusController",
|
||||
"type": 3
|
||||
}
|
||||
8
.fastRequest/collections/Root/server/directory.json
Normal file
8
.fastRequest/collections/Root/server/directory.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"description": "",
|
||||
"directory": "~.fastRequest~collections~Root~server",
|
||||
"filePath": "~.fastRequest~collections~Root~server~",
|
||||
"id": "20221230113234995",
|
||||
"name": "server",
|
||||
"type": 4
|
||||
}
|
||||
Reference in New Issue
Block a user