-
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.
data: add a class to import external records
This classes helps to get records from external resources like BNF. It is possible to search for records and transform them into rero-ils json format without saving them to the database. The search result can be displayed and filtered. It is also possible to display the source data of an record and import the data into the database. * Adds general class for imports. * Adds BNF specific import class. * Saves the search result in REDIS `RERO_IMPORT_CACHE` = 'redis://localhost:6379/4' for expiering time of `RERO_IMPORT_CACHE_EXPIRE` = 10 minutes. * Adds argument `format` to the rest endpoints. Output mimetypes can now be spezified by argument or in the header of the request. Co-Authored-by: Peter Weber <peter.weber@rero.ch>
- Loading branch information
1 parent
e71e3d4
commit f01ceff
Showing
10 changed files
with
905 additions
and
103 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
Oops, something went wrong.