Skip to content
Snippets Groups Projects
Commit 201f6f59 authored by pkupczyk's avatar pkupczyk
Browse files

SSDM-818 : CKAN - webapp for publishing an experiment

SVN: 32407
parent b88b3f97
No related merge requests found
......@@ -81,6 +81,8 @@ public class PluginScriptRunnerFactory implements IPluginScriptRunnerFactory
private static final String USER_ID = "userId";
private static final String USER_SESSION_TOKEN = "userSessionToken";
private final String scriptPath;
public PluginScriptRunnerFactory(String scriptPath)
......@@ -195,6 +197,7 @@ public class PluginScriptRunnerFactory implements IPluginScriptRunnerFactory
evaluator.set(DATA_SOURCE_QUERY_SERVICE_VARIABLE_NAME, createDataSourceQueryService());
evaluator.set(AUTHORIZATION_SERVICE, createAuthorizationService());
evaluator.set(USER_ID, context.getUserId());
evaluator.set(USER_SESSION_TOKEN, context.trySessionToken());
final ISessionWorkspaceProvider workspaceProvider =
context.tryGetSessionWorkspaceProvider();
if (workspaceProvider != null)
......
......@@ -356,6 +356,7 @@ public abstract class IngestionService<T extends DataSetInformation> extends Agg
protected ThreadParameters createThreadParameters()
{
Properties threadParameterProperties = new Properties();
threadParameterProperties.putAll(properties);
threadParameterProperties.put(ch.systemsx.cisd.etlserver.ThreadParameters.INCOMING_DIR,
getMockIncomingDir().getAbsolutePath());
return new ThreadParameters(threadParameterProperties, this.getClass().getSimpleName());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment