[message pusher] - standlone gin service
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"activeGroup": "Default",
|
||||
"apiParamGroup": {
|
||||
"message_pusher": {
|
||||
"bodyKeyValueListJson": "",
|
||||
"classDescription": "",
|
||||
"className": "io.wdd.rpc.controller.ExecutionController",
|
||||
"headerParamsKeyValueList": [
|
||||
{
|
||||
"enabled": true,
|
||||
"type": "",
|
||||
"value": ""
|
||||
}
|
||||
],
|
||||
"jsonDocument": "",
|
||||
"method": "SyncCommandToAgentBody",
|
||||
"methodDescription": "[命令] [同步] - 单机-等待命令结果",
|
||||
"methodType": "GET",
|
||||
"multipartKeyValueListJson": "[]",
|
||||
"originUrl": "/octopus/server/executor/command/sync/one/body",
|
||||
"pathParamsKeyValueListJson": "[]",
|
||||
"postScript": "",
|
||||
"postType": "json",
|
||||
"preScript": "",
|
||||
"returnDocument": "{\"code\":\"No comment,Type =Number\",\"msg\":\"No comment,Type =String\",\"data\":{}}",
|
||||
"tempId": "",
|
||||
"url": "/cmii",
|
||||
"urlEncodedKeyValueListJson": "[]",
|
||||
"urlEncodedKeyValueListText": "",
|
||||
"urlParamsKeyValueListJson": "[]",
|
||||
"urlParamsKeyValueListText": ""
|
||||
}
|
||||
},
|
||||
"childList": [],
|
||||
"classDescription": "",
|
||||
"description": "",
|
||||
"directory": "/.fastRequest/collections/Root/server/ExecutionController",
|
||||
"domain": "localhost:8080",
|
||||
"enableEnv": "local",
|
||||
"enableProject": "message_pusher",
|
||||
"filePath": "/.fastRequest/collections/Root/server/ExecutionController~SyncCommandToAgentBody.rapi",
|
||||
"id": "api_io.wdd.rpc.controller.ExecutionController.SyncCommandToAgentBody",
|
||||
"name": "[命令] [同步] - 单机-等待命令结果",
|
||||
"paramGroup": {
|
||||
"bodyKeyValueListJson": "{\n \"Namespace\": \"devflight\",\n \"AppName\": \"cmii-uav-device\",\n \"ToTag\": \"5.5.0-1234\",\n \"Replicas\": 10\n}",
|
||||
"classDescription": "",
|
||||
"className": "io.wdd.rpc.controller.ExecutionController",
|
||||
"headerParamsKeyValueList": [
|
||||
{
|
||||
"enabled": true,
|
||||
"type": "",
|
||||
"value": ""
|
||||
}
|
||||
],
|
||||
"jsonDocument": "",
|
||||
"method": "SyncCommandToAgentBody",
|
||||
"methodDescription": "[命令] [同步] - 单机-等待命令结果",
|
||||
"methodType": "POST",
|
||||
"multipartKeyValueListJson": "[{\"customFlag\":2,\"enabled\":true,\"key\":\"Namespace\",\"type\":\"String\",\"value\":\"devflight\"},{\"customFlag\":2,\"enabled\":true,\"key\":\"AppName\",\"type\":\"String\",\"value\":\"cmii-uag-device\"},{\"customFlag\":2,\"enabled\":true,\"key\":\"ToTag\",\"type\":\"String\",\"value\":\"5.5.0-1234\"},{\"customFlag\":2,\"enabled\":true,\"key\":\"Replicas\",\"type\":\"String\",\"value\":\"2\"}]",
|
||||
"originUrl": "/octopus/server/executor/command/sync/one/body",
|
||||
"pathParamsKeyValueListJson": "[]",
|
||||
"postScript": "",
|
||||
"postType": "json",
|
||||
"preScript": "",
|
||||
"returnDocument": "{\"code\":\"No comment,Type =Number\",\"msg\":\"No comment,Type =String\",\"data\":{}}",
|
||||
"tempId": "",
|
||||
"url": "/cmii/upgrade",
|
||||
"urlEncodedKeyValueListJson": "[{\"customFlag\":2,\"enabled\":true,\"key\":\"{\\\"Namespace\\\":\\\"foo\\\",\\\"AppName\\\":\\\"bar\\\",\\\"ToTag\\\":\\\"baz\\\",\\\"Replicas\\\":10}\",\"type\":\"String\",\"value\":\"\"}]",
|
||||
"urlEncodedKeyValueListText": "{\"Namespace\":\"foo\",\"AppName\":\"bar\",\"ToTag\":\"baz\",\"Replicas\":10}=",
|
||||
"urlParamsKeyValueListJson": "[]",
|
||||
"urlParamsKeyValueListText": ""
|
||||
},
|
||||
"pmRequestId": "",
|
||||
"pmResponseId": "",
|
||||
"tempId": "api_io.wdd.rpc.controller.ExecutionController.SyncCommandToAgentBody",
|
||||
"type": 2
|
||||
}
|
||||
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"apiDocTemplate": "#if (${namingPolicy}=='byDoc')\n$H1 ${methodDescription}\n#else\n$H1 $!{methodName}\n\n$H3 Method description\n\n```\n$!{methodDescription}\n```\n#end\n\n> URL: $!{url}\n>\n> Origin Url: $!{originUrl}\n>\n> Type: $!{methodType}\n\n\n$H3 Request headers\n\n|Header Name| Header Value|\n|---------|------|\n#foreach( $h in ${headerList})\n|$h.type|$h.value|\n#end\n\n$H3 Parameters\n\n$H5 Path parameters\n\n| Parameter | Type | Value | Description |\n|---------|------|------|------------|\n#foreach( $node in ${pathKeyValueList})\n|$node.key|$!{node.type}|$!{node.value}|$!{node.comment}|\n#end\n\n\n$H5 URL parameters\n\n|Required| Parameter | Type | Value | Description |\n|---------|---------|------|------|------------|\n#foreach( $node in ${urlParamsKeyValueList})\n|$!{node.enabled}|$!{node.key}|$!{node.type}|$!{node.value}|$!{node.comment}|\n#end\n\n\n$H5 Body parameters\n\n$H6 JSON\n\n```\n${jsonParam}\n```\n\n$H6 JSON document\n\n```\n${jsonParamDocument}\n```\n\n\n$H5 Form URL-Encoded\n|Required| Parameter | Type | Value | Description |\n|---------|---------|------|------|------------|\n#foreach( $node in ${urlEncodedKeyValueList})\n|$!{node.enabled}|$!{node.key}|$!{node.type}|$!{node.value}|$!{node.comment}|\n#end\n\n\n$H5 Multipart\n|Required | Parameter | Type | Value | Description |\n|---------|---------|------|------|------------|\n#foreach( $node in ${multipartKeyValueList})\n|$!{node.enabled}|$!{node.key}|$!{node.type}|$!{node.value}|$!{node.comment}|\n#end\n\n\n$H3 Response\n\n$H5 Response example\n\n```\n$!{responseExample}\n```\n\n$H5 Response document\n```\n$!{returnDocument}\n```\n\n\n",
|
||||
"apifoxSetting": {
|
||||
"domain": "https://api.apifox.com",
|
||||
"syncAfterSave": false
|
||||
},
|
||||
"dataList": [
|
||||
{
|
||||
"hostGroup": [
|
||||
@@ -17,31 +22,46 @@
|
||||
}
|
||||
],
|
||||
"name": "server"
|
||||
},
|
||||
{
|
||||
"hostGroup": [
|
||||
{
|
||||
"env": "local",
|
||||
"url": "localhost:8080"
|
||||
}
|
||||
],
|
||||
"name": "message_pusher"
|
||||
}
|
||||
],
|
||||
"envList": [
|
||||
"local"
|
||||
],
|
||||
"headerList": [],
|
||||
"ignoreParseFieldList": [],
|
||||
"maxDescriptionLength": -1,
|
||||
"pmCollectionId": "",
|
||||
"postScript": "",
|
||||
"preScript": "",
|
||||
"projectList": [
|
||||
"OctpusGO",
|
||||
"server"
|
||||
"server",
|
||||
"message_pusher"
|
||||
],
|
||||
"syncModel": {
|
||||
"branch": "master",
|
||||
"domain": "https://github.com",
|
||||
"enabled": false,
|
||||
"gitToken": "",
|
||||
"namingPolicy": "byDoc",
|
||||
"owner": "",
|
||||
"repo": "",
|
||||
"repoUrl": "",
|
||||
"syncAfterRun": false,
|
||||
"token": "",
|
||||
"type": "github"
|
||||
},
|
||||
"syncPmAfterSave": false,
|
||||
"urlEncodedKeyValueList": [],
|
||||
"urlParamsKeyValueList": [],
|
||||
"urlSuffix": ""
|
||||
"urlSuffix": "",
|
||||
"workspaceId": ""
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"apifoxRelationMap": {},
|
||||
"apifoxServerMap": {},
|
||||
"environment": {},
|
||||
"pmRelationMap": {}
|
||||
}
|
||||
Reference in New Issue
Block a user