Description
The current validator doesn't support validation for threshold parameters that require:
- Ensuring values are positive numbers
- Validating relative ordering between related thresholds
This enhancement is needed before adding validation for ReportedStateManager threshold parameters.
Requirements
The validator should support validation rules for:
- Positive number validation: Ensure threshold values are greater than zero
- Relative ordering validation: Ensure that related thresholds maintain correct ordering (e.g., unavailableThreshold < stoppedThreshold)
Context
This issue arose from the ReportedStateManager implementation where:
unavailableThreshold and stoppedThreshold need to be positive values
unavailableThreshold must be less than stoppedThreshold
Currently, these validations would need to be handled at the constructor level, but the preference is to handle validation at the configuration level for consistency.
Acceptance Criteria
Related
Requested by: @petermasking
Description
The current validator doesn't support validation for threshold parameters that require:
This enhancement is needed before adding validation for ReportedStateManager threshold parameters.
Requirements
The validator should support validation rules for:
Context
This issue arose from the ReportedStateManager implementation where:
unavailableThresholdandstoppedThresholdneed to be positive valuesunavailableThresholdmust be less thanstoppedThresholdCurrently, these validations would need to be handled at the constructor level, but the preference is to handle validation at the configuration level for consistency.
Acceptance Criteria
Related
Requested by: @petermasking