Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Record Data Validation in v2 API
This enables the validation of data against schemas defined in the individual record objects * This is a permanent interface, implemented in a temp fashion * * Current we convert all the Record() objects to objects of the right type, and then validate. If validation is successful we restore the generic objects and send them to central. * We override the RecordSet validate() command, and add extra logic This allows for the v2 API to function, but recursive validation from a Domain object will not work, until another solution is found. * The way schemas are build up has also changed ** Each schema is built on .validate() ** There is no embedded "obj://<object_name>" references anymore ** The entire schema is added as one blob Closes-Bug: #1338256 Implements: blueprint validation-cleanup APIImpact Change-Id: I8d1d614a9a9c0c1d3faeb0f98778231278f37bc4
- Loading branch information
1 parent
5eb5cac
commit 707bc63
Showing
14 changed files
with
216 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.