JAL-3829 point at production 3d-beacons url
authorJim Procter <j.procter@dundee.ac.uk>
Fri, 10 Sep 2021 12:42:57 +0000 (13:42 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Fri, 10 Sep 2021 12:42:57 +0000 (13:42 +0100)
src/jalview/fts/service/threedbeacons/TDBeaconsFTSRestClient.java

index 73939c3..cb0bc2d 100644 (file)
@@ -34,7 +34,15 @@ import jalview.util.Platform;
 public class TDBeaconsFTSRestClient extends FTSRestClient
         implements StructureFTSRestClientI
 {
-  private static final String DEFAULT_THREEDBEACONS_DOMAIN = "https://wwwdev.ebi.ac.uk/pdbe/pdbe-kb/3dbeacons/api/uniprot/summary/";
+  /**
+   * production server URI
+   */
+  private static String TDB_PROD_API="https://www.ebi.ac.uk/pdbe/pdbe-kb/3dbeacons/api/uniprot/summary/";
+  /**
+   * dev server URI
+   */
+  private static String TDB_DEV_API="https://wwwdev.ebi.ac.uk/pdbe/pdbe-kb/3dbeacons/api/uniprot/summary/";
+  private static String DEFAULT_THREEDBEACONS_DOMAIN = TDB_PROD_API; 
 
   public static FTSRestClientI instance = null;