新增:hpc应用配置增加动态命令相关配置。
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package com.sdm.common.feign.inter.pbs;
|
||||
|
||||
import com.sdm.common.common.SdmResponse;
|
||||
import com.sdm.common.entity.req.pbs.SimulationHpcCommandAllReq;
|
||||
import com.sdm.common.entity.resp.pbs.hpc.SimulationHpcCommandAllResp;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@FeignClient(name = "pbs",contextId = "simulationHpcCommandFeignClient")
|
||||
public interface ISimulationHpcCommandFeignClient {
|
||||
|
||||
// 配置新增
|
||||
@PostMapping("/pbs/hpcCommandSaveDb")
|
||||
SdmResponse<String> hpcCommandSaveDb(@RequestBody SimulationHpcCommandAllReq req);
|
||||
|
||||
// 配置修改
|
||||
@PostMapping("/pbs/hpcCommandUpdateDb")
|
||||
SdmResponse<String> hpcCommandUpdateDb(@RequestBody SimulationHpcCommandAllReq allReq);
|
||||
|
||||
@DeleteMapping("/pbs/deleteHpcCommandConfigs")
|
||||
SdmResponse<String> deleteHpcCommandConfigs(@RequestParam String appId);
|
||||
|
||||
@PostMapping("/pbs/getHpcCommandConfigs")
|
||||
SdmResponse<List<SimulationHpcCommandAllResp>> getHpcCommandConfigs(@RequestBody List<String> hpcUuidList) ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user