Class CalibrationJsonController

java.lang.Object
gov.llnl.gnem.apps.coda.calibration.application.web.CalibrationJsonController

@RestController @CrossOrigin @RequestMapping(value={"/api/v1/calibration","/api/v1/calibration/"}, name="CalibrationJsonController", produces="application/json") public class CalibrationJsonController extends Object
  • Constructor Details

    • CalibrationJsonController

      @Autowired public CalibrationJsonController(CalibrationService service)
  • Method Details

    • runCalibration

      @GetMapping(value="/start/{autoPickingEnabled}", name="runCalibration") public org.springframework.http.ResponseEntity<?> runCalibration(@PathVariable(name="autoPickingEnabled",required=false) Boolean autoPickingEnabled)
    • cancelCalibration

      @PostMapping(value={"/cancel","/cancel/"}, name="cancelCalibration") public org.springframework.http.ResponseEntity<?> cancelCalibration(@Valid @RequestBody @Valid Long id, org.springframework.validation.BindingResult result)
    • clearData

      @GetMapping(value={"/clear-data","/clear-data/"}, name="clearData") public org.springframework.http.ResponseEntity<?> clearData()
    • deleteBatchByEvids

      @PostMapping(value={"/toggle-validation/batch-by-evids","/toggle-validation/batch-by-evids/"}, name="toggleValidationByEvids") public org.springframework.http.ResponseEntity<?> deleteBatchByEvids(@Valid @RequestBody @Valid List<String> eventIds, org.springframework.validation.BindingResult result)
    • getService

      public CalibrationService getService()
    • setService

      public void setService(CalibrationService service)