This commit is contained in:
Lucio Lelii 2017-06-27 13:23:22 +00:00
parent 7ab1d6eeef
commit 7b6e1b2bec
3 changed files with 12 additions and 7 deletions

12
pom.xml
View File

@ -459,14 +459,14 @@
<version>${n52version}</version>
</dependency>
<dependency>
<groupId>org.n52.wps</groupId>
<artifactId>52n-wps-server</artifactId>
<version>${n52version}</version>
<groupId>org.gcube.dataanalysis</groupId>
<artifactId>52n-wps-server-gcube</artifactId>
<version>[3.6.1-SNAPSHOT, 3.7.0-SNAPSHOT]</version>
</dependency>
<dependency>
<groupId>org.n52.wps</groupId>
<artifactId>52n-wps-algorithm</artifactId>
<version>${n52version}</version>
<groupId>org.gcube.dataanalysis</groupId>
<artifactId>52n-wps-algorithm-gcube</artifactId>
<version>[3.6.1-SNAPSHOT, 3.7.0-SNAPSHOT]</version>
</dependency>
<dependency>
<groupId>org.n52.wps</groupId>

View File

@ -43,6 +43,7 @@ import javax.xml.parsers.ParserConfigurationException;
import org.apache.commons.collections.map.CaseInsensitiveMap;
import org.apache.commons.io.IOUtils;
import org.gcube.common.authorization.library.AuthorizedTasks;
import org.gcube.common.authorization.library.provider.CalledMethodProvider;
import org.n52.wps.server.ExceptionReport;
import org.n52.wps.server.WebProcessingService;
import org.n52.wps.server.handler.RequestExecutor;
@ -131,16 +132,20 @@ public class RequestHandler {
if (requestType.equalsIgnoreCase("GetCapabilities")) {
req = new CapabilitiesRequest(ciMap);
CalledMethodProvider.instance.set("GetCapabilities");
}
else if (requestType.equalsIgnoreCase("DescribeProcess")) {
req = new DescribeProcessRequest(ciMap);
CalledMethodProvider.instance.set("DescribeProcess");
}
else if (requestType.equalsIgnoreCase("Execute")) {
req = new ExecuteRequest(ciMap);
setResponseMimeType((ExecuteRequest)req);
CalledMethodProvider.instance.set("Execute");
}
else if (requestType.equalsIgnoreCase("RetrieveResult")) {
req = new RetrieveResultRequest(ciMap);
CalledMethodProvider.instance.set("RetrieveResult");
}
else {
throw new ExceptionReport(

View File

@ -25,7 +25,7 @@ no. 654119), SoBigData (grant no. 654024);
Version
--------------------------------------------------
1.0.0-SNAPSHOT (2017-06-15)
1.0.0-SNAPSHOT (2017-06-27)
Please see the file named "changelog.xml" in this directory for the release notes.