Class UpdateEventController

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

@RequestMapping("/api/updateEvents") @RestController public class UpdateEventController extends Object
  • Constructor Details

    • UpdateEventController

      @Autowired public UpdateEventController(UpdateEventService service)
  • Method Details

    • getUpdateEvent

      @GetMapping("/subscription/{subscriptionId}/entity/{entityId}") public UpdateEvent getUpdateEvent(@PathVariable("subscriptionId") UUID subscriptionId, @PathVariable("entityId") UUID entityId)
    • getSubscriptionUpdateEvents

      @GetMapping("/subscription/{subscriptionId}") public UpdateEvent getSubscriptionUpdateEvents(@PathVariable("subscriptionId") UUID subscriptionId)
    • getEntityEvents

      @GetMapping("/entity/{entityId}") public UpdateEvent getEntityEvents(@PathVariable("entityId") UUID entityId)
    • getAll

      @GetMapping public List<UpdateEvent> getAll()
    • create

      @PostMapping public UpdateEvent create(@RequestBody UpdateEventImpl updateEvent)
      TODO Make javadoc documentation for this method.
    • update

      @PutMapping("/subscription/{subscriptionId}/entity/{entityId}") @ResponseStatus(NO_CONTENT) public void update(@RequestBody UpdateEventImpl updateEvent)
      TODO Make javadoc documentation for this method.
    • delete

      @DeleteMapping("/subscription/{subscriptionId}/entity/{entityId}") @ResponseStatus(NO_CONTENT) public void delete(@PathVariable("subscriptionId") UUID subscriptionId, @PathVariable("entityId") UUID entityId)