Skip to content

Commit

Permalink
Use HTTPS by default
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Nov 21, 2023
1 parent 4ef7e6a commit f8ac4df
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
2 changes: 1 addition & 1 deletion benchmarking/test/org/bridgedb/benchmarking/TestAll.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/src/org/bridgedb/examples/ExHello.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/src/org/bridgedb/examples/ExIDSearch.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit f8ac4df

Please sign in to comment.