Class EnvelopeParamsJsonController

java.lang.Object
gov.llnl.gnem.apps.coda.envelope.application.web.EnvelopeParamsJsonController

@RestController @CrossOrigin @RequestMapping(value={"/api/v1/envelopes/job-configuration","/api/v1/envelopes/job-configuration/"}, name="EnvelopeJsonController", produces="application/json") public class EnvelopeParamsJsonController extends Object
  • Constructor Details

    • EnvelopeParamsJsonController

      @Autowired public EnvelopeParamsJsonController(EnvelopeParamsService service)
  • Method Details

    • getCurrentConfiguration

      @GetMapping public org.springframework.http.ResponseEntity<EnvelopeJobConfiguration> getCurrentConfiguration()
    • update

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