adapted to the new ReportParsing of CL

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/aslvre@82477 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2013-10-04 15:02:48 +00:00
parent a9a705a891
commit 52a26863c5
2 changed files with 5 additions and 5 deletions

View File

@ -4,12 +4,12 @@ import java.rmi.RemoteException;
import java.util.List;
import org.gcube.vremanagement.vremodel.cl.stubs.types.FunctionalityItem;
import org.gcube.vremanagement.vremodel.cl.stubs.types.FunctionalityList;
import org.gcube.vremanagement.vremodel.cl.stubs.types.FunctionalityNodes;
import org.gcube.vremanagement.vremodel.cl.stubs.types.GHN;
import org.gcube.vremanagement.vremodel.cl.stubs.types.GHNsPerFunctionality;
import org.gcube.vremanagement.vremodel.cl.stubs.types.SelectedResourceDescriptionType;
import org.gcube.vremanagement.vremodel.cl.stubs.types.VREDescription;
import org.gcube.vremanagement.vremodeler.utils.reports.DeployReport;
public interface VREGeneratorInterface {
@ -19,8 +19,7 @@ public interface VREGeneratorInterface {
* @return what the vVRE modeler returns
* @throws RemoteException
*/
String checkVREStatus()
throws RemoteException;
DeployReport checkVREStatus() throws RemoteException;
/**
* @throws RemoteException

View File

@ -25,6 +25,7 @@ import org.gcube.vremanagement.vremodel.cl.stubs.types.GHNsPerFunctionality;
import org.gcube.vremanagement.vremodel.cl.stubs.types.Report;
import org.gcube.vremanagement.vremodel.cl.stubs.types.SelectedResourceDescriptionType;
import org.gcube.vremanagement.vremodel.cl.stubs.types.VREDescription;
import org.gcube.vremanagement.vremodeler.utils.reports.DeployReport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -136,10 +137,10 @@ protected static AtomicInteger vreId = new AtomicInteger(0);
}
@Override
public String checkVREStatus() throws RemoteException {
public DeployReport checkVREStatus() throws RemoteException {
String currScope = ScopeProvider.instance.get();
ScopeProvider.instance.set(scope);
String toReturn = modelPortType.checkStatus().getStatus().name();
DeployReport toReturn = modelPortType.checkStatus();
ScopeProvider.instance.set(currScope);
return toReturn;
}