renamed StepExecutionRequest to PerformStepRequest
This commit is contained in:
parent
e8346fa8e3
commit
47670fdac7
|
@ -20,7 +20,7 @@ import org.gcube.application.geoportal.common.model.rest.CreateRelationshipReque
|
|||
import org.gcube.application.geoportal.common.model.rest.DeleteRelationshipRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.QueryRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.RegisterFileSetRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.StepExecutionRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.PerformStepRequest;
|
||||
import org.gcube.application.geoportal.common.rest.InterfaceConstants;
|
||||
import org.gcube.application.geoportal.common.rest.Projects;
|
||||
import org.gcube.common.clients.Call;
|
||||
|
@ -253,7 +253,7 @@ public class DefaultDocumentsClient<T extends Project> implements Projects<T> {
|
|||
* @throws RemoteException the remote exception
|
||||
*/
|
||||
@Override
|
||||
public T performStep(String id, StepExecutionRequest request) throws RemoteException {
|
||||
public T performStep(String id, PerformStepRequest request) throws RemoteException {
|
||||
try {
|
||||
log.debug("Executing step on {} (class {}, useCaseDescriptor {}) with request {} ", id, getManagedClass(),
|
||||
profileID, request);
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.gcube.application.geoportal.common.model.document.relationships.Relat
|
|||
import org.gcube.application.geoportal.common.model.rest.CreateRelationshipRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.DeleteRelationshipRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.RegisterFileSetRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.StepExecutionRequest;
|
||||
import org.gcube.application.geoportal.common.model.rest.PerformStepRequest;
|
||||
import org.gcube.application.geoportal.common.model.useCaseDescriptor.Field;
|
||||
import org.gcube.application.geoportal.common.model.useCaseDescriptor.HandlerDeclaration;
|
||||
import org.gcube.application.geoportal.common.model.useCaseDescriptor.UseCaseDescriptor;
|
||||
|
@ -68,7 +68,7 @@ public class ProfiledConcessioniTest <M extends Project,C extends Projects<M>> e
|
|||
|
||||
p=prepareWithFileSet(p);
|
||||
String optionalMessage = null;
|
||||
p = getClient().performStep(p.getId(), new StepExecutionRequest("SUBMIT-FOR-REVIEW", optionalMessage, new Document()));
|
||||
p = getClient().performStep(p.getId(), new PerformStepRequest("SUBMIT-FOR-REVIEW", optionalMessage, new Document()));
|
||||
System.out.println("Result is "+Serialization.write(p));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue