Commit bef62962 authored by Aaron Petkau's avatar Aaron Petkau

Fix up for newer irida interface

parent 3b94b0d9
Pipeline #7727 failed with stages
in 4 seconds
......@@ -14,19 +14,20 @@
<plugin.version>0.1.0</plugin.version>
<plugin.provider>Aaron Petkau</plugin.provider>
<plugin.dependencies></plugin.dependencies>
<plugin.requires.runtime>1.0.0</plugin.requires.runtime>
<irida.version>0.23.0-SNAPSHOT</irida.version>
<pf4j.version>2.4.0</pf4j.version>
<plugin.requires>1.0.0</plugin.requires>
<java.version>1.8</java.version>
<irida.version.compiletime>0.23.0-SNAPSHOT</irida.version.compiletime>
</properties>
<dependencies>
<dependency>
<groupId>ca.corefacility.bioinformatics</groupId>
<artifactId>irida</artifactId>
<version>${irida.version}</version>
<version>${irida.version.compiletime}</version>
<classifier>classes</classifier>
</dependency>
......@@ -64,7 +65,7 @@
<Plugin-Id>${plugin.id}</Plugin-Id>
<Plugin-Provider>${plugin.provider}</Plugin-Provider>
<Plugin-Version>${plugin.version}</Plugin-Version>
<Plugin-Requires>${plugin.requires}</Plugin-Requires>
<Plugin-Requires>${plugin.requires.runtime}</Plugin-Requires>
</manifestEntries>
</archive>
</configuration>
......
......@@ -12,8 +12,10 @@ import org.pf4j.PluginWrapper;
import ca.corefacility.bioinformatics.irida.model.workflow.analysis.type.AnalysisType;
import ca.corefacility.bioinformatics.irida.pipeline.results.updater.AnalysisSampleUpdater;
import ca.corefacility.bioinformatics.irida.plugins.IridaPlugin;
import ca.corefacility.bioinformatics.irida.plugins.IridaPluginException;
import ca.corefacility.bioinformatics.irida.service.sample.MetadataTemplateService;
import ca.corefacility.bioinformatics.irida.service.sample.SampleService;
import ca.corefacility.bioinformatics.irida.service.workflow.IridaWorkflowsService;
/**
* A plugin for detecting AMR genes using both
......@@ -37,7 +39,7 @@ public class AMRDetectionPlugin extends Plugin {
@Override
public Optional<AnalysisSampleUpdater> getUpdater(MetadataTemplateService metadataTemplateService,
SampleService sampleService) {
SampleService sampleService, IridaWorkflowsService iridaWorkflowsService) throws IridaPluginException {
return Optional.of(new AMRDetectionUpdater(metadataTemplateService, sampleService));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment