refactor
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100663 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7d6e3a2540
commit
80d26b71e9
|
@ -26,7 +26,7 @@ import org.slf4j.LoggerFactory;
|
|||
* @Oct 7, 2014
|
||||
*
|
||||
*/
|
||||
public class GeoProfileReader {
|
||||
public class GeoRuntimeReader {
|
||||
|
||||
public static final String GEOSERVER_RESOURCE_NAME = "GeoServer";
|
||||
public static final String GEONETWORK_RESOURCE_NAME = "GeoNetwork";
|
|
@ -20,7 +20,7 @@ import javax.servlet.http.HttpServletResponse;
|
|||
import org.apache.commons.io.IOUtils;
|
||||
import org.gcube.datatransfer.resolver.applicationprofile.ApplicationProfileReader;
|
||||
import org.gcube.datatransfer.resolver.applicationprofile.ScopeUtil;
|
||||
import org.gcube.datatransfer.resolver.gis.GeoProfileReader.GEO_SERVICE;
|
||||
import org.gcube.datatransfer.resolver.gis.GeoRuntimeReader.GEO_SERVICE;
|
||||
import org.gcube.datatransfer.resolver.gis.entity.ServerParameters;
|
||||
import org.gcube.datatransfer.resolver.gis.property.GisViewerAppGenericResourcePropertyReader;
|
||||
import org.gcube.datatransfer.resolver.gis.property.PropertyFileNotFoundException;
|
||||
|
@ -93,7 +93,7 @@ public class GisResolver extends HttpServlet{
|
|||
|
||||
if(serverParam==null){
|
||||
logger.info("Gis server param is null, reading from application profile..");
|
||||
GeoProfileReader reader = new GeoProfileReader();
|
||||
GeoRuntimeReader reader = new GeoRuntimeReader();
|
||||
try {
|
||||
serverParam = reader.retrieveGisParameters(scope, GEO_SERVICE.GEONETWORK);
|
||||
cachedServerParams.put(scope, serverParam);
|
||||
|
|
Loading…
Reference in New Issue