-
Type: Story
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Iteration Takaioko, Iteration Unagi, Iteration Vol au Vent, Iteration Wasabi
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
- is related to
-
COMPASS-3151 Investigation phase
- Closed
-
COMPASS-3152 Create a new schema validation plugin for Compass
- Closed
-
COMPASS-3304 Create an advanced mode component
- Closed
-
COMPASS-3306 Implement change actions
- Closed
-
COMPASS-3310 Save validation rules changes
- Closed
-
COMPASS-3311 Support both MQL and JSON schema syntax
- Closed
-
COMPASS-3312 Schema validation start page
- Closed
-
COMPASS-3313 Pre-populate validation rules if exist
- Closed
-
COMPASS-3318 Delete validation rules
- Closed
-
COMPASS-3342 Support additionalProperties and properties parameters in the validator
- Closed
-
COMPASS-3346 Support read-only mode
- Closed