Encyclopedia API
With the EncyclopediaNormalizer producing the required metadata in the Archive, we can now start building an API for accesssing that data. This API will initially be built to be used only be the old Encyclopedia GUI and will thus closely mimic the functionality needed by it.
As we proceed with building a new GUI (hopefully directly within the FAIR-website) this API will be changed to better match the needs/resources of the FAIR infrastructure.
Todo:
-
Create a new subsection for encyclopedia directly within section_metadata that will be used to build the required elastic search indices. -
Build a flask restplus API that mimics the old API: -
/materials
-
/materials/<material_id>
-
/materials/<material_id>?property=<property_name>
-
/materials/<material_id>/groups
-
/materials/<material_id>/groups/<group_type>/<group_id>
-
/materials/<material_id>/calculations
-
/materials/<material_id>/calculations/<calc_id>
-
/materials/<material_id>/idealized_structure
-
-
Connect the old GUI to the new API -
Mimic a production run by deploying the API on development cluster and running the GUI locally. The deployment should contain some thousands of calculations for VASP, exciting and FHI-aims. With this we should be able to catch any weird behaviour early on.