Create new WorkflowsInternal API for ai_workflows scope
What does this MR do and why?
This MR does not introduce any new API points but instead just moves
them from Workflows to WorkflowsInternal. The previous Workflows
API contains a mix of endpoints that are consumed by the Duo Workflow
Service as well as the VS Code extension in GitLab. The issue is that
the Duo Workflow Service only has an ai_workflows scope token which is
meant to be limited to only a narrow set of things it can do. The VS
Code extension has an api scoped token.
This MR splits the API up such that the endpoints needed by Duo Workflow
Service are all inside the WorkflowsInternal API.
Resolves #500057 (closed)
Changelog: other
References
Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #500057 (closed)