Red Hat Bugzilla – Bug 975526
Improve validation of alert conditions for different resource types
Last modified: 2015-11-01 19:45:41 EST
Description of problem: Currently, REST api allows to create alert conditions, that are not allowed in UI.
Version-Release number of selected component (if applicable):
How reproducible: always
1. You can create a condition of RESOURCE_CONFIG category for resource that does not support configuration
2. You can create a condition of AVAILABILITY with various availability options for platform resource (where some options are not allowed)
3. You can create a condition of DRIFT type for resource without drift support
REST API Should check for these "special" conditions.