Feature/24026 #3

Merged
giancarlo.panichi merged 194 commits from Feature/24026 into master 2023-11-09 19:12:54 +01:00
1 changed files with 4 additions and 6 deletions
Showing only changes of commit f07c1ad63a - Show all commits

View File

@ -224,7 +224,8 @@ public class RestPoolManager implements PoolManager {
***REMOVED*** TODO Auto-generated method stub
LOGGER.debug("Adding algorithm =" + algorithm + " to VRE =" + vre);
Algorithm algo = service.extractAlgorithm(algorithm);
algo.setId(name+"@"+UUID.randomUUID());
UUID uuid = UUID.randomUUID();
algo.setId(name+"@"+uuid);
if (algo.getCategory() == null){
algo.setCategory(category);
@ -239,8 +240,8 @@ public class RestPoolManager implements PoolManager {
***REMOVED*** else skipJava = algo.getSkipJava();
if (algo.getName() == null){
algo.setCategory(name);
***REMOVED*** else name = algo.getName();
algo.setName(name+uuid);
***REMOVED*** else name = algo.getName()+"@"+uuid;
if (algo.getDescription() == null){
algo.setDescription(description);;
@ -373,9 +374,6 @@ public class RestPoolManager implements PoolManager {
***REMOVED***
@Override
public Set<Algorithm> getAlgoFromIs() {
***REMOVED*** TODO Auto-generated method stub