Bug 1271352 - DLC Sync: Update kinto endpoint and CDN base domain. r=margaret
authorSebastian Kaspari <s.kaspari@gmail.com>
Mon, 16 May 2016 09:59:14 -0700
changeset 322700 5774664d8ffe38951b123a83e29cd67661e495b5
parent 322699 4d16f6389b493807621e5359c4a07b909f2c749f
child 322701 d55c8a642e3aae2913df508d513d83bfa39959fe
push id9671
push userraliiev@mozilla.com
push dateMon, 06 Jun 2016 20:27:52 +0000
treeherdermozilla-aurora@cea65ca3d0bd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs1271352
milestone49.0a1
Bug 1271352 - DLC Sync: Update kinto endpoint and CDN base domain. r=margaret MozReview-Commit-ID: 8TbsANSzpZZ
mobile/android/base/java/org/mozilla/gecko/dlc/DownloadAction.java
mobile/android/base/java/org/mozilla/gecko/dlc/SyncAction.java
--- a/mobile/android/base/java/org/mozilla/gecko/dlc/DownloadAction.java
+++ b/mobile/android/base/java/org/mozilla/gecko/dlc/DownloadAction.java
@@ -34,17 +34,17 @@ import java.util.zip.GZIPInputStream;
 /**
  * Download content that has been scheduled during "study" or "verify".
  */
 public class DownloadAction extends BaseAction {
     private static final String LOGTAG = "DLCDownloadAction";
 
     private static final String CACHE_DIRECTORY = "downloadContent";
 
-    private static final String CDN_BASE_URL = "https://mobile.cdn.mozilla.net/";
+    private static final String CDN_BASE_URL = "https://fennec-catalog.cdn.mozilla.net/";
 
     public interface Callback {
         void onContentDownloaded(DownloadContent content);
     }
 
     private Callback callback;
 
     public DownloadAction(Callback callback) {
--- a/mobile/android/base/java/org/mozilla/gecko/dlc/SyncAction.java
+++ b/mobile/android/base/java/org/mozilla/gecko/dlc/SyncAction.java
@@ -39,17 +39,17 @@ public class SyncAction extends BaseActi
     private static final String KINTO_PARAMETER_SORT = "_sort";
 
     /**
      * Kinto endpoint with online version of downloadable content catalog
      *
      * Dev instance:
      * https://kinto-ota.dev.mozaws.net/v1/buckets/dlc/collections/catalog/records
      */
-    private static final String CATALOG_ENDPOINT = "https://firefox.settings.services.mozilla.com/v1/buckets/fennec-dlc/collections/catalog/records";
+    private static final String CATALOG_ENDPOINT = "https://firefox.settings.services.mozilla.com/v1/buckets/fennec/collections/catalog/records";
 
     @Override
     public void perform(Context context, DownloadContentCatalog catalog) {
         Log.d(LOGTAG, "Synchronizing catalog.");
 
         if (!isSyncEnabledForClient(context)) {
             Log.d(LOGTAG, "Sync is not enabled for client. Skipping.");
             return;