From 1f6de059c71d291850e716be3415bcdec35ddc54 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 11 May 2018 17:08:25 +0000 Subject: [PATCH] ref 11719: Add management of VREs to the NLPHub interface https://support.d4science.org/issues/11719 Fixed some issue on webapp: Errors of shared variables on servlets Added slf4j over the whole application and logs in nlphub.log Problem of checking nulls on arrays in Javascript Added the ability to retrieve the context and token from the RequestUri git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/nlphub@167439 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../java/org/gcube/data/analysis/nlphub/legacy/Constants.java | 2 +- src/main/webapp/index.jsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/data/analysis/nlphub/legacy/Constants.java b/src/main/java/org/gcube/data/analysis/nlphub/legacy/Constants.java index 1baddda..8b1bde9 100644 --- a/src/main/java/org/gcube/data/analysis/nlphub/legacy/Constants.java +++ b/src/main/java/org/gcube/data/analysis/nlphub/legacy/Constants.java @@ -6,7 +6,7 @@ public class Constants { public static final String DEFAULT_USER = "giancarlo.panichi"; public static final String DEFAULT_SCOPE = "/gcube/devNext/NextNext"; - public static final String DEFAULT_TOKEN = "df2cc5f5-63ee-48c1-b2a6-1210030c57b8-843339462"; + public static final String DEFAULT_TOKEN = ""; public static final String DEFAULT_DATAMINER_URL = "http://dataminer-prototypes.d4science.org"; diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 2db6835..fdcacd4 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -27,7 +27,7 @@ String requestToken=request.getParameter(Constants.TOKEN_PARAMETER); if( requestToken == null||requestToken.isEmpty()) { %> - var gCubeToken = "fea75a5a-d84c-495f-b0ca-09cdd95bacce-843339462"; + var gCubeToken = ""; <% } else { %> var gCubeToken = <%=requestToken%>