@RestController @RequestMapping(value="/node") @Feature(cls=NODE) public class NodeProjectInfoController extends BaseServerController
NODE_ID, nodeService
Constructor and Description |
---|
NodeProjectInfoController(ProjectInfoCacheService projectInfoCacheService) |
Modifier and Type | Method and Description |
---|---|
String |
clearAll()
删除节点缓存的所有项目
|
String |
nodeProjectList() |
String |
projectList()
load node project list
加载节点项目列表
|
String |
projectListAll()
load node project list
加载节点项目列表
|
cn.jiangzeyin.common.JsonMessage<String> |
sortItem(String id,
String method,
String compareId)
排序
|
String |
syncProject(String nodeId)
同步节点项目
|
checkCron, getNode, getUser, getUserByThreadLocal, getUserModel, removeAll, removeEmpty, resetInfo, resetInfo, tryGetNode
checkPathSafe, pathSafe
clearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFile
getApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributes
public NodeProjectInfoController(ProjectInfoCacheService projectInfoCacheService)
@PostMapping(value="node_project_list", produces="application/json") public String nodeProjectList()
@PostMapping(value="project_list", produces="application/json") public String projectList()
@GetMapping(value="project_list_all", produces="application/json") public String projectListAll()
@GetMapping(value="sync_project", produces="application/json") @Feature(cls=PROJECT, method=DEL) public String syncProject(String nodeId)
@GetMapping(value="clear_all_project", produces="application/json") @SystemPermission(superUser=true) @Feature(cls=PROJECT, method=DEL) public String clearAll()
Copyright © 2017–2022. All rights reserved.