-
Notifications
You must be signed in to change notification settings - Fork 9
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
Snovault conversion #1287
Comments
Sanity checklist:
|
What's gone?The entire snovault dependencyThe branch is currently pointing to ClinGen/snovault (see Many things have changed as part of the transition over to snovault, which will be covered in this (and possibly subsequent) comment(s). Updated commandsThere's a new build command:
There's a new browser test command:
(Note the new wsgi-arg arguments, which is why the modifications to snovault was necessary, and is how we get our authentication tests to work) There's a new database dump command:
(README and docs have been updated to reflect these new commands) How far did I get?I can't say for certain that everything is at parity, but from my testing, it seems to be very, very close. This branch should be thoroughly tested before merging, however, as much of our frontend does not have test coverage, and I certainly may have missed something. |
Changes to data objectssnovault introduced some changes to the data schema and how it interacts. Primarily, how objects are named and referenced. An object's name is specified and referred to in the following ways, using the article object as an example:
Basically, how an object's class is defined in the That said, the way snovault defaults to reading types has changed somewhat to where it only accepts all-lowercase type names (this is independent of the class name/how types are references in the javascript). Objects that originally had camel cased names ( While it is possible to name the schema and test data JSON files with camel case and get around the collections view issue by referencing the files in the These camel-cased objects were renamed to fully-lowercase counterparts in the related PR, but they this does mean that live/production data must be somehow converted to these new object types on the postgres database/elasticsearch backend, otherwise the data will not be loaded properly. |
No description provided.
The text was updated successfully, but these errors were encountered: