Fix missing alert and deployment fields in integration API response
What does this MR do and why?
This MR has been split from !122943 (closed).
This MR fixes various bugs in the project integration API:
- Fix missing
alert_channel
andalert_events
field in project integration responses (#196575) - Fix missing
deployment_events
field in project integration responses (#28903, #196575) - Fix broken update for
deployment_channel
field in project integration API (#28903) - Fix broken update for
deployment_events
field in project integration API
Fixes #196575
How to set up and validate locally
- Enable slack integration on a project (can be done via the web UI).
- Try changing the any previously mentioned field on the
/api/v4/projects/$PROJECT_ID/integrations/slack
endpoint. - Check that the fields are present on
/api/v4/projects/$PROJECT_ID/integrations/slack
endpoint responses.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.