chenejac / VIVOTestMigration

0 stars 0 forks source link

VIVO-1655: Agrovoc REST API base url change #1542

Closed chenejac closed 5 years ago

chenejac commented 5 years ago

Laura Wrubel (Migrated from VIVO-1655) said:

REST API for Agrovoc term look-up is not available. If a user looks up an Agrovoc concepts to add to research concepts, they will get an error in the UI: "An error was encountered in executing this search."

The error in vivo.all.log is:ERROR [AgrovocService] Error occurred in getting concept from the URL [http://artemide.art.uniroma2.it:8081/skosmos/rest/v1/search?query=animal*&lang=en]

java.net.ConnectException: Connection refused (Connection refused)

 

Broken base URL is:

http://artemide.art.uniroma2.it:8081/skosmos/rest/v1/)

What looks to be the new URL (for a relatively undocumented API) is:

[http://agrovoc.uniroma2.it/agrovoc/rest/v1/]

For example:

[http://agrovoc.uniroma2.it/agrovoc/rest/v1/search?query=animal*&lang=en]

 

I did not find documentation of the REST API in particular, but I did find the following from the AGROVOC listserv, posted 6/4/18 by Kristin Kolshus:

 

Important news: AGROVOC SKOSMOS and AGROVOC Web services have moved to a new server. Please update your bookmarks.

There are new addresses for:

* SKOSMOS now at http://agrovoc.uniroma2.it/agrovoc/en/ (to browse AGROVOC)

* Webservices now at http://agrovoc.uniroma2.it:8080/SKOSWS/services/SKOSWS?wsdl

* The web services on the old server (http://artemide.art.uniroma2.it/SKOSWS/services/SKOSWS?wsdl) now are automatically redirected to the ones on the new server (http://agrovoc.uniroma2.it:8080/SKOSWS/services/SKOSWS?wsdl ) for now, but please update your links.
If you are using these:

* VocBench now at agrovoc.uniroma2.it:8080/vocbench2Agrovoc/ (All registered VB users should be able to access the projects (one official and 2 test instances) as they did before.)

* SPARQL endpoint now at http://agrovoc.uniroma2.it:3030/agrovoc/sparql (Since it is a "simple" SPARQL endpoint, to be used inside a browser, a site providing a UI is needed, for example: http://yasgui.org/ )
 

 

chenejac commented 5 years ago

Laura Wrubel said:

PR: https://github.com/vivo-project/VIVO/pull/104

chenejac commented 5 years ago

Andrew Woods said:

Resolved with: https://github.com/vivo-project/VIVO/commit/db07d321e50161b5bc1c4b584f3b94d08a1f362b