Bug 814331 - Check counts before syncing limited cllections. r=nalexander
This commit is contained in:
@@ -464,9 +464,18 @@ public class SyncConfiguration implements CredentialsSource {
|
||||
return serverURL + "user/1.0/" + userPart;
|
||||
}
|
||||
|
||||
public String infoURL() {
|
||||
return clusterURL + GlobalSession.API_VERSION + "/" + username + "/info/collections";
|
||||
public String infoBaseURL() {
|
||||
return clusterURL + GlobalSession.API_VERSION + "/" + username + "/info/";
|
||||
}
|
||||
|
||||
public String infoCollectionsURL() {
|
||||
return infoBaseURL() + "collections";
|
||||
}
|
||||
|
||||
public String infoCollectionCountsURL() {
|
||||
return infoBaseURL() + "collection_counts";
|
||||
}
|
||||
|
||||
public String metaURL() {
|
||||
return clusterURL + GlobalSession.API_VERSION + "/" + username + "/storage/meta/global";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user