[ Cmii ] [ Octopus ] - fix a lot of bugs

This commit is contained in:
zeaslity
2024-04-08 15:19:15 +08:00
parent fcca3d5275
commit 8e2385e4ac
14 changed files with 270 additions and 75 deletions

View File

@@ -62,6 +62,8 @@ public class AcceptAgentInitInfo {
;
put("Ziyang",
11);
put("JiLin",
12);
}};

View File

@@ -61,7 +61,7 @@ public class OMessageToAgentSender {
public void send(OctopusMessage octopusMessage) {
log.info(
"OM Sender to {} Time {} \n OctopusMessageType为 {}\nFunctionContent为 {}",
"OM Sender to {} Time {} OctopusMessageType为 {} FunctionContent为 {}",
octopusMessage.getUuid(),
octopusMessage.getInit_time(),
octopusMessage.getOctopusMessageType(),

View File

@@ -48,7 +48,7 @@ public class TestBaseFuncScheduler {
// Long projectServerId = 1722453318596550657L;// lappro
// Long projectServerId = 1752602668144975873L;// cqlyj
// Long projectServerId = 1764575895186030593L;// 上海雷视联动
// Long projectServerId = 1765290465066692610L;// 吉林移动
// Long projectServerId = 1777152043483353089L;// 吉林移动
// Long projectServerId = 1765654823726669826L;// 资阳公安
Long projectServerId = 1773619219367120898L; // 内网35-71项目
@@ -58,7 +58,7 @@ public class TestBaseFuncScheduler {
// String masterNodeServerName = "Shanghai-amd64-09"; // cgga
// String masterNodeServerName = "Chengdu-amd64-51"; // 吉林移动
String masterNodeServerName = "Chengdu-amd64-71"; // 吉林移动
String masterNodeServerName = "JiLin-amd64-01"; // 吉林移动
// String masterNodeServerName = "Ziyang-amd64-61"; // 资阳公安
ProjectServerVO projectServerVO = coreProjectServerService.projectServerOne(projectServerId);

View File

@@ -38,17 +38,19 @@ public class TestImageSyncScheduler {
public void runImageSync() {
ArrayList<String> CmiiAppNameList = new ArrayList<>(List.of(
"cmii-uav-process:5.4.0-040701"
// "cmii-uav-process:5.4.0-040701"
));
ArrayList<String> ImageFullNameList = new ArrayList<>(List.of(
// "harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.4.0-cqly-032802"
"harbor.cdcyy.com.cn/cmii/cmii-live-operator:5.2.0",
"harbor.cdcyy.com.cn/cmii/cmii-srs-oss-adaptor:2023-SA"
));
Boolean downloadAndCompressOnly = false;
// String projectNamespace = "wdd"; // wdd
String projectNamespace = "cqlyj"; // cqlyj
// String projectNamespace = "cqlyj"; // cqlyj
String projectNamespace = "jlyd"; // jlyd
// String innerWorkerAgentName = "Chengdu-amd64-65-lapwdd"; //wdd
String innerWorkerAgentName = "Chengdu-amd64-71-3571gd"; //prod