some system.out.println statements removed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100836 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c0abe245c1
commit
dc17681468
|
@ -643,11 +643,11 @@ public class GWTdbManagerServiceImpl extends RemoteServiceServlet implements
|
|||
|
||||
// create data structure
|
||||
ComputationOutput outputData = new ComputationOutput();
|
||||
|
||||
|
||||
// computation id
|
||||
String computationId = startComputation(algorithmId,
|
||||
inputParameters, outputData, scope, UID);
|
||||
|
||||
|
||||
// get JobID
|
||||
if (checkJob(UID)) { // if the computation has not been removed
|
||||
// the job uid is present
|
||||
|
@ -1810,6 +1810,7 @@ public class GWTdbManagerServiceImpl extends RemoteServiceServlet implements
|
|||
|
||||
StatisticalManagerFactory factory = StatisticalManagerDSL
|
||||
.createStateful().build();
|
||||
|
||||
SMComputation computation = factory.getComputation(computationId);
|
||||
SMOperationStatus status = SMOperationStatus.values()[computation
|
||||
.operationStatus()];
|
||||
|
@ -2014,13 +2015,13 @@ public class GWTdbManagerServiceImpl extends RemoteServiceServlet implements
|
|||
StatisticalManagerFactory factory = getFactory(scope);
|
||||
try {
|
||||
factory.removeComputation(computationId);
|
||||
logger.info("Computation with UID: "+ uidSubmitQuery + " removed");
|
||||
// remove submit query result
|
||||
refreshDataOnServer(uidSubmitQuery);
|
||||
// System.out.println("computation removed");
|
||||
isComputationRemoved = true;
|
||||
} catch (Exception e) {
|
||||
// e.printStackTrace();
|
||||
|
||||
logger.info("dbmanager-> Could not remove the computation ID "
|
||||
+ computationId
|
||||
+ " corresponding to jobID "
|
||||
|
|
Loading…
Reference in New Issue