git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/wps@150569 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7ab1d6eeef
commit
7b6e1b2bec
12
pom.xml
12
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue