Class TestCaseEditionController

java.lang.Object
com.chutneytesting.design.api.editionlock.TestCaseEditionController

@RestController @CrossOrigin(origins="*") @RequestMapping("/api/v1/editions/testcases") public class TestCaseEditionController extends Object
  • Constructor Details

  • Method Details

    • testCasesEditions

      @PreAuthorize("hasAuthority(\'SCENARIO_READ\')") @GetMapping(path="/{testCaseId}", produces="application/json") public List<TestCaseEditionDto> testCasesEditions(@PathVariable("testCaseId") String testCaseId)
    • editTestCase

      @PreAuthorize("hasAuthority(\'SCENARIO_WRITE\')") @PostMapping(path="/{testCaseId}", produces="application/json") public TestCaseEditionDto editTestCase(@PathVariable("testCaseId") String testCaseId)
    • endTestCaseEdition

      @PreAuthorize("hasAuthority(\'SCENARIO_WRITE\')") @DeleteMapping(path="/{testCaseId}") public void endTestCaseEdition(@PathVariable("testCaseId") String testCaseId)