GalaxyWorkflowEngine: Galaxy instance and history name as parameters
- GalaxyWorkflowEngine: changed the constructor to receive the Galaxy instance and history name as parameters (making the class easier to test).
- GalaxyWorkflowEngineTest: completed the testRunWorkflowV2 test method and adjusted tests to use the new GalaxyConfiguration.determineGalaxyInstance method.
- GalaxyConfiguration: made the class usage non static, moved the functionality from the GalaxyWorkflowEngine.configure method to the new determineGalaxyInstance method, moved the related processConfigurationProperties method + apiKey & historyName fields over from the GalaxyWorkflowEngine class.
- GalaxyConfigurationTest: adjusted for non static usage of the GalaxyConfiguration class.
- WorkflowEngineFactory: the getWorkflowEngine method now accepts objects as configuration data, allowing a GalaxyConfiguration object to be passed.
- DefaultWorkflowEngineFactory: changed the getWorkflowEngine method to use a GalaxyConfiguration object for creating the GalaxyWorkflowEngine; the configure method is no longer called.
- Examples: modified the ConcatenateExample, HistogramExample, RandomLinesExample, and RemoveTopAndLeftExample classes to use a GalaxyConfiguration object to get a workflow engine.