Class AggregatedTestCaseController


  • @RestController
    @CrossOrigin(origins="*")
    @RequestMapping("/api/scenario/v2")
    public class AggregatedTestCaseController
    extends Object
    • Method Detail

      • testCaseMetaData

        @PreAuthorize("hasAuthority(\'SCENARIO_READ\')")
        @GetMapping(path="/{testCaseId}/metadata",
                    produces="application/json")
        public TestCaseIndexDto testCaseMetaData​(@PathVariable("testCaseId")
                                                 String testCaseId)
      • getTestCases

        @PreAuthorize("hasAuthority(\'SCENARIO_READ\') or hasAuthority(\'CAMPAIGN_WRITE\')")
        @GetMapping(path="",
                    produces="application/json")
        public List<TestCaseIndexDto> getTestCases​(@RequestParam(name="textFilter",required=false)
                                                   String textFilter)
      • removeScenarioById

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