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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
createBatch
(@Valid Collection<ValidationMwParameters> referenceEvents, org.springframework.validation.BindingResult result) org.springframework.http.ResponseEntity<?>
deleteBatchByEvids
(@Valid Collection<String> eventIds, org.springframework.validation.BindingResult result) void
setService
(ValidationMwParametersService service)
-
Constructor Details
-
ValidationEventsJsonController
-
-
Method Details
-
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
-
setService
-