Class ValidationEventsJsonController

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

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

  • Method Details

    • getValidationEvents

      @GetMapping(name="getValidationEvents") public List<ValidationMwParameters> getValidationEvents()
    • createBatch

      @PostMapping(value={"/batch","/batch/"}, name="createBatch") public org.springframework.http.ResponseEntity<?> createBatch(@Valid @RequestBody @Valid Collection<ValidationMwParameters> referenceEvents, org.springframework.validation.BindingResult result)
    • deleteBatchByEvids

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

      public ValidationMwParametersService getService()
    • setService

      public void setService(ValidationMwParametersService service)