Improve the policy create UI/UX by preprocessing the policy definition file to autofill policy attribute details #12560
Labels
4.x.x
Feature/OperationPolicies
Operation policies feature related issues
Priority/Normal
Type/Improvement
Describe your problem(s)
As per the Operation Level Policy Support feature introduced with APIM 4.1.0 release, users have to manually type in the policy attribute names (and corresponding details) in the policy create form. We can automate this to some extent in order to minimize redundant work and typos so as to avoid any unexpected behaviour later on. Upon policy definition file upload (
.j2
or.xml
for Synapse gateway related uploads and.gotmpl
for Choreo Connect gateway related uploads), we can parse the uploaded file(s) to deduce and autofill policy attribute details.Describe your solution
Do a REST API call on file upload to get the policy attribute details in order to auto populate the form. This way, we can make those autofilled fields read-only. Thus, we can remove any redundant work on the users' part and eliminate any unexpected behaviours from the backend or when invoking the API.
How will you implement it
The text was updated successfully, but these errors were encountered: