Closed ChristophB closed 7 months ago
I rebased on this locally but I still get the error with the old URL:
backend-1 | 2024-02-19 13:54:33.314 ERROR 1 --- [nio-8080-exec-9] c.s.t.b.r.ols.CodeSystemRepository : 301 Moved Permanently from GET https://www.ebi.ac.uk/ols/api/ontologies?page=0&size=1000; nested exception is org.springframework.web.reactive.function.UnsupportedMediaTypeException: Content type 'text/html' not supported for bodyType=care.smith.top.backend.service.ols.OLSOntologiesResponse
I rebased on this locally but I still get the error with the old URL:
backend-1 | 2024-02-19 13:54:33.314 ERROR 1 --- [nio-8080-exec-9] c.s.t.b.r.ols.CodeSystemRepository : 301 Moved Permanently from GET https://www.ebi.ac.uk/ols/api/ontologies?page=0&size=1000; nested exception is org.springframework.web.reactive.function.UnsupportedMediaTypeException: Content type 'text/html' not supported for bodyType=care.smith.top.backend.service.ols.OLSOntologiesResponse
Can't reproduce it. :( Have you rebuilt your dev Docker container?
Yes, I've rebuild it multiple times and even deleted all the volumes and reimported the repository.
Are you also using https://www.ebi.ac.uk/ols/api
for testing? (not with the "4").
This pull request sets the default value of
TERMINOLOGY_SERVICE_ENDPOINT
to https://www.ebi.ac.uk/ols4/api (was localhost), andfollowRedirect = true
of the web client that is used to query OLS.