修改:hpc文件回传MINIO文件路径设置
This commit is contained in:
@@ -7,7 +7,7 @@ public class HPCExecuteConfig extends BaseExecuteConfig {
|
||||
|
||||
private String beforeNodeId;
|
||||
// 先默认写死一个,后面前端配置传递
|
||||
private String masterFileRegularStr="^aa\\.xml$";
|
||||
private String masterFileRegularStr = "^.*\\.xml$";
|
||||
// 先默认写死一个,后面前端配置传递
|
||||
private String inputFilesRegularStr="^.+\\.json$";
|
||||
|
||||
|
||||
@@ -158,7 +158,8 @@ public class HpcHandler implements ExecutionHandler<Map<String, Object>,HPCExecu
|
||||
ProcessNodeParam beforeNode = beforeNodeParams.get(0);
|
||||
String beforeNodeJectKey = getNodeObjectKey(beforeNode);
|
||||
// 本地求解文件路径 taskLocalBaseDir
|
||||
submitHpcTaskRemoteReq.setSimulationFileLocalPath(simulationBaseDir + beforeNodeJectKey);
|
||||
String simulationFilePath = simulationBaseDir + beforeNodeJectKey;
|
||||
submitHpcTaskRemoteReq.setSimulationFileLocalPath(simulationFilePath);
|
||||
CoreLogger.info("simulationFileLocalPath :{} ",simulationBaseDir + beforeNodeJectKey);
|
||||
}
|
||||
// 手动上传的
|
||||
@@ -175,7 +176,9 @@ public class HpcHandler implements ExecutionHandler<Map<String, Object>,HPCExecu
|
||||
// hpc 节点回传路径
|
||||
ProcessNodeParam currentNode = currentNodeParams.get(0);
|
||||
String currentNodeJectKey = getNodeObjectKey(currentNode);
|
||||
// hpc 回传文件路径
|
||||
// hpc 回传minio文件路径,桶和租户绑定
|
||||
submitHpcTaskRemoteReq.setStdoutSpdmMinoFilePath(currentNodeJectKey);
|
||||
// hpc 回传本地文件路径
|
||||
submitHpcTaskRemoteReq.setStdoutSpdmNasFilePath(simulationBaseDir + currentNodeJectKey);
|
||||
CoreLogger.info("stdoutSpdmNasFilePath :{} ",simulationBaseDir + currentNodeJectKey);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user