Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

harvest mef #85

Merged
merged 1 commit into from
Sep 19, 2018
Merged

harvest mef #85

merged 1 commit into from
Sep 19, 2018

Conversation

rerowep
Copy link
Contributor

@rerowep rerowep commented Sep 13, 2018

* NEW: apiharvest module
* NEW: mef module
* NEW: persons module for schema and es mapping
* NEW: automaticly harvest persons from http://mef.test.rero.ch/api/mef

To Test:

./scripts/bootstrap
./script/setup

Start MEF and ILS server
update source config for mef harvesting locally:

pipenv run invenio apiharvester source mef http://localhost:5002/api/mef -u

rero_ils/modules/mef/minters.py Outdated Show resolved Hide resolved
rero_ils/modules/mef/minters.py Show resolved Hide resolved
converted_records = []
jsonschema_host = current_app.config.get('JSONSCHEMAS_HOST', '')
for record in records:
record['$schema'] = 'http://' + jsonschema_host +\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add in the config?

    * NEW: apiharvest module
    * NEW: mef module
    * NEW: persons module for schema and es mapping
    * NEW: automaticly harvest persons from http://mef.test.rero.ch/api/mef

Signed-off-by: Peter Weber <[email protected]>
@rerowep rerowep force-pushed the wep-#650-harvest-mef branch from 38f73a4 to 181589f Compare September 18, 2018 07:12
Copy link

@BadrAly BadrAly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK for me

@rerowep rerowep merged commit fd3a80c into rero:master Sep 19, 2018
@rerowep rerowep deleted the wep-#650-harvest-mef branch September 21, 2018 05:48
BadrAly pushed a commit that referenced this pull request Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants