Updated to Git and Jenkins [#18120]

feature/23107
Giancarlo Panichi 4 years ago
parent 00102c406e
commit 383fad884c

1
.gitignore vendored

@ -0,0 +1 @@
/target/

@ -4,15 +4,6 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module archiveName="dataminer-1.5.6-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/DataMiner_TRUNK/DataMiner_TRUNK">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="storagehub-client-library-1.0.3-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/storagehub-client_TRUNK/storagehub-client_TRUNK">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="storagehub-model-1.0.3-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/storagehub-model_TRUNK/storagehub-model_TRUNK">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="context-root" value="wps"/>
<property name="java-output-path" value="/wps/target/classes"/>
</wb-module>

@ -1,13 +1,9 @@
gCube System - License
------------------------------------------------------------
#European Union Public Licence V.1.1
European Union Public Licence V. 1.1
##*EUPL © the European Community 2007*
EUPL © the European Community 2007
This European Union Public Licence (the “EUPL”) applies to the Work or Software
This **European Union Public Licence** (the **“EUPL”**) applies to the Work or Software
(as defined below) which is provided under the terms of this Licence. Any use of
the Work, other than as authorised under this Licence is prohibited (to the
extent such use is covered by a right of the copyright holder of the Work).
@ -16,13 +12,13 @@ The Original Work is provided under the terms of this Licence when the Licensor
(as defined below) has placed the following notice immediately following the
copyright notice for the Original Work:
Licensed under the EUPL V.1.1
**Licensed under the EUPL V.1.1**
or has expressed by any other mean his willingness to license under the EUPL.
1. Definitions
##1. Definitions
In this Licence, the following terms have the following meaning:
@ -63,7 +59,7 @@ In this Licence, the following terms have the following meaning:
2. Scope of the rights granted by the Licence
##2. Scope of the rights granted by the Licence
The Licensor hereby grants You a world-wide, royalty-free, non-exclusive,
sub-licensable licence to do the following, for the duration of copyright vested
@ -89,7 +85,7 @@ rights granted on the Work under this Licence.
3. Communication of the Source Code
##3. Communication of the Source Code
The Licensor may provide the Work either in its Source Code form, or as
Executable Code. If the Work is provided as Executable Code, the Licensor
@ -101,7 +97,7 @@ continues to distribute and/or communicate the Work.
4. Limitations on copyright
##4. Limitations on copyright
Nothing in this Licence is intended to deprive the Licensee of the benefits from
any exception or limitation to the exclusive rights of the rights owners in the
@ -110,7 +106,7 @@ applicable limitations thereto.
5. Obligations of the Licensee
##5. Obligations of the Licensee
The grant of the rights mentioned above is subject to some restrictions and
obligations imposed on the Licensee. Those obligations are the following:
@ -151,7 +147,7 @@ reproducing the content of the copyright notice.
6. Chain of Authorship
##6. Chain of Authorship
The original Licensor warrants that the copyright in the Original Work granted
hereunder is owned by him/her or licensed to him/her and that he/she has the
@ -167,7 +163,7 @@ terms of this Licence.
7. Disclaimer of Warranty
##7. Disclaimer of Warranty
The Work is a work in progress, which is continuously improved by numerous
contributors. It is not a finished work and may therefore contain defects or
@ -184,7 +180,7 @@ for the grant of any rights to the Work.
8. Disclaimer of Liability
##8. Disclaimer of Liability
Except in the cases of wilful misconduct or damages directly caused to natural
persons, the Licensor will in no event be liable for any direct or indirect,
@ -197,7 +193,7 @@ laws as far such laws apply to the Work.
9. Additional agreements
##9. Additional agreements
While distributing the Original Work or Derivative Works, You may choose to
conclude an additional agreement to offer, and charge a fee for, acceptance of
@ -211,7 +207,7 @@ any such warranty or additional liability.
10. Acceptance of the Licence
##10. Acceptance of the Licence
The provisions of this Licence can be accepted by clicking on an icon “I agree”
placed under the bottom of a window displaying the text of this Licence or by
@ -226,7 +222,7 @@ Distribution and/or Communication by You of the Work or copies thereof.
11. Information to the public
##11. Information to the public
In case of any Distribution and/or Communication of the Work by means of
electronic communication by You (for example, by offering to download the Work
@ -237,7 +233,7 @@ accessible, concluded, stored and reproduced by the Licensee.
12. Termination of the Licence
##12. Termination of the Licence
The Licence and the rights granted hereunder will terminate automatically upon
any breach by the Licensee of the terms of the Licence.
@ -248,7 +244,7 @@ remain in full compliance with the Licence.
13. Miscellaneous
##13. Miscellaneous
Without prejudice of Article 9 above, the Licence represents the complete
agreement between the Parties as to the Work licensed hereunder.
@ -269,7 +265,7 @@ their choice.
14. Jurisdiction
##14. Jurisdiction
Any litigation resulting from the interpretation of this License, arising
between the European Commission, as a Licensor, and any Licensee, will be
@ -283,7 +279,7 @@ conducts its primary business.
15. Applicable Law
##15. Applicable Law
This Licence shall be governed by the law of the European Union country where
the Licensor resides or has his registered office.
@ -295,14 +291,13 @@ This licence shall be governed by the Belgian law if:
- or registered office inside a European Union country.
===
---
Appendix
##Appendix
“Compatible Licences” according to article 5 EUPL are:
**“Compatible Licences”** according to article 5 EUPL are:
- GNU General Public License (GNU GPL) v. 2

@ -0,0 +1,46 @@
# WPS
This is the implementation of the DataMiner service that integrates the WPS 52North in the D4Science Infrastructure.
## Structure of the project
* The source code is present in the src folder.
## Built With
* [OpenJDK](https://openjdk.java.net/) - The JDK used
* [Maven](https://maven.apache.org/) - Dependency Management
## Documentation
* Use of this service is is described on [Wiki](https://wiki.gcube-system.org/gcube/DataMiner_Installation).
## Change log
See [Releases](https://code-repo.d4science.org/gCubeSystem/wps/releases).
## Authors
* **Gianpaolo Coro** ([ORCID]()) - [ISTI-CNR Infrascience Group](http://nemis.isti.cnr.it/groups/infrascience)
* **Lucio Lelii** ([ORCID]()) - [ISTI-CNR Infrascience Group](http://nemis.isti.cnr.it/groups/infrascience)
## License
This project is licensed under the EUPL V.1.1 License - see the [LICENSE.md](LICENSE.md) file for details.
## About the gCube Framework
This software is part of the [gCubeFramework](https://www.gcube-system.org/ "gCubeFramework"): an
open-source software toolkit used for building and operating Hybrid Data
Infrastructures enabling the dynamic deployment of Virtual Research Environments
by favouring the realisation of reuse oriented policies.
The projects leading to this software have received funding from a series of European Union programmes including:
- the Sixth Framework Programme for Research and Technological Development
- DILIGENT (grant no. 004260);
- the Seventh Framework Programme for research, technological development and demonstration
- D4Science (grant no. 212488), D4Science-II (grant no.239019), ENVRI (grant no. 283465), EUBrazilOpenBio (grant no. 288754), iMarine(grant no. 283644);
- the H2020 research and innovation programme
- BlueBRIDGE (grant no. 675680), EGIEngage (grant no. 654142), ENVRIplus (grant no. 654182), Parthenos (grant no. 654119), SoBigData (grant no. 654024),DESIRA (grant no. 818194), ARIADNEplus (grant no. 823914), RISIS2 (grant no. 824091), PerformFish (grant no. 727610), AGINFRAplus (grant no. 731001);

@ -1,4 +1,8 @@
<ReleaseNotes>
<Changeset component="org.gcube.data-analysis.wps.1-1-5"
date="2019-11-21">
<Change>Updated to Git and Jenkins [ticket #18120]</Change>
</Changeset>
<Changeset component="org.gcube.data-analysis.wps.1-1-3"
date="2018-12-13">
<Change>Added https support [ticket #13024]</Change>

@ -9,12 +9,12 @@
<baseDirectory>/</baseDirectory>
<fileSets>
<fileSet>
<directory>${distroDirectory}</directory>
<outputDirectory>/</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
<includes>
<include>README</include>
<include>LICENSE</include>
<include>README.md</include>
<include>LICENSE.md</include>
<include>gcube-app.xml</include>
<include>changelog.xml</include>
<include>profile.xml</include>
</includes>

@ -1,4 +0,0 @@
gCube System - License
------------------------------------------------------------
${gcube.license}

@ -1,66 +0,0 @@
The gCube System - ${name}
--------------------------------------------------
${description}
${gcube.description}
${gcube.funding}
Version
--------------------------------------------------
${version} (${buildDate})
Please see the file named "changelog.xml" in this directory for the release notes.
Authors
--------------------------------------------------
* Lucio Lelii (lucio.lelii@isti.cnr.it), CNR, Italy
Maintainers
-----------
* Lucio Lelii (lucio.lelii@isti.cnr.it), CNR, Italy
Download information
--------------------------------------------------
Source code is available from SVN:
${scm.url}
Binaries can be downloaded from the gCube website:
${gcube.website}
Installation
--------------------------------------------------
Installation documentation is available on-line in the gCube Wiki:
${gcube.wikiRoot}/RConnector
Documentation
--------------------------------------------------
Documentation is available on-line in the gCube Wiki:
${gcube.wikiRoot}/RConnector
Support
--------------------------------------------------
Bugs and support requests can be reported in the gCube issue tracking tool:
${gcube.issueTracking}
Licensing
--------------------------------------------------
This software is licensed under the terms you may find in the file named "LICENSE" in this directory.

@ -1,16 +0,0 @@
<ReleaseNotes>
<Changeset component="org.gcube.data-analysis.wps.1-1-3"
date="2018-12-13">
<Change>Added https support [ticket #13024]</Change>
</Changeset>
<Changeset component="org.gcube.data-analysis.wps.1-1-0"
date="2017-09-24">
<Change>Dynamic adding, removing and updating of algorithms added
</Change>
<Change>Moved to SocialNetworkingService 2.0</Change>
</Changeset>
<Changeset component="org.gcube.data-analysis.wps.1-0-0"
date="2017-09-01">
<Change>First Release</Change>
</Changeset>
</ReleaseNotes>

@ -1,6 +0,0 @@
<application mode="online">
<name>DataMiner</name>
<group>WPS</group>
<version>${version}</version>
<description>A service implementing a WPS provider in the D4Science e-Infrastructure</description>
</application>

@ -1,161 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_3_0.xsd"
version="3.0">
<display-name>52°North Web Processing Service, Git:
1665e1b7b2188755161d4f0f3a6acf562d0444e1 @ 2015-03-21 00:30:20
</display-name>
<description>A web processing framework supporting the OGC WPS 1.0.0 specification</description>
<context-param>
<param-name>algorithmDirectory</param-name>
<param-value>/home/gcube/wps_algorithms/algorithms/dev/software</param-value>
</context-param>
<context-param>
<param-name>maxComputation</param-name>
<param-value>4</param-value>
</context-param>
<context-param>
<param-name>saveOnStorage</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>simulationMode</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>excludeWritesOnSH</param-name>
<!--
empty: all users will write on SHub
*: no one will write on Shub
users list seprated by comma: users reported will not write on Shub
-->
<param-value>statistical.manager</param-value>
</context-param>
<!-- security-constraint> <web-resource-collection> <web-resource-name>My
JSP</web-resource-name> <url-pattern>/webAdmin/index.jsp</url-pattern> <http-method>GET</http-method>
<http-method>POST</http-method> </web-resource-collection> <auth-constraint>
<role-name>wpsAdmin</role-name> </auth-constraint> <user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint -->
<!-- /security-constraint> <login-config> <auth-method>BASIC</auth-method>
<realm-name>Basic Authentication</realm-name> </login-config> <Security roles
referenced by this web application -->
<!-- >security-role> <description>The role that is required to log in to
the Manager Application</description> <role-name>manager</role-name> </security-role -->
<!--filter> <filter-name>CommunicationSizeLogFilter</filter-name> <filter-class>org.n52.wps.server.CommunicationSizeLogFilter</filter-class>
</filter -->
<!--filter> <filter-name>CompressingFilter</filter-name> <filter-class>com.planetj.servlet.filter.compression.CompressingFilter</filter-class>
<init-param> <param-name>debug</param-name> <param-value>false</param-value>
</init-param> <init-param> <param-name>statsEnabled</param-name> <param-value>true</param-value>
</init-param> </filter> <filter-mapping> <filter-name>CompressingFilter</filter-name>
<url-pattern>/WebProcessingService</url-pattern> </filter-mapping -->
<!-->filter-mapping> <filter-name>CommunicationSizeLogFilter</filter-name>
<url-pattern>/WebProcessingService</url-pattern> </filter-mapping -->
<!-- <filter> <filter-name>ResponseURLFilter</filter-name> <filter-class>org.n52.wps.server.ResponseURLFilter</filter-class>
</filter> <filter-mapping> <filter-name>ResponseURLFilter</filter-name> <url-pattern>*</url-pattern>
</filter-mapping> -->
<servlet>
<servlet-name>wpsServlet</servlet-name>
<servlet-class>org.gcube.data.analysis.wps.WebProcessingService</servlet-class>
<!--<servlet-class>org.n52.wps.server.WebProcessingService</servlet-class> -->
<load-on-startup>0</load-on-startup>
<init-param>
<param-name>wps.config.file</param-name>
<param-value>config/wps_config.xml</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>cancelComputationServlet</servlet-name>
<servlet-class>org.gcube.data.analysis.wps.CancelComputation</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>retrieveResultServlet</servlet-name>
<servlet-class>org.n52.wps.server.RetrieveResultServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>wpsServlet</servlet-name>
<url-pattern>/WebProcessingService</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>retrieveResultServlet</servlet-name>
<url-pattern>/RetrieveResultServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>cancelComputationServlet</servlet-name>
<url-pattern>/CancelComputationServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>/index.html</welcome-file>
</welcome-file-list>
<!-- 52n Security -->
<context-param>
<param-name>security.config.validation</param-name>
<param-value>false</param-value>
<!--description> disables validation of the security-config.xml this is
necessary because the MavenProject: org.n52.wps:52n-wps-webapp:3.3.0-SNAPSHOT
@ D:\dev\GitHub4w\WPS\52n-wps-webapp\pom.xml mechanism works only if the
validation is disabled. </description -->
</context-param>
<filter>
<filter-name>ClassLoaderFilter</filter-name>
<filter-class>org.gcube.data.analysis.wps.filter.ClassLoaderFilter</filter-class>
</filter>
<filter>
<filter-name>CORS</filter-name>
<filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
<init-param>
<param-name>cors.allowOrigin</param-name>
<param-value>*</param-value>
</init-param>
<init-param>
<param-name>cors.allowGenericHttpRequests</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>cors.supportedMethods</param-name>
<param-value>GET, POST, HEAD, PUT, DELETE, OPTIONS</param-value>
</init-param>
<init-param>
<param-name>cors.supportedHeaders</param-name>
<param-value>*</param-value>
</init-param>
<init-param>
<param-name>cors.exposedHeaders</param-name>
<param-value>*</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CORS</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>ClassLoaderFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- <filter> <filter-name>authn</filter-name> -->
<!-- display-name>Authentication Chain Filter</display-name -->
<!-- description> Delegates calls to AuthenticationChainFilter that is defined
in the security-config. </description -->
<!-- <filter-class>org.n52.security.service.config.support.SecurityConfigDelegatingServletFilter</filter-class>
</filter> <filter-mapping> <filter-name>authn</filter-name> <url-pattern>/webAdmin/*</url-pattern>
</filter-mapping> <listener> <listener-class>org.n52.security.service.config.support.SecurityConfigContextListener</listener-class>
</listener> -->
</web-app>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<application mode="online">
<name>${serviceName}</name>
<group>${serviceClass}</group>
<version>${version}</version>
<description>${description}</description>
</application>

@ -3,19 +3,23 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.data-analysis</groupId>
<artifactId>wps</artifactId>
<version>1.1.4-SNAPSHOT</version>
<version>1.1.5-SNAPSHOT</version>
<name>WPS</name>
<description>A service implementing a WPS provider in the D4Science e-Infrastructure</description>
<parent>
<artifactId>maven-parent</artifactId>
<groupId>org.gcube.tools</groupId>
<version>1.0.0</version>
<version>1.1.0</version>
<relativePath />
</parent>
<packaging>war</packaging>
<properties>
<serviceName>DataMiner</serviceName>
<serviceClass>WPS</serviceClass>
<webappDirectory>${project.basedir}/src/main/webapp/WEB-INF</webappDirectory>
<distroDirectory>${project.basedir}/distro</distroDirectory>
<securityversion52n>2.2-M2</securityversion52n>
@ -23,6 +27,7 @@
<apache.ode.version>1.3.3</apache.ode.version>
<apache.axis2.version>1.5.1</apache.axis2.version>
<n52version>3.6.1</n52version>
</properties>
<repositories>
@ -734,8 +739,18 @@
<outputDirectory>${webappDirectory}</outputDirectory>
<resources>
<resource>
<directory>${distroDirectory}</directory>
<directory>${project.basedir}</directory>
<filtering>true</filtering>
<excludes>
<exclude>src</exclude>
</excludes>
<includes>
<include>LICENSE.md</include>
<include>README.md</include>
<include>gcube-app.xml</include>
<include>changelog.xml</include>
<include>profile.xml</include>
</includes>
</resource>
</resources>
</configuration>

@ -1,79 +0,0 @@
The gCube System - WPS
--------------------------------------------------
${description}
This software is part of the gCube Framework (https://www.gcube-system.org/): an
open-source software toolkit used for building and operating Hybrid Data
Infrastructures enabling the dynamic deployment of Virtual Research Environments
by favouring the realisation of reuse oriented policies.
The projects leading to this software have received funding from a series of
European Union programmes including:
* the Sixth Framework Programme for Research and Technological Development -
DILIGENT (grant no. 004260);
* the Seventh Framework Programme for research, technological development and
demonstration - D4Science (grant no. 212488), D4Science-II (grant no.
239019),ENVRI (grant no. 283465), EUBrazilOpenBio (grant no. 288754), iMarine
(grant no. 283644);
* the H2020 research and innovation programme - BlueBRIDGE (grant no. 675680),
EGIEngage (grant no. 654142), ENVRIplus (grant no. 654182), Parthenos (grant
no. 654119), SoBigData (grant no. 654024), AGINFRA PLUS (grant no. 731001).
Version
--------------------------------------------------
1.1.3-SNAPSHOT (2019-03-27)
Please see the file named "changelog.xml" in this directory for the release notes.
Authors
--------------------------------------------------
* Lucio Lelii (lucio.lelii@isti.cnr.it), CNR, Italy
Maintainers
-----------
* Lucio Lelii (lucio.lelii@isti.cnr.it), CNR, Italy
Download information
--------------------------------------------------
Source code is available from SVN:
${scm.url}
Binaries can be downloaded from the gCube website:
https://www.gcube-system.org/
Installation
--------------------------------------------------
Installation documentation is available on-line in the gCube Wiki:
https://wiki.gcube-system.org/gcube/index.php/RConnector
Documentation
--------------------------------------------------
Documentation is available on-line in the gCube Wiki:
https://wiki.gcube-system.org/gcube/index.php/RConnector
Support
--------------------------------------------------
Bugs and support requests can be reported in the gCube issue tracking tool:
https://support.d4science.org/projects/gcube/
Licensing
--------------------------------------------------
This software is licensed under the terms you may find in the file named "LICENSE" in this directory.

@ -1,32 +0,0 @@
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>servicearchive</id>
<formats>
<format>tar.gz</format>
</formats>
<baseDirectory>/</baseDirectory>
<fileSets>
<fileSet>
<directory>/home/lucio/eclipse-workspace/wps_TRUNK/distro</directory>
<outputDirectory>/</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
<includes>
<include>README</include>
<include>LICENSE</include>
<include>changelog.xml</include>
<include>profile.xml</include>
</includes>
<fileMode>755</fileMode>
<filtered>true</filtered>
</fileSet>
</fileSets>
<files>
<file>
<source>target/wps.war</source>
<outputDirectory>/wps</outputDirectory>
</file>
</files>
</assembly>

@ -1,6 +0,0 @@
<application mode="online">
<name>DataMiner</name>
<group>WPS</group>
<version>1.0</version>
<description>A service implementing a WPS provider in the D4Science e-Infrastructure</description>
</application>

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ID />
<Type>Service</Type>
<Profile>
<Description>${description}</Description>
<Class>DataAnalysis</Class>
<Name>wps</Name>
<Version>1.0.0</Version>
<Packages>
<Software>
<Name>wps</Name>
<Version>1.1.3-SNAPSHOT</Version>
<MavenCoordinates>
<groupId>org.gcube.data-analysis</groupId>
<artifactId>wps</artifactId>
<version>1.1.3-SNAPSHOT</version>
</MavenCoordinates>
<Files>
<File>wps.jar</File>
</Files>
</Software>
</Packages>
</Profile>
</Resource>

@ -9,7 +9,7 @@
<context-param>
<param-name>algorithmDirectory</param-name>
<param-value>/home/gcube/wps_algorithms/algorithms</param-value>
<param-value>/home/gcube/wps_algorithms/algorithms/dev/software</param-value>
</context-param>
<context-param>

Loading…
Cancel
Save