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
master
Giancarlo Panichi 6 years ago
parent 6c8130fb64
commit 1f6de059c7

@ -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";

@ -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%>

Loading…
Cancel
Save