Add AI catalog item consumer create mutation
What does this MR do and why?
We need a way to enable Ai catalog flows in groups and projects.
This MR introduces the service and mutation to support that.
References
Screenshots or screen recordings
How to set up and validate locally
- Enable
global_ai_catalogfeature flag - Create a flow:
mutation { aiCatalogFlowCreate( input: { projectId: "gid://gitlab/Project/1000000" name: "Test" description: "Test" public: true } ) { item { id } errors } } - Create a consumer:
mutation { aiCatalogItemConsumerCreate( input: { itemId: "gid://gitlab/Ai::Catalog::Item/45" target: { projectId: "gid://gitlab/Project/1000000" } } ) { errors } }
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.
Related to #554268 (closed)
Edited by Lee Tickett
