Skip to content
Snippets Groups Projects
Commit e9f18997 authored by felmer's avatar felmer
Browse files

LMS-1506 Modified IDataStoreService: Provide parameters binding with default...

LMS-1506 Modified IDataStoreService: Provide parameters binding with default parameter 'user' for processing tasks

SVN: 15765
parent 0eaee5b1
No related merge requests found
...@@ -145,7 +145,7 @@ class FlowLaneFeeder extends AbstractPostRegistrationDataSetHandlerForFileBasedU ...@@ -145,7 +145,7 @@ class FlowLaneFeeder extends AbstractPostRegistrationDataSetHandlerForFileBasedU
} }
} }
public Status handle(File originalData, DataSetInformation dataSetInformation) public Status handle(File originalData, DataSetInformation dataSetInformation, Map<String, String> parameterBindings)
{ {
Map<String, Sample> flowLaneSampleMap = createFlowLaneSampleMap(dataSetInformation); Map<String, Sample> flowLaneSampleMap = createFlowLaneSampleMap(dataSetInformation);
String flowcellID = originalData.getName(); String flowcellID = originalData.getName();
......
...@@ -155,7 +155,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase ...@@ -155,7 +155,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
try try
{ {
flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO); flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO, null);
fail("UserFailureException expected"); fail("UserFailureException expected");
} catch (UserFailureException ex) } catch (UserFailureException ex)
{ {
...@@ -177,7 +177,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase ...@@ -177,7 +177,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
try try
{ {
flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO); flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO, null);
fail("ConfigurationFailureException expected"); fail("ConfigurationFailureException expected");
} catch (ConfigurationFailureException ex) } catch (ConfigurationFailureException ex)
{ {
...@@ -195,7 +195,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase ...@@ -195,7 +195,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
try try
{ {
flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO); flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO, null);
fail("UserFailureException expected"); fail("UserFailureException expected");
} catch (UserFailureException ex) } catch (UserFailureException ex)
{ {
...@@ -226,7 +226,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase ...@@ -226,7 +226,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
try try
{ {
flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO); flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO, null);
fail("EnvironmentFailureException expected"); fail("EnvironmentFailureException expected");
} catch (EnvironmentFailureException ex) } catch (EnvironmentFailureException ex)
{ {
...@@ -258,7 +258,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase ...@@ -258,7 +258,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
try try
{ {
flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO); flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO, null);
fail("UserFailureException expected"); fail("UserFailureException expected");
} catch (UserFailureException ex) } catch (UserFailureException ex)
{ {
...@@ -289,7 +289,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase ...@@ -289,7 +289,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
prepareListFlowLanes(EXAMPLE_FLOW_CELL_SAMPLE, Arrays.asList(fl1, fl2)); prepareListFlowLanes(EXAMPLE_FLOW_CELL_SAMPLE, Arrays.asList(fl1, fl2));
prepareGetProperties(Arrays.asList(fl1, fl2)); prepareGetProperties(Arrays.asList(fl1, fl2));
flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO); flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO, null);
checkFlowLaneDataSet(originalFlowLane1, "1"); checkFlowLaneDataSet(originalFlowLane1, "1");
checkFlowLaneDataSet(originalFlowLane2, "2"); checkFlowLaneDataSet(originalFlowLane2, "2");
...@@ -328,7 +328,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase ...@@ -328,7 +328,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
prepareListFlowLanes(EXAMPLE_FLOW_CELL_SAMPLE, Arrays.asList(fl1, fl2)); prepareListFlowLanes(EXAMPLE_FLOW_CELL_SAMPLE, Arrays.asList(fl1, fl2));
prepareGetProperties(Arrays.asList(fl1, fl2)); prepareGetProperties(Arrays.asList(fl1, fl2));
flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO); flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO, null);
checkFlowLaneDataSet(originalFlowLane1, "1"); checkFlowLaneDataSet(originalFlowLane1, "1");
checkFlowLaneDataSet(originalFlowLane2, "2"); checkFlowLaneDataSet(originalFlowLane2, "2");
...@@ -367,7 +367,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase ...@@ -367,7 +367,7 @@ public class FlowLaneFeederTest extends AbstractFileSystemTestCase
try try
{ {
flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO); flowLaneFeeder.handle(flowCell, EXAMPLE_DATA_SET_INFO, null);
fail("UserFailureException expected"); fail("UserFailureException expected");
} catch (UserFailureException ex) } catch (UserFailureException ex)
{ {
......
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