Open marcosmro opened 7 years ago
It would be very nice to get rid of this caching in CEDAR.
The cache startup also increases the startup time of the Docker installation.
We should chat with @mdorf to get a sense of the effort involved.
See also 12-Factor review: https://github.com/metadatacenter/cedar-project/issues/490
The endpoints 1 and 2 are planned for 1.6.
This issue has been decomposed in 5 different tasks:
I'm reopening this issue because this task is not done yet. The BioPortal endpoint to retrieve all the relevant information is implemented (see https://github.com/metadatacenter/cedar-project/issues/660), but we still need to integrate it into CEDAR
The first time that the terminology server is started, it builds a cache of BioPortal ontologies and value sets. Building this cache implies making one call to BioPortal retrieve all ontologies/value sets, plus two calls per ontology/value set to retrieve details such as name, acronym, description, and size.
We should remove the necessity of the ontologies/value sets cache in CEDAR, by extending BioPortal with at least the following endpoints: