Updating
This commit is contained in:
+11
-1
@@ -14,6 +14,7 @@ using LCU.Library.Internal.FileOperationsModels.Models;
|
||||
using LCU.Library.Internal.FileOperationsModels.Models.Requests;
|
||||
using LCU.Library.Internal.FileUpdaterModels.Models.Requests;
|
||||
using LCU.Library.Internal.IncentiveApiModels.Requests;
|
||||
using LCU.Library.Internal.MemberPreferencesApiModels.Requests;
|
||||
using LCU.Library.Internal.MomBotModels.Models;
|
||||
using LCU.Library.Internal.NoticeProcessorModel.Models;
|
||||
using LCU.Library.Internal.NotificationsModels.Models;
|
||||
@@ -45,6 +46,7 @@ public class ActionBuilderService : IActionBuilderService
|
||||
private readonly TemenosNotificationApiConfiguration _temenosNotificationApiConfiguration;
|
||||
private readonly RealTimeAlertsApiConfiguration _realTimeAlertsApiConfiguration;
|
||||
private readonly RepoApiConfiguration _repoApiConfiguration;
|
||||
private readonly MemberPreferencesApiConfiguration _memberPreferencesApiConfiguration;
|
||||
|
||||
public ActionBuilderService(FileOperationsApiConfiguration fileOperationsApiConfiguration,
|
||||
FtpApiConfiguration ftpApiConfiguration,
|
||||
@@ -63,7 +65,8 @@ public class ActionBuilderService : IActionBuilderService
|
||||
FileUpdaterApiConfiguration fileUpdaterApiConfiguration,
|
||||
TemenosNotificationApiConfiguration temenosNotificationApiConfiguration,
|
||||
RealTimeAlertsApiConfiguration realTimeAlertsApiConfiguration,
|
||||
RepoApiConfiguration repoApiConfiguration)
|
||||
RepoApiConfiguration repoApiConfiguration,
|
||||
MemberPreferencesApiConfiguration memberPreferencesApiConfiguration)
|
||||
{
|
||||
_fileOperationsApiConfiguration = fileOperationsApiConfiguration;
|
||||
_ftpApiConfiguration = ftpApiConfiguration;
|
||||
@@ -83,6 +86,7 @@ public class ActionBuilderService : IActionBuilderService
|
||||
_temenosNotificationApiConfiguration = temenosNotificationApiConfiguration;
|
||||
_realTimeAlertsApiConfiguration = realTimeAlertsApiConfiguration;
|
||||
_repoApiConfiguration = repoApiConfiguration;
|
||||
_memberPreferencesApiConfiguration = memberPreferencesApiConfiguration;
|
||||
}
|
||||
|
||||
public IActionService BuildAction(ActionType actionType)
|
||||
@@ -345,6 +349,12 @@ public class ActionBuilderService : IActionBuilderService
|
||||
ActionType.RepoBatchProcessRequest),
|
||||
#endregion RepoApi
|
||||
|
||||
#region MemberPreferences
|
||||
nameof(ActionType.MemberPreferencesDNAAuditRequest) => new ActionService<DnaAuditProcessRequest>(_memberPreferencesApiConfiguration.QueueDNAAuditRequestEndpointUrl,
|
||||
HttpMethodType.Post,
|
||||
ActionType.MemberPreferencesDNAAuditRequest),
|
||||
#endregion MemberPreferences
|
||||
|
||||
_ => throw new NotImplementedException(),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user