|
@@ -364,7 +364,9 @@ public class ProjectService {
|
|
|
throw new RuntimeException("算法 " + algorithmId + " 的 mysql 数据有误!");
|
|
|
}
|
|
|
} else { // 从索为算法平台下载算法
|
|
|
+ log.info("ProjectService--handleAlgorithm 项目" + projectId + "需要从索为平台下载算法 " + algorithmId);
|
|
|
dockerImage = "algorithm_" + algorithmId + ":latest";
|
|
|
+ //查看算法是否已经导入
|
|
|
algorithmTarLinuxTempPath = linuxTempPath + "algorithm/" + algorithmId + ".tar";
|
|
|
//1 获取 token
|
|
|
String tokenUrl = algorithmPlatformTokenUri + "?grant_type=client_credential&appid=" + algorithmPlatformAppid + "&secret=" + algorithmPlatformSecret;
|