Пример #1
0
 public PostSubmit(ISftpService sftpService, ISubmissionCosmosDbService submissionCosmosDbService, IStopCosmosDbService stopCosmosDbService, IUserProfileCosmosDbService userProfileCosmosDbService, ISubmissionServiceBusService serviceBusService)
 {
     _sftpService = sftpService;
     _submissionCosmosDbService  = submissionCosmosDbService;
     _stopCosmosDbService        = stopCosmosDbService;
     _userProfileCosmosDbService = userProfileCosmosDbService;
     _serviceBusService          = serviceBusService;
 }
 public SubmissionUtilities(IStopCosmosDbService stopCosmosDbService, ISubmissionCosmosDbService submissionCosmosDbService, ISftpService sftpService, ILogger logger)
 {
     _stopCosmosDbService       = stopCosmosDbService;
     _submissionCosmosDbService = submissionCosmosDbService;
     _sftpService                = sftpService;
     _sftpInputPath              = Environment.GetEnvironmentVariable("SftpInputPath");
     _logger                     = logger;
     _storageConnectionString    = Environment.GetEnvironmentVariable("RipaStorage");
     _storageContainerNamePrefix = Environment.GetEnvironmentVariable("ContainerPrefixSubmissions");
     _blobContainerClient        = GetBlobContainerClient();
 }
 public PostSubmitSearch(ISftpService sftpService, IStopService stopService, ISubmissionCosmosDbService submissionCosmosDbService, IStopCosmosDbService stopCosmosDbService, IUserProfileCosmosDbService userProfileCosmosDbService, ISubmissionServiceBusService submissionServiceBusService)
 {
     _sftpService = sftpService;
     _stopService = stopService;
     _submissionCosmosDbService  = submissionCosmosDbService;
     _stopCosmosDbService        = stopCosmosDbService;
     _userProfileCosmosDbService = userProfileCosmosDbService;
     _sftpInputPath               = Environment.GetEnvironmentVariable("SftpInputPath");
     _storageConnectionString     = Environment.GetEnvironmentVariable("RipaStorage");
     _storageContainerNamePrefix  = Environment.GetEnvironmentVariable("ContainerPrefixSubmissions");
     _submissionServiceBusService = submissionServiceBusService;
 }
Пример #4
0
 public GetSubmissions(ISubmissionCosmosDbService submissionCosmosDbService, IStopCosmosDbService stopCosmosDbService)
 {
     _submissionCosmosDbService = submissionCosmosDbService;
     _stopCosmosDbService       = stopCosmosDbService;
 }