新增:hpc pack 独立页面,提交单一任务,提交批量任务接口提交;pbs求解文件及文件夹上传接口提交。
This commit is contained in:
@@ -98,4 +98,13 @@ public class SubmitHpcTaskRemoteReq implements Serializable {
|
||||
@Schema(description = "流程实例id")
|
||||
private String processInstanceId;
|
||||
|
||||
@Schema(description = "本次任务凭证")
|
||||
private String uuid;
|
||||
|
||||
@Schema(description = "批量任务组id")
|
||||
private Long groupId;
|
||||
|
||||
@Schema(description = "任务描述")
|
||||
private String jobDesc;
|
||||
|
||||
}
|
||||
|
||||
@@ -206,7 +206,7 @@ public class HpcCommandExcuteUtil {
|
||||
|
||||
public SdmResponse<Boolean> callHpcUploadToTarget(String jobId, String workDir,String minioBucket,
|
||||
String callBackMinioDir,String callBackNasDir,
|
||||
Long dirId,Long userId,Long tenantId,String outputFormat) {
|
||||
Long dirId,Long userId,Long tenantId,String outputFormat,String from) {
|
||||
com.alibaba.fastjson2.JSONObject paramJson = new com.alibaba.fastjson2.JSONObject();
|
||||
paramJson.put("jobId", jobId);
|
||||
paramJson.put("jobWorkDir", workDir);
|
||||
@@ -217,6 +217,7 @@ public class HpcCommandExcuteUtil {
|
||||
paramJson.put("userId", userId);
|
||||
paramJson.put("tenantId", tenantId);
|
||||
paramJson.put("outputFormat", outputFormat);
|
||||
paramJson.put("from", from);
|
||||
Boolean call = false;
|
||||
String resultString = "";
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user