diff --git a/benchmarking/src/org/bridgedb/benchmarking/ComparisonScript.java b/benchmarking/src/org/bridgedb/benchmarking/ComparisonScript.java index 2744b8743..1c9c7a97b 100644 --- a/benchmarking/src/org/bridgedb/benchmarking/ComparisonScript.java +++ b/benchmarking/src/org/bridgedb/benchmarking/ComparisonScript.java @@ -300,7 +300,7 @@ enum Connector PICR ("picr", "idmapper-picr:"), SYNERGIZER_ENSEMBL ("synergizer(ensembl)", "idmapper-synergizer:authority=ensembl&species=Homo sapiens"), - BRIDGEWEBSERVICE ("BridgeWebservice", "idmapper-bridgerest:http://webservice.bridgedb.org/Human"), + BRIDGEWEBSERVICE ("BridgeWebservice", "idmapper-bridgerest:https://webservice.bridgedb.org/Human"), BRIDGEWEBSERVICE_LOCAL ("BridgeWebservice(local)", "idmapper-bridgerest:http://localhost:8183/Human"), BIOMART ("biomart", "idmapper-biomart:http://www.biomart.org/biomart/martservice?mart=ensembl&dataset=hsapiens_gene_ensembl"), CRONOS ("cronos", "idmapper-cronos:hsa"), diff --git a/benchmarking/test/org/bridgedb/benchmarking/TestAll.java b/benchmarking/test/org/bridgedb/benchmarking/TestAll.java index 5be513373..f1cc3d2e1 100644 --- a/benchmarking/test/org/bridgedb/benchmarking/TestAll.java +++ b/benchmarking/test/org/bridgedb/benchmarking/TestAll.java @@ -74,7 +74,7 @@ public void testBridgeWebservice() throws IDMapperException, ClassNotFoundExcept Class.forName("org.bridgedb.webservice.bridgerest.BridgeRest"); Xref insr1 = new Xref ("ENSG00000171105", DataSource.getBySystemCode("EnHs")); Xref insr2 = new Xref ("3643", DataSource.getBySystemCode("L")); - basicMapperTest (measure, "bridgerest", "idmapper-bridgerest:http://webservice.bridgedb.org/Human", insr1, insr2); + basicMapperTest (measure, "bridgerest", "idmapper-bridgerest:https://webservice.bridgedb.org/Human", insr1, insr2); } public void testFile() throws IDMapperException, ClassNotFoundException diff --git a/examples/src/org/bridgedb/examples/ChebiPubchemExample.java b/examples/src/org/bridgedb/examples/ChebiPubchemExample.java index eadc6a5df..6b507827e 100644 --- a/examples/src/org/bridgedb/examples/ChebiPubchemExample.java +++ b/examples/src/org/bridgedb/examples/ChebiPubchemExample.java @@ -15,7 +15,7 @@ public static void main (String[] args) throws ClassNotFoundException, IDMapperE // We'll use the BridgeRest webservice in this case, as it does compound mapping fairly well. // We'll use the human database, but it doesn't really matter which species we pick. Class.forName ("org.bridgedb.webservice.bridgerest.BridgeRest"); - IDMapper mapper = BridgeDb.connect("idmapper-bridgerest:http://webservice.bridgedb.org/Human"); + IDMapper mapper = BridgeDb.connect("idmapper-bridgerest:https://webservice.bridgedb.org/Human"); DataSourceTxt.init(); // Start with defining the Chebi identifier for diff --git a/examples/src/org/bridgedb/examples/ExHello.java b/examples/src/org/bridgedb/examples/ExHello.java index baf811d6c..35efbd6e2 100644 --- a/examples/src/org/bridgedb/examples/ExHello.java +++ b/examples/src/org/bridgedb/examples/ExHello.java @@ -23,7 +23,7 @@ public static void main(String args[]) throws ClassNotFoundException, IDMapperEx DataSourceTxt.init(); // now we connect to the driver and create a IDMapper instance. - IDMapper mapper = BridgeDb.connect ("idmapper-bridgerest:http://webservice.bridgedb.org/Human"); + IDMapper mapper = BridgeDb.connect ("idmapper-bridgerest:https://webservice.bridgedb.org/Human"); // We create an Xref instance for the identifier that we want to look up. // In this case we want to look up Entrez gene 3643. diff --git a/examples/src/org/bridgedb/examples/ExIDSearch.java b/examples/src/org/bridgedb/examples/ExIDSearch.java index f309b89db..60029a480 100644 --- a/examples/src/org/bridgedb/examples/ExIDSearch.java +++ b/examples/src/org/bridgedb/examples/ExIDSearch.java @@ -20,7 +20,7 @@ public static void main(String args[]) throws ClassNotFoundException, IDMapperEx DataSourceTxt.init(); // now we connect to the driver and create a IDMapper instance. - IDMapper mapper = BridgeDb.connect ("idmapper-bridgerest:http://webservice.bridgedb.org/Human"); + IDMapper mapper = BridgeDb.connect ("idmapper-bridgerest:https://webservice.bridgedb.org/Human"); String query = "3643"; diff --git a/org.bridgedb.webservice.bridgerest/src/org/bridgedb/webservice/bridgerest/BridgeRest.java b/org.bridgedb.webservice.bridgerest/src/org/bridgedb/webservice/bridgerest/BridgeRest.java index 6062dcdc0..8adf39eae 100644 --- a/org.bridgedb.webservice.bridgerest/src/org/bridgedb/webservice/bridgerest/BridgeRest.java +++ b/org.bridgedb.webservice.bridgerest/src/org/bridgedb/webservice/bridgerest/BridgeRest.java @@ -276,7 +276,7 @@ private BufferedReader openReader() throws IOException } /** - * @param baseUrl base Url, e.g. http://webservice.bridgedb.org/Human or + * @param baseUrl base Url, e.g. https://webservice.bridgedb.org/Human or * http://localhost:8182 * @throws IDMapperException when service is unavailable */