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:
parent
c9cda7c2df
commit
7d6e3a2540
7
pom.xml
7
pom.xml
|
@ -117,6 +117,13 @@
|
|||
<include>**/*.*</include>
|
||||
</includes>
|
||||
</resource>
|
||||
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>**/*.*</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
<plugins>
|
||||
|
|
|
@ -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{
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue