Class SystemCategoryController

java.lang.Object
org.qubership.atp.environments.service.rest.server.SystemCategoryController

@RequestMapping("/api/system-categories") @RestController public class SystemCategoryController extends Object
  • Constructor Details

    • SystemCategoryController

      @Autowired public SystemCategoryController(SystemCategoriesService systemCategoriesService)
  • Method Details

    • getAllSystemCategories

      @GetMapping public List<SystemCategory> getAllSystemCategories()
    • getShortAll

      @GetMapping("/short") public List<SystemCategory> getShortAll()
    • getSystemCategory

      @GetMapping("/{systemCategoryId}") public SystemCategory getSystemCategory(@PathVariable("systemCategoryId") UUID id)
    • createSystemCategory

      @PostMapping public SystemCategory createSystemCategory(@RequestBody SystemCategoryImpl systemCategories)
    • updateSystemCategory

      @PutMapping public SystemCategory updateSystemCategory(@RequestBody SystemCategoryImpl systemCategories)
      Update system category by id and name.
    • deleteCategory

      @DeleteMapping("/{systemCategoryId}") public void deleteCategory(@PathVariable("systemCategoryId") UUID id)