Merge pull request #629 from MihaelaStoica/CP-13074

CP-13074: Finalize the CIS domain names and product key used for retr…
This commit is contained in:
Stephen Turner 2015-08-20 17:11:48 +01:00
commit 854e178968
4 changed files with 7 additions and 7 deletions

View File

@ -57,11 +57,11 @@ namespace XenAdmin.Actions
private const string uploadGrantTokenUrl = "/feeds/api/create_grant/";
private const string uploadTokenUrl = "/feeds/api/create_upload/";
private readonly string identityTokenDomainName = "http://cis-daily.citrite.net";
private readonly string uploadGrantTokenDomainName = "https://rttf-daily.citrite.net";
private readonly string uploadTokenDomainName = "https://rttf-daily.citrite.net";
private readonly string identityTokenDomainName = "https://cis.citrix.com";
private readonly string uploadGrantTokenDomainName = "https://rttf.citrix.com";
private readonly string uploadTokenDomainName = "https://rttf.citrix.com";
private readonly string productKey = "eb1b224c461038baf1f08dfba6b8d4b4413f96c7";
private readonly string productKey = "1a2d94a4263cd016dd7a7d510bde87f058a0b75d";
public HealthCheckAuthenticationAction(Pool pool, string username, string password, bool saveTokenAsSecret, long tokenExpiration, bool suppressHistory)
: base(pool != null ? pool.Connection : null, Messages.ACTION_HEALTHCHECK_AUTHENTICATION, Messages.ACTION_HEALTHCHECK_AUTHENTICATION_PROGRESS, suppressHistory)

View File

@ -44,7 +44,7 @@ namespace XenAdmin.Actions
private readonly string bundleToUpload;
private const string UPLOAD_URL = "/feeds/api/";
private readonly string UPLOAD_DOMAIN_NAME = "http://cis-daily.citrite.com";
private readonly string UPLOAD_DOMAIN_NAME = "https://rttf.citrix.com";
private CancellationTokenSource cts;

View File

@ -44,7 +44,7 @@ namespace XenServerHealthCheck
public class XenServerHealthCheckUpload
{
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
public string UPLOAD_URL = "https://rttf-staging.citrix.com/feeds/api/";
public string UPLOAD_URL = "https://rttf.citrix.com/feeds/api/";
public const int CHUNK_SIZE = 1 * 1024 * 1024;
private JavaScriptSerializer serializer;
private int verbosityLevel;

View File

@ -107,7 +107,7 @@ namespace XenServerHealthCheck
{
string domain_name = ReadKey(HEALTH_CHECK_UPLOAD_DOMAIN_NAME);
if (string.IsNullOrEmpty(domain_name))
return "https://rttf-staging.citrix.com/feeds/api/";
return "https://rttf.citrix.com/feeds/api/";
return domain_name;
}
}