Merge branch 'master' of code-repo.d4science.org:gCubeSystem/wps
This commit is contained in:
commit
b49789681a
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -1,8 +1,20 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
|
||||||
|
## [v1.1.7-SNAPSHOT] - 2020-11-11
|
||||||
|
|
||||||
## [v1.1.5] [r4.24.0] - 2020-06-05
|
### Fix
|
||||||
|
- Added a printStackTrace in executeRequest
|
||||||
|
|
||||||
|
## [v1.1.6] - 2020-10-15
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- Updated pom.xml for support gcube-bom-2.0.0-SNAPSHOT [#19790]
|
||||||
|
|
||||||
|
|
||||||
|
## [v1.1.5] - 2020-06-05
|
||||||
|
>>>>>>> 7e2df26281c369848795991265f7484f7a3fe2c8
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
<ReleaseNotes>
|
<ReleaseNotes>
|
||||||
|
<Changeset component="org.gcube.data-analysis.wps.1-1-6"
|
||||||
|
date="2020-10-15">
|
||||||
|
<Change>Updated pom.xml for support gcube-bom-2.0.0-SNAPSHOT [#19790]</Change>
|
||||||
|
</Changeset>
|
||||||
<Changeset component="org.gcube.data-analysis.wps.1-1-5"
|
<Changeset component="org.gcube.data-analysis.wps.1-1-5"
|
||||||
date="2020-06-05">
|
date="2020-06-05">
|
||||||
<Change>Updated ExecuteResponseBuilder for support protocol option [#19129]</Change>
|
<Change>Updated ExecuteResponseBuilder for support protocol option [#19129]</Change>
|
||||||
|
|
86
pom.xml
86
pom.xml
|
@ -3,7 +3,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.gcube.data-analysis</groupId>
|
<groupId>org.gcube.data-analysis</groupId>
|
||||||
<artifactId>wps</artifactId>
|
<artifactId>wps</artifactId>
|
||||||
<version>1.1.5</version>
|
<version>1.1.7-SNAPSHOT</version>
|
||||||
<name>WPS</name>
|
<name>WPS</name>
|
||||||
<description>A service implementing a WPS provider in the D4Science e-Infrastructure</description>
|
<description>A service implementing a WPS provider in the D4Science e-Infrastructure</description>
|
||||||
|
|
||||||
|
@ -16,6 +16,13 @@
|
||||||
|
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
|
<scm>
|
||||||
|
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</connection>
|
||||||
|
<developerConnection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</developerConnection>
|
||||||
|
<url>https://code-repo.d4science.org/gCubeSystem/${project.artifactId}</url>
|
||||||
|
</scm>
|
||||||
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<serviceName>DataMiner</serviceName>
|
<serviceName>DataMiner</serviceName>
|
||||||
<serviceClass>WPS</serviceClass>
|
<serviceClass>WPS</serviceClass>
|
||||||
|
@ -34,7 +41,7 @@
|
||||||
<repository>
|
<repository>
|
||||||
<id>n52-releases</id>
|
<id>n52-releases</id>
|
||||||
<name>52n Releases</name>
|
<name>52n Releases</name>
|
||||||
<url>http://52north.org/maven/repo/releases</url>
|
<url>https://52north.org/maven/repo/releases</url>
|
||||||
<releases>
|
<releases>
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
|
@ -45,17 +52,17 @@
|
||||||
<repository>
|
<repository>
|
||||||
<id>Apache</id>
|
<id>Apache</id>
|
||||||
<name>Apache repository</name>
|
<name>Apache repository</name>
|
||||||
<url>http://repo1.maven.org/maven2</url>
|
<url>https://repo1.maven.org/maven2</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>geotools</id>
|
<id>geotools</id>
|
||||||
<name>Geotools Repo</name>
|
<name>Geotools Repo</name>
|
||||||
<url>http://download.osgeo.org/webdav/geotools</url>
|
<url>https://download.osgeo.org/webdav/geotools</url>
|
||||||
<releases>
|
<releases>
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>true</enabled>
|
<enabled>false</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -63,14 +70,30 @@
|
||||||
<name>opengeo repository</name>
|
<name>opengeo repository</name>
|
||||||
<url>https://repo.boundlessgeo.com</url>
|
<url>https://repo.boundlessgeo.com</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>geosolutions</id>
|
||||||
|
<name>geosolution repository</name>
|
||||||
|
<url> http://maven.geo-solutions.it/ </url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
<updatePolicy>never</updatePolicy>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<updatePolicy>never</updatePolicy>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
<!-- Old solution <dependencies> <dependency> <groupId>org.gcube.distribution</groupId>
|
||||||
|
<artifactId>maven-smartgears-bom</artifactId> <version>2.1.0</version> <type>pom</type>
|
||||||
|
<scope>import</scope> </dependency> </dependencies> -->
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.distribution</groupId>
|
<groupId>org.gcube.distribution</groupId>
|
||||||
<artifactId>maven-smartgears-bom</artifactId>
|
<artifactId>gcube-smartgears-bom</artifactId>
|
||||||
<version>2.1.0</version>
|
<version>2.0.0</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -122,6 +145,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.core</groupId>
|
<groupId>org.gcube.core</groupId>
|
||||||
<artifactId>common-smartgears</artifactId>
|
<artifactId>common-smartgears</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.core</groupId>
|
<groupId>org.gcube.core</groupId>
|
||||||
|
@ -132,10 +156,13 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>common-authorization</artifactId>
|
<artifactId>common-authorization</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.core</groupId>
|
<groupId>org.gcube.core</groupId>
|
||||||
<artifactId>common-scope</artifactId>
|
<artifactId>common-scope</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
|
<!-- https://mvnrepository.com/artifact/xml-apis/xml-apis -->
|
||||||
|
@ -253,17 +280,9 @@
|
||||||
<artifactId>commons-codec</artifactId>
|
<artifactId>commons-codec</artifactId>
|
||||||
<version>1.5</version>
|
<version>1.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<!--dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId>
|
||||||
<groupId>commons-httpclient</groupId>
|
<version>3.1</version> <exclusions> <exclusion> <artifactId>commons-logging</artifactId>
|
||||||
<artifactId>commons-httpclient</artifactId>
|
<groupId>commons-logging</groupId> </exclusion> </exclusions> </dependency -->
|
||||||
<version>3.1</version>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>commons-logging</artifactId>
|
|
||||||
<groupId>commons-logging</groupId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-io</groupId>
|
<groupId>commons-io</groupId>
|
||||||
<artifactId>commons-io</artifactId>
|
<artifactId>commons-io</artifactId>
|
||||||
|
@ -411,6 +430,7 @@
|
||||||
<artifactId>mapscript</artifactId>
|
<artifactId>mapscript</artifactId>
|
||||||
<version>6.0.3</version>
|
<version>6.0.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.n52.wps</groupId>
|
<groupId>org.n52.wps</groupId>
|
||||||
<artifactId>52n-wps-io-geotools</artifactId>
|
<artifactId>52n-wps-io-geotools</artifactId>
|
||||||
|
@ -422,10 +442,8 @@
|
||||||
<version>${n52version}</version>
|
<version>${n52version}</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
|
<groupId>org.n52.wps</groupId>
|
||||||
<artifactId>52n-wps-algorithm</artifactId>
|
<artifactId>52n-wps-algorithm</artifactId>
|
||||||
<groupId>
|
|
||||||
org.n52.wps
|
|
||||||
</groupId>
|
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -459,12 +477,12 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.dataanalysis</groupId>
|
<groupId>org.gcube.dataanalysis</groupId>
|
||||||
<artifactId>52n-wps-server-gcube</artifactId>
|
<artifactId>52n-wps-server-gcube</artifactId>
|
||||||
<version>[3.6.1-SNAPSHOT, 3.7.0-SNAPSHOT]</version>
|
<version>[3.6.2, 3.7.0-SNAPSHOT)</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.dataanalysis</groupId>
|
<groupId>org.gcube.dataanalysis</groupId>
|
||||||
<artifactId>52n-wps-algorithm-gcube</artifactId>
|
<artifactId>52n-wps-algorithm-gcube</artifactId>
|
||||||
<version>[3.6.1-SNAPSHOT, 3.7.0-SNAPSHOT]</version>
|
<version>[3.6.2, 3.7.0-SNAPSHOT)</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.n52.wps</groupId>
|
<groupId>org.n52.wps</groupId>
|
||||||
|
@ -472,8 +490,8 @@
|
||||||
<version>${n52version}</version>
|
<version>${n52version}</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>52n-wps-algorithm</artifactId>
|
|
||||||
<groupId>org.n52.wps</groupId>
|
<groupId>org.n52.wps</groupId>
|
||||||
|
<artifactId>52n-wps-algorithm</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -504,8 +522,12 @@
|
||||||
<version>${n52version}</version>
|
<version>${n52version}</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>52n-wps-algorithm</artifactId>
|
|
||||||
<groupId>org.n52.wps</groupId>
|
<groupId>org.n52.wps</groupId>
|
||||||
|
<artifactId>52n-wps-algorithm</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.n52.wps</groupId>
|
||||||
|
<artifactId>52n-wps-server</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -523,6 +545,10 @@
|
||||||
<artifactId>52n-wps-algorithm</artifactId>
|
<artifactId>52n-wps-algorithm</artifactId>
|
||||||
<groupId>org.n52.wps</groupId>
|
<groupId>org.n52.wps</groupId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.n52.wps</groupId>
|
||||||
|
<artifactId>52n-wps-server</artifactId>
|
||||||
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -531,8 +557,12 @@
|
||||||
<version>${n52version}</version>
|
<version>${n52version}</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>52n-wps-algorithm</artifactId>
|
|
||||||
<groupId>org.n52.wps</groupId>
|
<groupId>org.n52.wps</groupId>
|
||||||
|
<artifactId>52n-wps-algorithm</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.n52.wps</groupId>
|
||||||
|
<artifactId>52n-wps-server</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -692,7 +722,6 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>ch.qos.logback</groupId>
|
<groupId>ch.qos.logback</groupId>
|
||||||
<artifactId>logback-classic</artifactId>
|
<artifactId>logback-classic</artifactId>
|
||||||
<version>1.1.11</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
@ -706,7 +735,7 @@
|
||||||
<build>
|
<build>
|
||||||
<finalName>${artifactId}</finalName>
|
<finalName>${artifactId}</finalName>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
|
@ -740,6 +769,7 @@
|
||||||
<includes>
|
<includes>
|
||||||
<include>LICENSE.md</include>
|
<include>LICENSE.md</include>
|
||||||
<include>README.md</include>
|
<include>README.md</include>
|
||||||
|
<include>CHANGELOG.md</include>
|
||||||
<include>gcube-app.xml</include>
|
<include>gcube-app.xml</include>
|
||||||
<include>changelog.xml</include>
|
<include>changelog.xml</include>
|
||||||
<include>profile.xml</include>
|
<include>profile.xml</include>
|
||||||
|
|
|
@ -624,6 +624,7 @@ public class ExecuteRequest extends Request implements IObserver {
|
||||||
updateStatusSuccess();
|
updateStatusSuccess();
|
||||||
}
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
|
e.printStackTrace();
|
||||||
String errorMessage = null;
|
String errorMessage = null;
|
||||||
if (algorithm != null && algorithm.getErrors() != null && !algorithm.getErrors().isEmpty()) {
|
if (algorithm != null && algorithm.getErrors() != null && !algorithm.getErrors().isEmpty()) {
|
||||||
errorMessage = algorithm.getErrors().get(0);
|
errorMessage = algorithm.getErrors().get(0);
|
||||||
|
|
Loading…
Reference in New Issue