Commit 6450f024 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

ensembl connector uses API over ssl

parent 8df3320c
......@@ -29,7 +29,7 @@ import lcsb.mapviewer.modelutils.map.ElementUtils;
/**
* This class is responsible for connecting to
* <a href="http://rest.ensembl.org">Ensembl API</a> and annotate elements with
* <a href="https://rest.ensembl.org">Ensembl API</a> and annotate elements with
* information taken from this service.
*
*
......@@ -46,7 +46,7 @@ public class EnsemblAnnotator extends ElementAnnotator implements IExternalServi
/**
* Url address of ensembl restful service.
*/
private static final String REST_SERVICE_URL = "http://rest.ensembl.org/xrefs/id/";
private static final String REST_SERVICE_URL = "https://rest.ensembl.org/xrefs/id/";
/**
* Suffix that is needed for getting proper result using
......@@ -57,7 +57,7 @@ public class EnsemblAnnotator extends ElementAnnotator implements IExternalServi
/**
* Url used for retrieving version of the restful API.
*/
private static final String REST_SERVICE_VERSION_URL = "http://rest.ensembl.org/info/rest?content-type=text/xml";
private static final String REST_SERVICE_VERSION_URL = "https://rest.ensembl.org/info/rest?content-type=text/xml";
/**
* Default constructor.
......
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