refactor(测试计划): 去除测试计划执行的审计日志
This commit is contained in:
parent
1e97a8cd76
commit
6b84b0f672
|
@ -128,7 +128,6 @@ public class TestPlanApiCaseController {
|
|||
}
|
||||
|
||||
@PostMapping(value = "/run")
|
||||
@MsAuditLog(module = OperLogModule.TRACK_TEST_PLAN, type = OperLogConstants.EXECUTE, content = "#msClass.getLogDetails(#request.planIds)", msClass = TestPlanApiCaseService.class)
|
||||
public List<MsExecResponseDTO> run(@RequestBody BatchRunDefinitionRequest request) {
|
||||
return testPlanApiCaseService.run(request);
|
||||
}
|
||||
|
|
|
@ -104,7 +104,6 @@ public class TestPlanScenarioCaseController {
|
|||
}
|
||||
|
||||
@PostMapping(value = "/run")
|
||||
@MsAuditLog(module = OperLogModule.TRACK_TEST_PLAN, type = OperLogConstants.EXECUTE, content = "#msClass.getLogDetails(#request.planCaseIds)", msClass = TestPlanScenarioCaseService.class)
|
||||
public List<MsExecResponseDTO> run(@RequestBody RunTestPlanScenarioRequest request) {
|
||||
request.setExecuteType(ExecuteType.Completed.name());
|
||||
if (request.getConfig() == null) {
|
||||
|
@ -117,7 +116,6 @@ public class TestPlanScenarioCaseController {
|
|||
}
|
||||
|
||||
@PostMapping(value = "/jenkins/run")
|
||||
@MsAuditLog(module = OperLogModule.TRACK_TEST_PLAN, type = OperLogConstants.EXECUTE, content = "#msClass.getLogDetails(#request.ids)", msClass = TestPlanScenarioCaseService.class)
|
||||
public List<MsExecResponseDTO> runByRun(@RequestBody RunTestPlanScenarioRequest request) {
|
||||
request.setExecuteType(ExecuteType.Saved.name());
|
||||
request.setTriggerMode(ApiRunMode.API.name());
|
||||
|
|
Loading…
Reference in New Issue