Compare commits
No commits in common. "5a0f2beb0906ed618bc10e3cf9165ce189780021" and "3c4e338b23b8113220c1f51f1717c4166b853435" have entirely different histories.
5a0f2beb09
...
3c4e338b23
@ -17,7 +17,6 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@ -271,58 +270,57 @@ public class StageController {
|
||||
return CommonResult.success(tasks);
|
||||
}
|
||||
|
||||
/**
|
||||
* @pi.name:更新流水线阶段任务
|
||||
* @pi.path:/stage/createStage
|
||||
* @pi.methodType:post
|
||||
* @pi.request-type:json
|
||||
* @pi.param: model=stage
|
||||
*/
|
||||
@RequestMapping(path="/updateStage",method = RequestMethod.POST)
|
||||
public CommonResult<Void> updateStageTask(@RequestBody @Valid @NotNull StageReq stage){
|
||||
// /**
|
||||
// * @pi.name:更新流水线阶段任务
|
||||
// * @pi.path:/stage/createStage
|
||||
// * @pi.methodType:post
|
||||
// * @pi.request-type:json
|
||||
// * @pi.param: model=stage
|
||||
// */
|
||||
// @RequestMapping(path="/updateStage",method = RequestMethod.POST)
|
||||
// public Result<Void> updateStageTask(@RequestBody @Valid @NotNull Stage stage){
|
||||
// stageService.updateStagesTask(stage);
|
||||
return CommonResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* @pi.name:更新流水线阶段名称
|
||||
* @pi.path:/stage/updateStageName
|
||||
* @pi.methodType:post
|
||||
* @pi.request-type:json
|
||||
* @pi.param: model=stage
|
||||
*/
|
||||
@RequestMapping(path="/updateStageName",method = RequestMethod.POST)
|
||||
public CommonResult<Void> updateTasksStage(@RequestBody @Valid @NotNull StageReq stage){
|
||||
// return Result.ok();
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * @pi.name:更新流水线阶段名称
|
||||
// * @pi.path:/stage/updateStageName
|
||||
// * @pi.methodType:post
|
||||
// * @pi.request-type:json
|
||||
// * @pi.param: model=stage
|
||||
// */
|
||||
// @RequestMapping(path="/updateStageName",method = RequestMethod.POST)
|
||||
// public Result<Void> updateTasksStage(@RequestBody @Valid @NotNull Stage stage){
|
||||
// stageService.updateStageName(stage);
|
||||
return CommonResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* @pi.name:删除流水线阶段及任务
|
||||
* @pi.path:/stage/deleteStage
|
||||
* @pi.methodType:post
|
||||
* @pi.request-type: formdata
|
||||
* @pi.param: name=taskId;dataType=string;value=taskId;
|
||||
*/
|
||||
@RequestMapping(path="/deleteStage",method = RequestMethod.POST)
|
||||
public CommonResult<Void> deleteTasksOrStage(@NotNull String taskId){
|
||||
// return Result.ok();
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * @pi.name:删除流水线阶段及任务
|
||||
// * @pi.path:/stage/deleteStage
|
||||
// * @pi.methodType:post
|
||||
// * @pi.request-type: formdata
|
||||
// * @pi.param: name=taskId;dataType=string;value=taskId;
|
||||
// */
|
||||
// @RequestMapping(path="/deleteStage",method = RequestMethod.POST)
|
||||
// public Result<Void> deleteTasksOrStage(@NotNull String taskId){
|
||||
// stageService.deleteStagesOrTask(taskId);
|
||||
return CommonResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* @pi.name:效验流水线各个配置阶段完整性
|
||||
* @pi.path:/stage/validStagesMustField
|
||||
* @pi.methodType:post
|
||||
* @pi.request-type: formdata
|
||||
* @pi.param: name=pipelineId;dataType=string;value=流水线Id;
|
||||
*/
|
||||
@RequestMapping(path="/validStagesMustField",method = RequestMethod.POST)
|
||||
public CommonResult<List<String>> validStagesMustField(@NotNull String pipelineId){
|
||||
// return Result.ok();
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * @pi.name:效验流水线各个配置阶段完整性
|
||||
// * @pi.path:/stage/validStagesMustField
|
||||
// * @pi.methodType:post
|
||||
// * @pi.request-type: formdata
|
||||
// * @pi.param: name=pipelineId;dataType=string;value=流水线Id;
|
||||
// */
|
||||
// @RequestMapping(path="/validStagesMustField",method = RequestMethod.POST)
|
||||
// public Result<List<String>> validStagesMustField(@NotNull String pipelineId){
|
||||
// List<String> list = stageService.validStagesMustField(pipelineId);
|
||||
// return CommonResult.ok(list);
|
||||
return CommonResult.success(Collections.emptyList());
|
||||
}
|
||||
// return Result.ok(list);
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user