|
|
@@ -1,494 +0,0 @@
|
|
|
-{
|
|
|
- "jaxrs": [
|
|
|
- {
|
|
|
- "name": "CacheAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.cache.CacheAction",
|
|
|
- "description": "缓存操作",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "configFlush",
|
|
|
- "className": "com.x.base.core.project.jaxrs.cache.ActionConfigFlush",
|
|
|
- "description": "接收config flush 信号.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/cache/config/flush",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "receive",
|
|
|
- "className": "com.x.base.core.project.jaxrs.cache.ActionReceive",
|
|
|
- "description": "接收Cache刷新信息.",
|
|
|
- "type": "PUT",
|
|
|
- "path": "jaxrs/cache",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "nodeName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "节点名",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "className",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类名",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "keys",
|
|
|
- "type": "List\u003cObject\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "关键字",
|
|
|
- "isBaseType": false
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "ComponentAction",
|
|
|
- "className": "com.x.component.assemble.control.jaxrs.component.ComponentAction",
|
|
|
- "description": "组件",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "create",
|
|
|
- "className": "com.x.component.assemble.control.jaxrs.component.ActionCreate",
|
|
|
- "description": "创建Component对象.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/component",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "delete",
|
|
|
- "className": "com.x.component.assemble.control.jaxrs.component.ActionDelete",
|
|
|
- "description": "删除Component对象.",
|
|
|
- "type": "DELETE",
|
|
|
- "path": "jaxrs/component/{flag}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "flag",
|
|
|
- "type": "String",
|
|
|
- "description": ""
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deleteAll",
|
|
|
- "className": "com.x.component.assemble.control.jaxrs.component.ActionDeleteAll",
|
|
|
- "description": "删除所有Component,还原默认布局.",
|
|
|
- "type": "DELETE",
|
|
|
- "path": "jaxrs/component/delete/all",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "edit",
|
|
|
- "className": "com.x.component.assemble.control.jaxrs.component.ActionEdit",
|
|
|
- "description": "更新Component对象.",
|
|
|
- "type": "PUT",
|
|
|
- "path": "jaxrs/component/{flag}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "flag",
|
|
|
- "type": "String",
|
|
|
- "description": ""
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.component.assemble.control.jaxrs.component.ActionGet",
|
|
|
- "description": "获取Component对象.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/component/{flag}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "flag",
|
|
|
- "type": "String",
|
|
|
- "description": ""
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": []
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listAll",
|
|
|
- "className": "com.x.component.assemble.control.jaxrs.component.ActionListAll",
|
|
|
- "description": "列示所有Component对象.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/component/list/all",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": []
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "EchoAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.echo.EchoAction",
|
|
|
- "description": "响应",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.base.core.project.jaxrs.echo.ActionGet",
|
|
|
- "description": "获取应答.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/echo",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "servletContextName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上下文根"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "serverTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "服务器时间"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "FireScheduleAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.fireschedule.FireScheduleAction",
|
|
|
- "description": "触发任务",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "execute",
|
|
|
- "className": "com.x.base.core.project.jaxrs.fireschedule.ActionExecute",
|
|
|
- "description": "接受x_program_center发送过来的运行schedule.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/fireschedule/classname/{className}",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "className",
|
|
|
- "type": "String",
|
|
|
- "description": "运行类"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "LoggerAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.LoggerAction",
|
|
|
- "description": "日志操作",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "debug",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionDebug",
|
|
|
- "description": "设置日志级别为DEBUG.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/debug",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionGet",
|
|
|
- "description": "获取当前日志级别.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "info",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionInfo",
|
|
|
- "description": "设置日志级别为INFO",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/info",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "trace",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionTrace",
|
|
|
- "description": "设置日志级别为TRACE.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/trace",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "warn",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionWarn",
|
|
|
- "description": "设置日志级别为WARN",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/warn",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "SysResourceAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.sysresource.SysResourceAction",
|
|
|
- "description": "系统资源",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "listResource",
|
|
|
- "className": "com.x.base.core.project.jaxrs.sysresource.ActionListResource",
|
|
|
- "description": "获取静态资源信息.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/sysresource/filePath/{filePath}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "filePath",
|
|
|
- "type": "String",
|
|
|
- "description": "查找路径(根路径:(0))"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": []
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "uploadResource",
|
|
|
- "className": "com.x.base.core.project.jaxrs.sysresource.ActionUploadResource",
|
|
|
- "description": "上传静态资源(仅上传到当前服务器)",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/sysresource/upload/resource/as/new/{asNew}",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "asNew",
|
|
|
- "type": "Boolean",
|
|
|
- "description": "覆盖类型:true删除原文件然后上传,false覆盖原文件"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileName",
|
|
|
- "type": "String",
|
|
|
- "description": "附件名称"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "filePath",
|
|
|
- "type": "String",
|
|
|
- "description": "附件存放目录(可以为空)"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
-}
|