Commit b7379f1a authored by Aalekh Jain's avatar Aalekh Jain
Browse files

Removed system workflow related APIs from `WorkflowManagerApi.java`

parent 2a214b17
......@@ -36,17 +36,6 @@ public class WorkflowManagerApi {
return workflowManagerService.createWorkflow(request);
}
/**
* API to create a system workflow.
* @param request Request object which has information to create workflow.
* @return Workflow metadata.
*/
@PostMapping("/system")
@PreAuthorize("@authorizationFilterSP.hasPermissions()")
public WorkflowMetadata createSystemWorkflow(@RequestBody final CreateWorkflowRequest request) {
return workflowManagerService.createSystemWorkflow(request);
}
/**
* Returns workflow metadata based on workflowName
* @param workflowName Name of the workflow for which metadata should be retrieved.
......@@ -69,17 +58,6 @@ public class WorkflowManagerApi {
workflowManagerService.deleteWorkflow(workflowName);
}
/**
* Deletes system workflow by workflowName
* @param workflowName Name of the workflow which needs to be deleted.
*/
@DeleteMapping("/system/{workflow_name}")
@PreAuthorize("@authorizationFilterSP.hasPermissions()")
@ResponseStatus(HttpStatus.NO_CONTENT)
public void deleteSystemWorkflowById(@PathVariable("workflow_name") final String workflowName) {
workflowManagerService.deleteSystemWorkflow(workflowName);
}
/**
* Get List all the workflows for the tenant.
* @param prefix Filter workflow names which start with the full prefix specified.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment