Closed KonradHoeffner closed 8 months ago
Hi, I cannot reproduce this error with the standard configuration provided in docker-compose.env.tpl
, but setting TERMINOLOGY_SERVICE_ENDPOINT
to "https://www.ebi.ac.uk/ols/api" shows the warning you described.
So I think your first task can be skipped, but 301 redirects really need to be handled correctly.
BTW, the error is not directly related to the phenotype import.
I think I already changed it from ols to ols4, maybe that is why the error didn't occur anymore?
I think I already changed it from ols to ols4, maybe that is why the error didn't occur anymore?
Yes, but I think the changes I made are still useful.
Absolutely agree! However it does not seem to work, I am investigating whether my local version still runs an old version and not the newly build one.
The error is thrown in care.smith.top.backend.repository.ols.CodeSystemRepository which extends OlsRepository where your pull request handles redirects, is it possible that the error is thrown by another method? Does it not occur in your local installation?
I don't get an error and I think this is the only place where an OLS web client is built. Actually, this is not my code, so it could be that I missed something.
I want to have some test data in my local copy of the framework, so I exported "BMI-Schulung" as TopJsonFormat in https://top.imise.uni-leipzig.de/. However when I import that in my local copy, I get the following error on the console and no feedback on the frontend.
bmi-schulung.json
The page https://www.ebi.ac.uk/ols/api/ontologies?page=0&size=1000 redirects to https://www.ebi.ac.uk/ols4/api/ontologies?page=0&size=1000.
I propose the following changes: