addonfactory-ucc-generator
addonfactory-ucc-generator copied to clipboard
feat: extended rh_templates to pass user validators to resthandler
Issue number:ADDON-74237
Summary
Extended rh_templates to pass user validators to resthandler this pr requires changes from splunktauuclib: https://github.com/splunk/addonfactory-ucc-library/pull/316
Changes
- rh_templates now has an additional list "special_fields"
- rh_templates now adds "special_fields" to RestModel object
- GlobalConfigBuilderSchema now calculates "special_fields" for rh_templates
User experience
Name field will be validated with users validators, provided in the globalconfig, on the server side.
Checklist
If your change doesn't seem to apply, please leave them unchecked.
- [x] I have performed a self-review of this change
- [x] Changes have been tested
- [ ] Changes are documented
- [x] PR title follows conventional commit semantics