git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/DataMiner@154684 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c68ba87d7c
commit
9c11149a19
9
pom.xml
9
pom.xml
|
@ -68,10 +68,11 @@
|
|||
<artifactId>52n-wps-server-gcube</artifactId>
|
||||
<version>[3.6.1-SNAPSHOT, 3.7.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
<!-- <dependency> <groupId>org.gcube.dataanalysis</groupId> <artifactId>ecological-engine</artifactId>
|
||||
<version>[1.8.5-SNAPSHOT,2.0.0-SNAPSHOT)</version> <exclusions> <exclusion>
|
||||
<artifactId>slf4j-log4j12</artifactId> <groupId>org.slf4j</groupId> </exclusion>
|
||||
</exclusions> </dependency> -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.dataanalysis</groupId>
|
||||
<artifactId>ecological-engine</artifactId>
|
||||
<version>[1.8.5-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.gcube.dataanalysis</groupId>
|
||||
<artifactId>ecological-engine-wps-extension</artifactId>
|
||||
|
|
|
@ -6,6 +6,7 @@ import java.io.InputStreamReader;
|
|||
import java.net.URI;
|
||||
import java.net.URL;
|
||||
import java.util.Iterator;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.apache.commons.httpclient.HttpClient;
|
||||
import org.apache.commons.httpclient.methods.GetMethod;
|
||||
|
@ -14,15 +15,21 @@ import org.junit.Test;
|
|||
|
||||
public class AlgorithmTest {
|
||||
|
||||
String protocol=null;
|
||||
String hostname = null;
|
||||
String token= null;
|
||||
String layerID = null;
|
||||
|
||||
|
||||
|
||||
@Test
|
||||
public void executeAlgorithmsFromFile() throws Exception{
|
||||
|
||||
|
||||
String env = "pre";
|
||||
|
||||
Properties prop = new Properties();
|
||||
prop.load(AlgorithmTest.class.getResourceAsStream("/test_params.properties"));
|
||||
|
||||
|
||||
String protocol = "http";
|
||||
String hostname = prop.getProperty(env+".host");
|
||||
String token = prop.getProperty(env+".token");
|
||||
String layerID = prop.getProperty(env+".layer");
|
||||
|
||||
Iterator<String> uris = getUrisIterator();
|
||||
|
||||
|
|
Loading…
Reference in New Issue