|
|
@@ -16,6 +16,8 @@ import seecoder.devcloud.web.service.pipeline.PipelineService;
|
|
|
|
|
|
import javax.ws.rs.GET;
|
|
|
import javax.ws.rs.PUT;
|
|
|
+import java.util.Collection;
|
|
|
+import java.util.Collections;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
@@ -100,4 +102,10 @@ public class PipelineController {
|
|
|
return Response.buildSuccess();
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "获取可用的pipeline模板名字", httpMethod = "GET")
|
|
|
+ @GetMapping("/templates")
|
|
|
+ public Response getPipelineTemplateNames(){
|
|
|
+ //todo 实现
|
|
|
+ return Response.buildSuccess(Collections.emptyList());
|
|
|
+ }
|
|
|
}
|