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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<EnvelopeJobConfiguration>
org.springframework.http.ResponseEntity<?>
update
(@Valid EnvelopeJobConfiguration jobConf, org.springframework.validation.BindingResult result)
-
Constructor Details
-
EnvelopeParamsJsonController
-
-
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)
-