@RestController @RequestMapping(value="/openApi") public class OpenAPIController extends Object
| 构造器和说明 |
|---|
OpenAPIController() |
| 限定符和类型 | 方法和说明 |
|---|---|
tech.powerjob.common.response.ResultDTO<Long> |
assertAppName(String appName,
String password) |
tech.powerjob.common.response.ResultDTO<Void> |
cancelInstance(Long instanceId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Long> |
copy(Long workflowId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Long> |
copyJob(Long jobId) |
tech.powerjob.common.response.ResultDTO<Void> |
deleteJob(Long jobId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
deleteWorkflow(Long workflowId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
disableJob(Long jobId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
disableWorkflow(Long workflowId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
enableJob(Long jobId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
enableWorkflow(Long workflowId,
Long appId) |
tech.powerjob.common.response.ResultDTO<tech.powerjob.common.request.http.SaveJobInfoRequest> |
exportJob(Long jobId,
Long appId) |
tech.powerjob.common.response.ResultDTO<List<tech.powerjob.common.response.JobInfoDTO>> |
fetchAllJob(Long appId) |
tech.powerjob.common.response.ResultDTO<tech.powerjob.common.response.InstanceInfoDTO> |
fetchInstanceInfo(Long instanceId) |
tech.powerjob.common.response.ResultDTO<Integer> |
fetchInstanceStatus(Long instanceId) |
tech.powerjob.common.response.ResultDTO<tech.powerjob.common.response.JobInfoDTO> |
fetchJob(Long jobId,
Long appId) |
tech.powerjob.common.response.ResultDTO<WorkflowInfoVO> |
fetchWorkflow(Long workflowId,
Long appId) |
tech.powerjob.common.response.ResultDTO<tech.powerjob.common.response.WorkflowInstanceInfoDTO> |
fetchWorkflowInstanceInfo(Long wfInstanceId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
markWorkflowNodeAsSuccess(Long wfInstanceId,
Long nodeId,
Long appId) |
tech.powerjob.common.response.ResultDTO<List<tech.powerjob.common.response.InstanceInfoDTO>> |
queryInstance(tech.powerjob.common.PowerQuery powerQuery) |
tech.powerjob.common.response.ResultDTO<List<tech.powerjob.common.response.JobInfoDTO>> |
queryJob(tech.powerjob.common.request.query.JobInfoQuery powerQuery) |
tech.powerjob.common.response.ResultDTO<Void> |
retryInstance(Long instanceId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
retryWorkflowInstance(Long wfInstanceId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Long> |
runJob(Long appId,
Long jobId,
String instanceParams,
Long delay) |
tech.powerjob.common.response.ResultDTO<Long> |
runWorkflow(Long workflowId,
Long appId,
String initParams,
Long delay) |
tech.powerjob.common.response.ResultDTO<Long> |
saveJob(tech.powerjob.common.request.http.SaveJobInfoRequest request) |
tech.powerjob.common.response.ResultDTO<Long> |
saveWorkflow(tech.powerjob.common.request.http.SaveWorkflowRequest request) |
tech.powerjob.common.response.ResultDTO<List<tech.powerjob.server.persistence.remote.model.WorkflowNodeInfoDO>> |
saveWorkflowNode(List<tech.powerjob.common.request.http.SaveWorkflowNodeRequest> request) |
tech.powerjob.common.response.ResultDTO<Void> |
stopInstance(Long instanceId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
stopWorkflowInstance(Long wfInstanceId,
Long appId) |
@PostMapping(value="/assert") public tech.powerjob.common.response.ResultDTO<Long> assertAppName(String appName, @RequestParam(required=false) String password)
@PostMapping(value="/saveJob") public tech.powerjob.common.response.ResultDTO<Long> saveJob(@RequestBody tech.powerjob.common.request.http.SaveJobInfoRequest request)
@PostMapping(value="/copyJob") public tech.powerjob.common.response.ResultDTO<Long> copyJob(Long jobId)
@PostMapping(value="/exportJob") public tech.powerjob.common.response.ResultDTO<tech.powerjob.common.request.http.SaveJobInfoRequest> exportJob(Long jobId, Long appId)
@PostMapping(value="/fetchJob") public tech.powerjob.common.response.ResultDTO<tech.powerjob.common.response.JobInfoDTO> fetchJob(Long jobId, Long appId)
@PostMapping(value="/fetchAllJob") public tech.powerjob.common.response.ResultDTO<List<tech.powerjob.common.response.JobInfoDTO>> fetchAllJob(Long appId)
@PostMapping(value="/queryJob") public tech.powerjob.common.response.ResultDTO<List<tech.powerjob.common.response.JobInfoDTO>> queryJob(@RequestBody tech.powerjob.common.request.query.JobInfoQuery powerQuery)
@PostMapping(value="/deleteJob") public tech.powerjob.common.response.ResultDTO<Void> deleteJob(Long jobId, Long appId)
@PostMapping(value="/disableJob") public tech.powerjob.common.response.ResultDTO<Void> disableJob(Long jobId, Long appId)
@PostMapping(value="/enableJob") public tech.powerjob.common.response.ResultDTO<Void> enableJob(Long jobId, Long appId)
@PostMapping(value="/runJob") public tech.powerjob.common.response.ResultDTO<Long> runJob(Long appId, Long jobId, @RequestParam(required=false) String instanceParams, @RequestParam(required=false) Long delay)
@PostMapping(value="/stopInstance") public tech.powerjob.common.response.ResultDTO<Void> stopInstance(Long instanceId, Long appId)
@PostMapping(value="/cancelInstance") public tech.powerjob.common.response.ResultDTO<Void> cancelInstance(Long instanceId, Long appId)
@PostMapping(value="/retryInstance") public tech.powerjob.common.response.ResultDTO<Void> retryInstance(Long instanceId, Long appId)
@PostMapping(value="/fetchInstanceStatus") public tech.powerjob.common.response.ResultDTO<Integer> fetchInstanceStatus(Long instanceId)
@PostMapping(value="/fetchInstanceInfo") public tech.powerjob.common.response.ResultDTO<tech.powerjob.common.response.InstanceInfoDTO> fetchInstanceInfo(Long instanceId)
@PostMapping(value="/queryInstance") public tech.powerjob.common.response.ResultDTO<List<tech.powerjob.common.response.InstanceInfoDTO>> queryInstance(@RequestBody tech.powerjob.common.PowerQuery powerQuery)
@PostMapping(value="/saveWorkflow") public tech.powerjob.common.response.ResultDTO<Long> saveWorkflow(@RequestBody tech.powerjob.common.request.http.SaveWorkflowRequest request)
@PostMapping(value="/copyWorkflow") public tech.powerjob.common.response.ResultDTO<Long> copy(Long workflowId, Long appId)
@PostMapping(value="/fetchWorkflow") public tech.powerjob.common.response.ResultDTO<WorkflowInfoVO> fetchWorkflow(Long workflowId, Long appId)
@PostMapping(value="/deleteWorkflow") public tech.powerjob.common.response.ResultDTO<Void> deleteWorkflow(Long workflowId, Long appId)
@PostMapping(value="/disableWorkflow") public tech.powerjob.common.response.ResultDTO<Void> disableWorkflow(Long workflowId, Long appId)
@PostMapping(value="/enableWorkflow") public tech.powerjob.common.response.ResultDTO<Void> enableWorkflow(Long workflowId, Long appId)
@PostMapping(value="/runWorkflow") public tech.powerjob.common.response.ResultDTO<Long> runWorkflow(Long workflowId, Long appId, @RequestParam(required=false) String initParams, @RequestParam(required=false) Long delay)
@PostMapping(value="/addWorkflowNode") public tech.powerjob.common.response.ResultDTO<List<tech.powerjob.server.persistence.remote.model.WorkflowNodeInfoDO>> saveWorkflowNode(@RequestBody List<tech.powerjob.common.request.http.SaveWorkflowNodeRequest> request)
@PostMapping(value="/stopWfInstance") public tech.powerjob.common.response.ResultDTO<Void> stopWorkflowInstance(Long wfInstanceId, Long appId)
@PostMapping(value="/retryWfInstance") public tech.powerjob.common.response.ResultDTO<Void> retryWorkflowInstance(Long wfInstanceId, Long appId)
@PostMapping(value="/markWorkflowNodeAsSuccess") public tech.powerjob.common.response.ResultDTO<Void> markWorkflowNodeAsSuccess(Long wfInstanceId, Long nodeId, Long appId)
Copyright © 2023. All rights reserved.