Class ShapeMeasurementJsonController

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

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

    • ShapeMeasurementJsonController

      @Autowired public ShapeMeasurementJsonController(ShapeMeasurementService service)
  • Method Details

    • getMeasurements

      @GetMapping(path="/all/", name="getMeasurements") public List<ShapeMeasurement> getMeasurements()
    • getMeasurementsMetadata

      @GetMapping(path="/metadata/all/", name="getMeasurementsMetadata") public List<ShapeMeasurement> getMeasurementsMetadata()
    • getMeasurementByWaveformId

      @GetMapping("/byWaveformId/{id}") public ShapeMeasurement getMeasurementByWaveformId(@PathVariable Long id)
    • getMeasurementMetadataByWaveformId

      @GetMapping("/metadata/byWaveformId/{id}") public ShapeMeasurement getMeasurementMetadataByWaveformId(@PathVariable Long id)
    • getService

      public ShapeMeasurementService getService()
    • setService

      public void setService(ShapeMeasurementService service)