git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineWPSExtension@97397 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
aeaef90e6b
commit
b430c468a1
|
@ -170,7 +170,24 @@ public class WPSProcess implements Transducerer {
|
|||
wpsInputs = wpsclient.getCurrentInputs();
|
||||
wpsOutputs = wpsclient.getCurrentOutputs();
|
||||
title = wpsclient.getCurrentProcessTitle();
|
||||
processAbstract = wpsclient.getCurrentProcessAbstract();
|
||||
String wpsServiceIndication = wpsurl.substring("http://".length());
|
||||
int idxcolumn = wpsServiceIndication.indexOf(":");
|
||||
int idxslash = wpsServiceIndication.indexOf("/");
|
||||
int idx = -1;
|
||||
if (idxcolumn>0 && idxslash>0)
|
||||
idx = Math.min(idxslash, idxcolumn);
|
||||
else if (idxcolumn>0)
|
||||
idx = idxcolumn;
|
||||
else if (idxslash>0)
|
||||
idx = idxslash;
|
||||
else
|
||||
idx = Math.min(5, wpsServiceIndication.length());
|
||||
|
||||
if (idx>0)
|
||||
wpsServiceIndication = wpsServiceIndication.substring(0,idx);
|
||||
|
||||
processAbstract = wpsServiceIndication+": "+wpsclient.getCurrentProcessAbstract();
|
||||
AnalysisLogger.getLogger().debug("Process Abstract: "+processAbstract);
|
||||
processDescription = wpsclient.getProcessDescription();
|
||||
|
||||
if ( DynamicWPSTransducerer.isTooMuchTime()){
|
||||
|
|
|
@ -14,7 +14,7 @@ public class TestWPSProcess {
|
|||
|
||||
static String[] algorithms = { "com.terradue.wps_hadoop.processes.examples.async.Async", "com.terradue.wps_hadoop.processes.ird.kernel_density.KernelDensity", "com.terradue.wps_hadoop.processes.terradue.envi_enrich.EnviEnrich", "com.terradue.wps_hadoop.processes.fao.intersection.Intersection", "com.terradue.wps_hadoop.processes.fao.spread.Spread" };
|
||||
|
||||
static String wps = "http://wps01.i-marine.d4science.org/wps/WebProcessingService";
|
||||
static String wps = "http://wps01.i-marine.d4science.org:80/wps/WebProcessingService";
|
||||
|
||||
static AlgorithmConfiguration[] configs = { testAsynch(), testKernelDensity(), testEnvironmentalEnrichment(), testIntersection(), testSpread() };
|
||||
|
||||
|
|
Loading…
Reference in New Issue