public ServiceOutageSummaryService( IServiceSlaService serviceSlaService, IServiceOutageRepository serviceOutageRepository, IRefundSupportTicketRepository refundSupportTicketRepository, ISupportedRegionsService supportedRegionsService, IServiceOutageSummaryRepository serviceOutageSummaryRepository, IAzureHealthService azureHealthService, IAzureHealthSPNService azureHealthSPNService, IApiIdentity apiIdentity ) { _serviceSlaService = serviceSlaService; _serviceOutageRepository = serviceOutageRepository; _refundSupportTicketRepository = refundSupportTicketRepository; _supportedRegionsService = supportedRegionsService; _serviceOutageSummaryRepository = serviceOutageSummaryRepository; _azureHealthService = azureHealthService; _azureHealthSPNService = azureHealthSPNService; }
public AzureHealthSPNService( IServiceProvider serviceProvider, IHttpClientFactory httpClientFactory, ISubscriptionRepository subscriptionRepository, ILogger <AzureHealthSPNService> logger, ITokenAcquisition tokenAcquisition, ISupportedRegionsService supportedRegionsService, IMapper mapper, IApiIdentity apiIdentity, IConfiguration configuration) : base(serviceProvider, httpClientFactory, subscriptionRepository, logger, tokenAcquisition, supportedRegionsService, mapper, apiIdentity, configuration) { UseSpn = true; UseUrlNotApiPart = true; Scope = Core.ConstatCsro.Scopes.MANAGEMENT_AZURE_SCOPE; ClientName = Core.ConstatCsro.ClientNames.MANAGEMENT_AZURE_EndPoint; base.Init(); }