Class ConfigurationItemJsonController

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

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

    • ConfigurationItemJsonController

      @Autowired public ConfigurationItemJsonController(ConfigurationService configService)
  • Method Details

    • getVelocityConfiguration

      @GetMapping(value={"/velocity","/velocity/"}, name="getVelocityConfiguration") public VelocityConfiguration getVelocityConfiguration()
    • update

      @PostMapping(value={"/velocity/update","/velocity/update/"}, name="updateVelocity") public org.springframework.http.ResponseEntity<?> update(@Valid @RequestBody @Valid VelocityConfiguration entry, org.springframework.validation.BindingResult result)
    • getShapeFitterConstraints

      @GetMapping(value={"/shape","/shape/"}, name="getShapeFitterConstraints") public ShapeFitterConstraints getShapeFitterConstraints()
    • updateShapeFitterConstraints

      @PostMapping(value={"/shape/update","/shape/update/"}, name="updateShapeFitterConstraints") public org.springframework.http.ResponseEntity<?> updateShapeFitterConstraints(@Valid @RequestBody @Valid ShapeFitterConstraints entry, org.springframework.validation.BindingResult result)
    • getPolygon

      @GetMapping(value={"/polygon","/polygon/"}, name="getPolygon") public org.springframework.http.ResponseEntity<String> getPolygon()
    • updatePolygon

      @PostMapping(value={"/polygon/update","/polygon/update/"}, name="updatePolygon") public org.springframework.http.ResponseEntity<?> updatePolygon(@Valid @RequestBody @Valid String rawGeoJSON, org.springframework.validation.BindingResult result)