added log
This commit is contained in:
parent
9e49f6f281
commit
1f5db2eb16
|
@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
||||||
## [v3.7.0-SNAPSHOT]
|
## [v3.7.0-SNAPSHOT]
|
||||||
|
|
||||||
- Provided the "Export as PDF" facility [#26026]
|
- Provided the "Export as PDF" facility [#26026]
|
||||||
|
- Integrated the GeoportalExporter as service [#27321]
|
||||||
|
|
||||||
## [v3.6.0]
|
## [v3.6.0]
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ import org.apache.commons.io.IOUtils;
|
||||||
import org.apache.http.client.methods.HttpGet;
|
import org.apache.http.client.methods.HttpGet;
|
||||||
import org.gcube.portlets.user.geoportaldataviewer.client.GeoportalDataViewerConstants;
|
import org.gcube.portlets.user.geoportaldataviewer.client.GeoportalDataViewerConstants;
|
||||||
import org.gcube.portlets.user.geoportaldataviewer.server.mongoservice.GeoportalServiceIdentityProxy;
|
import org.gcube.portlets.user.geoportaldataviewer.server.mongoservice.GeoportalServiceIdentityProxy;
|
||||||
|
import org.gcube.portlets.user.geoportaldataviewer.server.util.SessionUtil;
|
||||||
import org.gcube.portlets.user.uriresolvermanager.geoportal.GeoportalExporterAPI;
|
import org.gcube.portlets.user.uriresolvermanager.geoportal.GeoportalExporterAPI;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
@ -62,7 +63,8 @@ public class GeoportalExporterActionServlet extends HttpServlet {
|
||||||
logger.info("doGet called with Input Params [projectID: " + projectID + ", ucdID: " + ucdID + "]");
|
logger.info("doGet called with Input Params [projectID: " + projectID + ", ucdID: " + ucdID + "]");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
String scope = SessionUtil.getCurrentContext(req, true);
|
||||||
|
logger.info("the scope is: "+scope);
|
||||||
GeoportalServiceIdentityProxy identity = new GeoportalServiceIdentityProxy(req);
|
GeoportalServiceIdentityProxy identity = new GeoportalServiceIdentityProxy(req);
|
||||||
String theToken = identity.getToken();
|
String theToken = identity.getToken();
|
||||||
String theIdentity = identity.getIdentity();
|
String theIdentity = identity.getIdentity();
|
||||||
|
|
Loading…
Reference in New Issue