新增:pbs作业提交功能开发;删除submit服务

This commit is contained in:
yangyang01000846
2025-11-26 15:41:56 +08:00
parent 16d45f75cd
commit b3426bb112
40 changed files with 266 additions and 1606 deletions

View File

@@ -0,0 +1,15 @@
package com.sdm.common.entity.constants;
// HPC指令相关常量类不单一代表某个含义
public class HpcConstants {
private HpcConstants() {
throw new AssertionError("不能实例化常量类!");
}
// 结果类型
public static final String FORMAT_LIST = "list";
// 结果类型 table
public static final String FORMAT_TABLE = "table";
}

View File

@@ -9,4 +9,6 @@ public class SubmitHpcJobResp extends HpcBaseResp {
private String jobId;
private String taskId;
}

View File

@@ -36,7 +36,9 @@ public class HttpClientUtil {
// 默认超时时间(毫秒)
private static final int DEFAULT_CONNECT_TIMEOUT = 5000;
private static final int DEFAULT_CONNECTION_REQUEST_TIMEOUT = 5000;
private static final int DEFAULT_SOCKET_TIMEOUT = 5000;
// private static final int DEFAULT_SOCKET_TIMEOUT = 5000;
// todo 临时改大,后期拆开
private static final int DEFAULT_SOCKET_TIMEOUT = 120000;
// 创建默认的HTTP客户端
private final CloseableHttpClient httpClient;