java.lang.Object
org.qubership.atp.environments.service.rest.server.AlertController
@RequestMapping("/api/alerts")
@RestController
public class AlertController
extends Object
-
Constructor Summary
Constructors
-
Method Summary
void
void
Update alert information.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
getAlert
@GetMapping("/{alertId}")
public Alert getAlert(@PathVariable("alertId")
UUID uuid)
-
-
create
@PostMapping("/create")
public Alert create(@RequestBody
AlertImpl alert)
Create new Alert.
-
update
@PutMapping("/create")
@ResponseStatus(NO_CONTENT)
public void update(@RequestBody
AlertImpl alert)
Update alert information.
- Parameters:
alert - TODO
-
delete
@DeleteMapping("/{alertId}")
@ResponseStatus(NO_CONTENT)
public void delete(@PathVariable("alertId")
UUID alertId)