Closed fabianegli closed 2 years ago
Oh Wow! THAT is a problem! Thanks so much for reporting this! We will fix this, but it may be a while before we get to the bottom of this.
It seems to me that this comes from some configuration via addPrefixToAllOLSLinks:
I do not think this is a Zooma issue. It is more likely an OLS issue.
I am no Java developer - that's just as far as I was able to track the origin 🤷♂️ I hope you will soon get to the bottom of it 🤞
Hi, this should be resolved now.
Following the link in the initial post now returns a json with a '_links'>'olslinks'[0]>'href' to "https://www.ebi.ac.uk/ols/api/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FNCBITaxon_9606".
There is some unexpected behaviour when using the zooma API2.
https://www.ebi.ac.uk/spot/zooma/v2/api/services/annotate?filters=ontologies%3A%5Bnbcitaxon%5D&propertyValue=human
Will return the following:
Note that the '_links'>'olslinks'[0]>'href' is
https://ves-oy-be:8080/ols/api/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FNCBITaxon_9606
which is definitely not a valid link. I believe it should instead be
https://www.ebi.ac.uk/ols/api/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FNCBITaxon_9606
To me this looks like the API backend might compose the url erroneously with some local network identifier instead of the public url.