Uploaded image for project: 'Fidelis AI'
  1. Fidelis AI
  2. FAI-333 Score Cards: Validation implementation
  3. FAI-371

Score Cards: Validation: ValidationService API rework

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • False
    • False
    • Undefined

      The conclusion of a discussion with robertoemanuel was that the following changes should be made to the ValidationService API. Most notably was the desire to have an explicit "clear" method (rather than setting with a valid state) this was because Reducers should explicitly clear existing validation for a model sub-tree before re-validating. Problems had been noticed with the call to set a valid state when validating collections of items that may have entries deleted.

      • Remove use of ValidationLevel.VALID
      • Add ValidationRegistry.clear(path)
      • Add ValidationService.clear(path)
      • Change ValidationService.setValidation(..) to just accept Warning/Errors.
      • Change reducers to clear validation before setting (UPDATES and DELETES, and MOVES for DD)

            manstis@redhat.com Michael Anstis
            manstis@redhat.com Michael Anstis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: