|
|
|
@@ -4,7 +4,6 @@ import com.google.gson.Gson; |
|
|
|
import com.google.gson.reflect.TypeToken; |
|
|
|
import com.ruoyi.common.security.utils.SecurityUtils; |
|
|
|
import com.ruoyi.platform.constant.Constant; |
|
|
|
import com.ruoyi.platform.domain.AutoMlIns; |
|
|
|
import com.ruoyi.platform.domain.Ray; |
|
|
|
import com.ruoyi.platform.domain.RayIns; |
|
|
|
import com.ruoyi.platform.mapper.RayDao; |
|
|
|
@@ -198,7 +197,7 @@ public class RayServiceImpl implements RayService { |
|
|
|
Map<String, Object> param_output = (Map<String, Object>) output.get("param_output"); |
|
|
|
List output1 = (ArrayList) param_output.values().toArray()[0]; |
|
|
|
Map<String, String> output2 = (Map<String, String>) output1.get(0); |
|
|
|
String outputPath = minioEndpoint + "/" + output2.get("path").replace("{{workflow.name}}", (String) metadata.get("name")) + "/"; |
|
|
|
String outputPath = minioEndpoint + "/" + output2.get("path").replace("{{workflow.name}}", (String) metadata.get("name")) + "/" + ray.getName(); |
|
|
|
|
|
|
|
rayIns.setResultPath(outputPath); |
|
|
|
rayInsDao.insert(rayIns); |
|
|
|
|