git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/dataminer-pool-manager@146432 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
486e808d8c
commit
d065e09593
|
@ -224,7 +224,8 @@ public class RestPoolManager implements PoolManager {
|
|||
// 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 {
|
|||
} else skipJava = algo.getSkipJava();
|
||||
|
||||
if (algo.getName() == null){
|
||||
algo.setCategory(name);
|
||||
} else name = algo.getName();
|
||||
algo.setName(name+uuid);
|
||||
} else name = algo.getName()+"@"+uuid;
|
||||
|
||||
if (algo.getDescription() == null){
|
||||
algo.setDescription(description);;
|
||||
|
@ -373,9 +374,6 @@ public class RestPoolManager implements PoolManager {
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public Set<Algorithm> getAlgoFromIs() {
|
||||
// TODO Auto-generated method stub
|
||||
|
|
Loading…
Reference in New Issue