Class EnvironmentCategoryController
java.lang.Object
org.qubership.atp.environments.service.rest.server.EnvironmentCategoryController
@RequestMapping("/api/environment-categories")
@RestController
public class EnvironmentCategoryController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentCategoryController(EnvironmentCategoryService environmentCategoryService) -
Method Summary
Modifier and TypeMethodDescriptioncreate(EnvironmentCategoryImpl environmentCategory) TODO Make javadoc documentation for this method.voidgetAll()update(EnvironmentCategoryImpl environmentCategory) TODO Make javadoc documentation for this method.
-
Constructor Details
-
EnvironmentCategoryController
@Autowired public EnvironmentCategoryController(EnvironmentCategoryService environmentCategoryService)
-
-
Method Details
-
getAll
-
get
@GetMapping("/{environmentCategoryId}") public EnvironmentCategory get(@PathVariable("environmentCategoryId") UUID id) -
create
@PostMapping public EnvironmentCategory create(@RequestBody EnvironmentCategoryImpl environmentCategory) TODO Make javadoc documentation for this method. -
update
@PutMapping public EnvironmentCategory update(@RequestBody EnvironmentCategoryImpl environmentCategory) TODO Make javadoc documentation for this method. -
delete
@DeleteMapping("/{environmentCategoryId}") @ResponseStatus(NO_CONTENT) public void delete(@PathVariable("environmentCategoryId") UUID id)
-