perform-service_broken/src/main/java/org/gcube/application/perform/service/rest/Execution.java

26 lines
753 B
Java

package org.gcube.application.perform.service.rest;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.QueryParam;
import org.gcube.application.perform.service.PerformServiceManager;
import org.gcube.application.perform.service.ServiceConstants;
import org.gcube.smartgears.annotations.ManagedBy;
@Path(ServiceConstants.Execution.PATH)
@ManagedBy(PerformServiceManager.class)
public class Execution {
@POST
@Path(ServiceConstants.Execution.IMPORT_METHOD)
public void importExcel(@QueryParam(ServiceConstants.Execution.BATCH_TYPE_PARAMETER)String batchType,
@QueryParam(ServiceConstants.Execution.FARM_ID_PARAMETER)Long farmid,
@QueryParam(ServiceConstants.Execution.EXCEL_FILE_PARAMETER)String sourceFile) {
}
}