-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
We currently have an add_core utility function to load the latest version of schema.org schema into DDE's Elasticsearch backend and also store the corresponding schema.org version:
discovery-app/discovery/registry/schemas.py
Line 361 in 6c34c4f
| def add_core(update=False): |
We should regularly update the schema.org schema in DDE, let's start with once a month schedule.
An example of scheduled job is here (this one runs daily, so we should create a new job runs monthly):
Line 108 in 6c34c4f
| crontab("0 0 * * *", func=run_routine, start=True) # run daily at mid-night |
Please note we should validate the newer schema.org schema using biothings_schema package before any update. If it fails, we do not update DDE.
Metadata
Metadata
Assignees
Labels
No labels