-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Engaging an Approval Workflow for API revision deployment #2137
Comments
Developer comments - Progress updateConducted a design review. Please find the design document below. |
Sub tasks for the feature
|
Developer comments - Progress updateStarted implementing the API revision creation via simple workflow. The application creation workflow will be used as the guideline for the implementation. This will introduce new classes,
|
Developer comments - Progress updateContinue implementing the simple workflow. Made changes to the folllowing classes,
|
Developer comments - Progress updateThe simple workflow is working. Started working on the approval flow. |
Developer comments - Progress updateCurrently writing the logic of the |
Developer comments - Progress updateThe logic is implemented for the db entry to be created. Still working on finalizing the approval flow. |
Developer comments - Progress updateWhen implementing the admin approval workflow, a variable mismatch happens. Currently trying to resolve that issue. |
Developer comments - Progress updateResolved the issue with admin approval flow. The implementation of the admin flow is almost done. Also sent the architecture mail. Also done the revision deletion via approval workflow for publisher portal. |
Developer comments - Progress updateCompleted the admin approval flow and discussed with @chamilaadhi about the implementation. Apparently, adding the logic to executor complete function is the old method. Refactoring that now. |
Developer comments - Progress updateAdmin portal UI changes are complete. Currently working on publisher portal UI changes.
|
Developer comments - Progress updateImplemented the cancel workflow request from publisher portal backend logic and tested it in the rest level. Faced with an error and resolved that. Working on delete API logic and main publisher portal UI changes. |
Small suggestion on this feature, will it be a possibility to provide an option where an admin can provide feedback to the API provider on the approval? specially when an API publication or revision is rejected what is the reason behind it so they can apply necessary changes promptly? WDYT? |
Hello @Kamidu, |
Developer comments - Progress updateThe delete API logic is completed. Currently working on the publisher portal UI and backend GET changes. |
Developer comments - Progress updateAdded changes to the deployment UI page with pending updates and removing gateway which has pending revisions from the 'Deploy New Revision' page. |
Developer comments - Progress updateCompleted the implementation. Scheduled the code review on 9th of October. |
Developer comments - Progress updateThe carbon apimgt PR : wso2/carbon-apimgt#12169 Conducted the code review and few changes are suggested. Currently working on the said changes. |
Developer comments - Progress updateA discussion was happened since the design that was selected on last Friday code review was not adequate. After the discussion a design with the two column structure with one column handling select revision drop down and the pending revisions and the other column solely handling deployed revisions is finalised. Currently developing that. |
Developer comments - Progress updateWill close the issue once the PRs are merged. |
|
Developer comments - Progress updateClosing this as PRs are merged. |
Problem
Currently, API revision deployment can be directly performed by the API Publisher and there is no approval workflow engaged with it. Hence, there is no way for the admin to control or review the API gateway artifacts, before deploying into production.
Solution
A revision deployment workflow should be engaged with the product. By default, the API publishers should be able to deploy the revisions to desired gateways. When the revision deployment workflow is enabled, the revision should be moved into a pending state and should be deployed or rejected from deploying into the gateway, based on the admin's approval.
Affected Component
APIM
Version
4.3.0
Implementation
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: