Defaulting odata actions paths in settings. Fixing broken validation routine

This commit is contained in:
Tomek Melissa 2018-04-20 16:04:22 +02:00
Родитель d85849e95f
Коммит 07094db8fd
4 изменённых файлов: 15 добавлений и 15 удалений

Просмотреть файл

@ -258,7 +258,7 @@ namespace RecurringIntegrationsScheduler.Common.JobSettings
/// <value>
/// The relative path to the ImportFromPackage Odata action
/// </value>
public string ImportFromPackageActionPath { get; private set; }
public string ImportFromPackageActionPath { get; private set; } = OdataActionsConstants.ImportFromPackageActionPath;
/// <summary>
/// Get the GetAzureWriteUrl Odata action relative path
@ -266,7 +266,7 @@ namespace RecurringIntegrationsScheduler.Common.JobSettings
/// <value>
/// The relative path to the GetAzureWriteUrl Odata action
/// </value>
public string GetAzureWriteUrlActionPath { get; private set; }
public string GetAzureWriteUrlActionPath { get; private set; } = OdataActionsConstants.GetAzureWriteUrlActionPath;
/// <summary>
/// Get the GetExecutionSummaryStatus Odata action relative path
@ -274,7 +274,7 @@ namespace RecurringIntegrationsScheduler.Common.JobSettings
/// <value>
/// The relative path to the GetExecutionSummaryStatus Odata action
/// </value>
public string GetExecutionSummaryStatusActionPath { get; private set; }
public string GetExecutionSummaryStatusActionPath { get; private set; } = OdataActionsConstants.GetExecutionSummaryStatusActionPath;
/// <summary>
/// Get the GetExportedPackageUrl Odata action relative path
@ -282,7 +282,7 @@ namespace RecurringIntegrationsScheduler.Common.JobSettings
/// <value>
/// The relative path to the GetExportedPackageUrl Odata action
/// </value>
public string GetExportedPackageUrlActionPath { get; private set; }
public string GetExportedPackageUrlActionPath { get; private set; } = OdataActionsConstants.GetExportedPackageUrlActionPath;
/// <summary>
/// Get the GetExecutionSummaryPageUrl Odata action relative path
@ -290,7 +290,7 @@ namespace RecurringIntegrationsScheduler.Common.JobSettings
/// <value>
/// The relative path to the GetExecutionSummaryPageUrl Odata action
/// </value>
public string GetExecutionSummaryPageUrlActionPath { get; private set; }
public string GetExecutionSummaryPageUrlActionPath { get; private set; } = OdataActionsConstants.GetExecutionSummaryPageUrlActionPath;
/// <summary>
/// Get the DeleteExecutionHistoryJob Odata action relative path
@ -298,7 +298,7 @@ namespace RecurringIntegrationsScheduler.Common.JobSettings
/// <value>
/// The relative path to the DeleteExecutionHistoryJob Odata action
/// </value>
public string DeleteExecutionHistoryJobActionPath { get; private set; }
public string DeleteExecutionHistoryJobActionPath { get; private set; } = OdataActionsConstants.DeleteExecutionHistoryJobActionPath;
/// <summary>
/// Get the ExportToPackage Odata action relative path
@ -306,7 +306,7 @@ namespace RecurringIntegrationsScheduler.Common.JobSettings
/// <value>
/// The relative path to the ExportToPackage Odata action
/// </value>
public string ExportToPackageActionPath { get; private set; }
public string ExportToPackageActionPath { get; private set; } = OdataActionsConstants.ExportToPackageActionPath;
/// <summary>
/// Get the ExportFromPackage Odata action relative path
@ -314,7 +314,7 @@ namespace RecurringIntegrationsScheduler.Common.JobSettings
/// <value>
/// The relative path to the ExportFromPackage Odata action
/// </value>
public string ExportFromPackageActionPath { get; private set; }
public string ExportFromPackageActionPath { get; private set; } = OdataActionsConstants.ExportFromPackageActionPath;
/// <summary>
/// Get the GetMessageStatus Odata action relative path
@ -322,7 +322,7 @@ namespace RecurringIntegrationsScheduler.Common.JobSettings
/// <value>
/// The relative path to the GetMessageStatus Odata action
/// </value>
public string GetMessageStatusActionPath { get; private set; }
public string GetMessageStatusActionPath { get; private set; } = OdataActionsConstants.GetMessageStatusActionPath;
#endregion
}

Просмотреть файл

@ -169,7 +169,7 @@ namespace RecurringIntegrationsScheduler.Forms
if (string.IsNullOrEmpty(checkKb4058074.Result))
{
//TODO
messagesTextBox.Text += Resources.Method_GetMessageStatus_returned_empty_string_Check_previous_errors + Environment.NewLine;
messagesTextBox.Text += Resources.Method_GetMessageStatus_returned_empty_string_KB4058074_is_not_installed + Environment.NewLine;
}
else
{

6
Scheduler/Properties/Resources.Designer.cs сгенерированный
Просмотреть файл

@ -1407,11 +1407,11 @@ namespace RecurringIntegrationsScheduler.Properties {
}
/// <summary>
/// Looks up a localized string similar to Method GetMessageStatus returned empty string. Check previous errors..
/// Looks up a localized string similar to Method GetMessageStatus returned empty string. KB4058074 is not installed..
/// </summary>
internal static string Method_GetMessageStatus_returned_empty_string_Check_previous_errors {
internal static string Method_GetMessageStatus_returned_empty_string_KB4058074_is_not_installed {
get {
return ResourceManager.GetString("Method_GetMessageStatus_returned_empty_string_Check_previous_errors", resourceCulture);
return ResourceManager.GetString("Method_GetMessageStatus_returned_empty_string_KB4058074_is_not_installed", resourceCulture);
}
}

Просмотреть файл

@ -856,8 +856,8 @@
<data name="Instance_seems_to_support_GetMessageStatus_method" xml:space="preserve">
<value>Instance seems to support GetMessageStatus method</value>
</data>
<data name="Method_GetMessageStatus_returned_empty_string_Check_previous_errors" xml:space="preserve">
<value>Method GetMessageStatus returned empty string. Check previous errors.</value>
<data name="Method_GetMessageStatus_returned_empty_string_KB4058074_is_not_installed" xml:space="preserve">
<value>Method GetMessageStatus returned empty string. KB4058074 is not installed.</value>
</data>
<data name="cronTriggerInfo" xml:space="preserve">
<value>With cron expression you can specify schedules such as “every Friday at noon”, or “every weekday and 9:30 am”, or even “every 5 minutes between 9:00 am and 10:00 am on every Monday, Wednesday and Friday during January”.