Policies had large set of properties allowed to be configurable by the end-use. Now end-user can update only two properties in the policy definition:
IsActive,
Priority
Fixes # End-user can update only two properties in the policy definition: IsActive, Priority.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
What has been changed?
Fix: End-user can update only two properties in the policy definition:
IsActive,
Priority
Updated validation for these property.
How Has This Been Tested?
[x] Test A: The values of parameters "isActive" and "Priority" was set to nonvalid => result: in response apropriate error message was displayed.
[x] Test B: The value of parameter "isActive" was deleted; => result: the default value was set and updated.
[x] Test C: The other values of parameters was changed/omited; => result: the update did not make any changes on other parmeters.
[x] Test D: The "isActive" and "priority" was updated with valid values; => result: updated successfuly only required parameters.
Checklist:
[x] My code follows the style guidelines of this project
@appmdev the code looks good to me.
Please correct the PR title to match the conventional commits specification. After that please re-run failed checks. If all will pass, you can merge :)
Description
Policies had large set of properties allowed to be configurable by the end-use. Now end-user can update only two properties in the policy definition: IsActive, Priority
Fixes # End-user can update only two properties in the policy definition: IsActive, Priority.
Type of change
What has been changed?
Updated validation for these property.
How Has This Been Tested?
Checklist: