-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: fixture pid dependency test with config file
* Adds a cli command for pid fixture dependency checking. * Adds config file for pid dependency testing. Co-Authored-by: Peter Weber <peter.weber@rero.ch>
- Loading branch information
Showing
2 changed files
with
86 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
[ | ||
{ | ||
"name": "organisation", | ||
"filename": "organisations.json" | ||
}, | ||
{ | ||
"name": "library", | ||
"filename": "libraries.json", | ||
"dependencies": [ | ||
{"name": "organisation"} | ||
] | ||
}, | ||
{ | ||
"name": "location", | ||
"filename": "locations.json", | ||
"dependencies": [ | ||
{"name": "library"} | ||
] | ||
}, | ||
{ | ||
"name": "document", | ||
"filename": "documents_big.json" | ||
}, | ||
{ | ||
"name": "item_type", | ||
"filename": "item_types.json", | ||
"dependencies": [ | ||
{"name": "organisation"} | ||
] | ||
}, | ||
{ | ||
"name": "patron_type", | ||
"filename": "patron_types.json", | ||
"dependencies": [ | ||
{"name": "organisation"} | ||
] | ||
}, | ||
{ | ||
"name": "circulation_policie", | ||
"filename": "circulation_policies.json", | ||
"dependencies": [ | ||
{"name": "organisation"}, | ||
{ | ||
"name": "settings", | ||
"optional": "True", | ||
"sublist": [ | ||
{"name": "patron_type"}, | ||
{"name": "item_type"} | ||
] | ||
}, | ||
{"name": "library", "ref": "libraries", "optional": "True"} | ||
] | ||
}, | ||
{ | ||
"name": "holding", | ||
"filename": "holdings_big.json", | ||
"dependencies": [ | ||
{"name": "location"}, | ||
{"name": "circulation_category", "ref": "item_type"}, | ||
{"name": "document"} | ||
] | ||
}, | ||
{ | ||
"name": "item", | ||
"filename": "items_big.json", | ||
"dependencies": [ | ||
{"name": "location"}, | ||
{"name": "item_type"}, | ||
{"name": "document"}, | ||
{"name": "holding"} | ||
] | ||
} | ||
] |
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