Refactor flow triggers JSON data
What does this MR do and why?
We don't need flowTriggersEventTypeOptions at the group level, so they have been moved to project-specific properties.
- Add util in DAP code to parse JSON properties.
- Pass flowTriggersEventTypeOptions only to the project index.
- Add missing required prop.
References
Related to #578364
Screenshots or screen recordings
No changes to UI.
How to set up and validate locally
- Prerequisite: You have a Duo workflow-enabled project.
- Enable the feature flags
global_ai_catalog, andai_catalog_flows. - Go to Project > Automate > Flows. For example,
https://gdk.test:3443/gitlab-duo/test/-/automate/flows. - Go to Project > Automate > Flow triggers. For example,
https://gdk.test:3443/gitlab-duo/test/-/automate/flow-triggers.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.