Commit 7d2837a6 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

base url to reactome changed to http://reactomews.oicr.on.ca:8080 (normal api was turned off)

parent b53f6fa8
......@@ -138,7 +138,7 @@ public class ReactomeConnector extends CachableInterface implements DataSourceUp
/**
* Url used for accessing Reactome RestFULL API.
*/
private static final String REACTOME_URL = "http://reactome.org/ReactomeRESTfulAPI/RESTfulWS/";
public static final String REACTOME_URL = "http://reactomews.oicr.on.ca:8080/ReactomeRESTfulAPI/RESTfulWS/";
@Override
public List<ReactomePhysicalEntity> getEntitiesForName(String name) throws IOException {
......
......@@ -173,7 +173,7 @@ public class ReactomeConnectorTest extends ReactomeTestFunctions {
@Test(timeout = 15000)
public void testCachableInterfaceByParams() throws Exception {
String url = "http://reactome.org/ReactomeRESTfulAPI/RESTfulWS/listByQuery/DatabaseObjects";
String url = ReactomeConnector.REACTOME_URL + "listByQuery/DatabaseObjects";
String query = "identifier=2562550\n" + url;
String newRes = "hello";
try {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment