git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineWPSExtension@91792 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2a1c5c1005
commit
bf4216a2c4
|
@ -45,9 +45,14 @@ public class DynamicWPSTransducerer implements DynamicTransducer{
|
||||||
//gets the list of endpoints from the IS
|
//gets the list of endpoints from the IS
|
||||||
public static List<String> getWPSendpoints(AlgorithmConfiguration config) {
|
public static List<String> getWPSendpoints(AlgorithmConfiguration config) {
|
||||||
List<String> wps = new ArrayList<String>();
|
List<String> wps = new ArrayList<String>();
|
||||||
|
AnalysisLogger.setLogger(config.getConfigPath()+AlgorithmConfiguration.defaultLoggerFile);
|
||||||
// wps.add("http://wps01.i-marine.d4science.org/wps/WebProcessingService");
|
// wps.add("http://wps01.i-marine.d4science.org/wps/WebProcessingService");
|
||||||
AnalysisLogger.getLogger().debug("WPS: searching for wps servers in the scope: "+config.getGcubeScope());
|
AnalysisLogger.getLogger().debug("WPS: searching for wps servers in the scope: "+config.getGcubeScope());
|
||||||
wps = org.gcube.dataanalysis.executor.util.IfraRetrieval.retrieveAddresses("WPS", config.getGcubeScope(),"StatisticalManager");
|
wps = org.gcube.dataanalysis.executor.util.IfraRetrieval.retrieveAddresses("WPS", config.getGcubeScope(),"StatisticalManager");
|
||||||
|
if (wps!=null && wps.size()>0)
|
||||||
|
AnalysisLogger.getLogger().debug("WPS: found "+wps.size()+" wps instances");
|
||||||
|
else
|
||||||
|
AnalysisLogger.getLogger().debug("WPS: found NO wps instances");
|
||||||
return wps;
|
return wps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue