|
|
|
@@ -324,7 +324,7 @@ public class ExperimentServiceImpl implements ExperimentService { |
|
|
|
resourceOccupyService.startDeduce((Integer) node.get("computing_resource_id"), 1, Constant.TaskType_Workflow, Long.valueOf(id), Long.valueOf(insert.getId()), experiment.getWorkflowId(), experiment.getName(), entry.getKey(), Constant.State_building); |
|
|
|
} |
|
|
|
} catch (Exception e) { |
|
|
|
throw new Exception(e); |
|
|
|
throw new Exception(e.getMessage()); |
|
|
|
} |
|
|
|
List<ExperimentIns> updatedExperimentInsList = experimentInsService.getByExperimentId(id); |
|
|
|
experiment.setExperimentInsList(updatedExperimentInsList); |
|
|
|
@@ -818,7 +818,7 @@ public class ExperimentServiceImpl implements ExperimentService { |
|
|
|
try { |
|
|
|
newExperiment = this.runExperiment(newExperiment.getId()); |
|
|
|
} catch (Exception e) { |
|
|
|
throw new RuntimeException(e); |
|
|
|
throw new RuntimeException(e.getMessage()); |
|
|
|
} |
|
|
|
|
|
|
|
return newExperiment; |
|
|
|
|