[COMPASS-3271] Schema Validation Component Created: 20/Nov/18  Updated: 29/Oct/23  Resolved: 30/Jan/19

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Massimiliano Marcon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to COMPASS-3151 Investigation phase Closed
is related to COMPASS-3152 Create a new schema validation plugin... Closed
is related to COMPASS-3304 Create an advanced mode component Closed
is related to COMPASS-3306 Implement change actions Closed
is related to COMPASS-3310 Save validation rules changes Closed
is related to COMPASS-3311 Support both MQL and JSON schema syntax Closed
is related to COMPASS-3312 Schema validation start page Closed
is related to COMPASS-3313 Pre-populate validation rules if exist Closed
is related to COMPASS-3318 Delete validation rules Closed
is related to COMPASS-3342 Support additionalProperties and prop... Closed
is related to COMPASS-3346 Support read-only mode Closed
Epic Link: COMPASS-2198
Sprint: Iteration Takaioko, Iteration Unagi, Iteration Vol au Vent, Iteration Wasabi

 Description   

User Story

As a Compass user
I want to see, create and modify schema validation rules for my collections
so that I can guarantee that my data will always be in the shape I expect

Acceptance Criteria

  • In Compass, when I select a collection I can access a Validation screen for that collection
  • The Validation screen displays the validation rules currently associated with the collection
    • By validation rules, we mean the object associate to the validator property
  • The Validation screen allows the user to edit and save validation rules
  • When there are no validation rules for the collection, there is a CTA for the user to start taking advantage of schema validation and a link pointing to the documentation
  • When I access the validation screen for a collection with validation rules, all the rules are displayed, no matter if they are written with query expressions or as JSON Schema
  • I can edit rules both as query expressions as well as in JSON Schema
  • When I attempt to save a rule and the rule is correctly saved, I want to see a confirmation message
  • When I attempt to save a rule and the rule cannot be saved or there is an error, I want to see an error message
    • This includes conflicts between rules detected by the server
  • Validations does not apply to read-only collections/views

Generated at Wed Feb 07 22:32:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.