update code

update pom

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100661 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2014-10-14 09:20:47 +00:00
parent c9cda7c2df
commit 7d6e3a2540
2 changed files with 8 additions and 9 deletions

View File

@ -117,6 +117,13 @@
<include>**/*.*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<plugins>

View File

@ -192,11 +192,6 @@ public class GisResolver extends HttpServlet{
String gisPortletUrl = getGisViewerApplicationURL(scope);
logger.info("Gis Viewer Application url is: " + gisPortletUrl);
// logger.info("WmsRequest is: " + wmsRequest);
// wmsRequest = encodeURLWithParamDelimiter(wmsRequest);
// logger.info("Encoded url is: " + wmsRequest);
// wmsRequest = appendParamReplacement(wmsRequest);
gisPortletUrl+="?wmsrequest="+wmsRequest;
resp.setContentType(TEXT_PLAIN);
@ -204,6 +199,7 @@ public class GisResolver extends HttpServlet{
PrintWriter out = resp.getWriter();
out.println(gisPortletUrl);
logger.info("returning link: " + gisPortletUrl);
out.close();
// urlRedirect(req, resp, gisPortletUrl);
} catch (Exception e) {
@ -344,8 +340,4 @@ public class GisResolver extends HttpServlet{
}
}
}