Added uuid as parameter into gis-viewer-app URI

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@122644 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-01-29 11:55:41 +00:00
parent 49cae260dd
commit 914eb4e964
1 changed files with 3 additions and 1 deletions

View File

@ -212,7 +212,9 @@ public class GisResolver extends HttpServlet{
String gisPortletUrl = getGisViewerApplicationURL(scope);
logger.info("Gis Viewer Application url is: " + gisPortletUrl);
gisPortletUrl+="?rid="+new Random().nextLong()+"&wmsrequest="+wmsRequest;
gisPortletUrl+="?rid="+new Random().nextLong()
+"&wmsrequest="+wmsRequest
+"&uuid="+URLEncoder.encode(gisUUID, "UTF-8");
/*resp.setContentType(TEXT_PLAIN);
resp.setCharacterEncoding(UTF_8);