Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-221

Verify and fix database vs. validation constraint inconsistencies

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: RAZOR 0.14.1
    • Fix Version/s: RAZOR 0.15.0
    • Component/s: Server
    • Labels:
      None
    • Template:
    • Epic Link:
    • Story Points:
      2
    • Sprint:
      May 21

      Description

      Database constraints and validation constraints do not always match up. Recently, the `create-policy` command had some discrepancies between what the validation framework considered to be required attributes and what the database required.

      It will be helpful to add automated spec testing for required attributes that commands can harness. This should should test, at the least:

      • That the command passes with the minimum (required) attributes provided
      • That the command fails when any single required attribute is removed

        Attachments

          Activity

            People

            Assignee:
            phong Phong Ly
            Reporter:
            scott.mcclellan Scott McClellan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support