-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Harvest dct:conformsTo for Dataset and Resource (#2949)
* Update schemas to embed document and improve validation * fixing tests * Fixing tests * Fix mocks in tests * Fix test * Remove mongoengine check since schema is allow to be empty and allow to have both values * Do not auto respond with URL/name if missing * Harvest schemas from conformsTo * Small tweaks * Add changelog * Review fixes * Move mock data to factories * add comments for magic method of field validation * Add schema in mask * fix version check in form * Set the name and version instead of URL for known schemas in harvesting * Remove getters in Schema * Fix tests * Move validation to model * Fix canont remove schema * Add update tests * Fix validation of schema with only version
- Loading branch information
1 parent
938c703
commit 88ddde5
Showing
16 changed files
with
469 additions
and
205 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
Oops, something went wrong.