Class NGSLinkerAjaxController
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.projects.NGSLinkerAjaxController
-
@RestController @RequestMapping("/ajax/ngs-linker") public class NGSLinkerAjaxController extends java.lang.Object
Controller to handle asynchronous request for the ngs-linker
-
-
Constructor Summary
Constructors Constructor Description NGSLinkerAjaxController(NGSLinkerService linkerService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<java.lang.String>
getLinkerCommand(NGSLinkerCmdRequest request)
Get the command for the ngs-linker script with project and sample information.
-
-
-
Constructor Detail
-
NGSLinkerAjaxController
@Autowired public NGSLinkerAjaxController(NGSLinkerService linkerService)
-
-
Method Detail
-
getLinkerCommand
@RequestMapping("/cmd") public org.springframework.http.ResponseEntity<java.lang.String> getLinkerCommand(@RequestBody NGSLinkerCmdRequest request)
Get the command for the ngs-linker script with project and sample information.- Parameters:
request
-NGSLinkerCmdRequest
containing the project id and any sample ids required.- Returns:
- response containing the command to run the linker.
-
-