Beispiel #1
0
 public CollectionsController(
     ICollectionsService collectionsService,
     IArtifactListService artifactListService)
 {
     _collectionsService  = collectionsService;
     _artifactListService = artifactListService;
 }
Beispiel #2
0
 public ManageCollectionsController(ICollectionsService collectionsService, IDateTimeProvider dateTimeProvider, ILogger logger, TelemetryClient telemetryClient)
     : base(logger, telemetryClient)
 {
     _logger             = logger;
     _collectionsService = collectionsService;
     _dateTimeProvider   = dateTimeProvider;
 }
Beispiel #3
0
        public ALLFPeriodEndService(
            IStorageService storageService,
            IFileUploadJobMetaDataModelBuilderService fileUploadJobMetaDataModelBuilderService,
            ICollectionsService collectionService,
            IPeriodService periodService,
            IStateService stateService,
            ICloudStorageService cloudStorageService,
            IJobService jobService,
            ILogger logger,
            AzureStorageSection azureStorageConfig,
            ApiSettings apiSettings,
            IHttpClientService httpClientService)
        {
            _storageService = storageService;
            _fileUploadJobMetaDataModelBuilderService = fileUploadJobMetaDataModelBuilderService;

            _collectionService   = collectionService;
            _periodService       = periodService;
            _stateService        = stateService;
            _cloudStorageService = cloudStorageService;
            _jobService          = jobService;
            _logger             = logger;
            _azureStorageConfig = azureStorageConfig;
            _httpClientService  = httpClientService;
            _baseUrl            = apiSettings.JobManagementApiBaseUrl;
        }
 public FundingClaimsDatesService(
     ApiSettings apiSettings,
     ICollectionsService collectionsService,
     IHttpClientService httpClientService)
 {
     _collectionsService = collectionsService;
     _httpClientService  = httpClientService;
     _baseUrl            = apiSettings.FundingClaimsApiBaseUrl;
 }
 public StandardFileNameValidationService(
     IStorageService storageService,
     FeatureFlags featureFlags,
     IJobService jobService,
     ICollectionsService collectionService,
     AzureStorageSection azureStorageSection,
     IEnumerable <ICollection> collections)
     : base(storageService, featureFlags, jobService, collectionService, azureStorageSection, collections)
 {
 }
 public BulkProviderUploadFileNameValidationService(
     IStorageService storageService,
     FeatureFlags featureFlags,
     IJobService jobService,
     ICollectionsService collectionService,
     AzureStorageSection azureStorageSection,
     IEnumerable <ICollection> collections)
     : base(storageService, featureFlags, jobService, collectionService, azureStorageSection, collections)
 {
     _collections = collections;
 }
 public UnPublishController(
     ILogger logger,
     IReportsPublicationService reportsPublicationService,
     IStorageService storageService,
     ICollectionsService collectionsService,
     TelemetryClient telemetryClient)
     : base(logger, telemetryClient)
 {
     _logger = logger;
     _reportsPublicationService = reportsPublicationService;
     _collectionsService        = collectionsService;
 }
 public ReferenceDataController(
     IStorageService storageService,
     ILogger logger,
     TelemetryClient telemetryClient,
     IReferenceDataService referenceDataService,
     ICollectionsService collectionsService,
     IFileNameValidationServiceProvider fileNameValidationServiceProvider)
     : base(storageService, logger, telemetryClient, fileNameValidationServiceProvider)
 {
     _referenceDataService = referenceDataService;
     _collectionsService   = collectionsService;
 }
 public ReportsHub(
     IHubContext <ReportsHub> hubContext,
     IValidationRulesService validationRulesService,
     ICollectionsService collectionsService,
     IPeriodService periodService,
     IReportsService reportsService)
 {
     _hubContext             = hubContext;
     _validationRulesService = validationRulesService;
     _collectionsService     = collectionsService;
     _periodService          = periodService;
     _reportsService         = reportsService;
 }
Beispiel #10
0
 protected AbstractFileNameValidationService(
     IStorageService storageService,
     FeatureFlags featureFlags,
     IJobService jobService,
     ICollectionsService collectionService,
     AzureStorageSection azureStorageConfig,
     IEnumerable <ICollection> collections)
 {
     _storageService     = storageService;
     _featureFlags       = featureFlags;
     _jobService         = jobService;
     _collectionService  = collectionService;
     _azureStorageConfig = azureStorageConfig;
     _collections        = collections;
 }
Beispiel #11
0
 public ReportsController(
     ILogger logger,
     IStorageService storageService,
     IPeriodService periodService,
     IReportsService reportsService,
     ICollectionsService collectionsService,
     IEnumerable <IReport> Reports,
     TelemetryClient telemetryClient)
     : base(logger, telemetryClient)
 {
     _logger             = logger;
     _storageService     = storageService;
     _periodService      = periodService;
     _reportsService     = reportsService;
     _collectionsService = collectionsService;
     _reports            = Reports;
 }
Beispiel #12
0
 public ReportsService(
     ApiSettings apiSettings,
     ICollectionsService collectionsService,
     IEnumerable <IReport> reports,
     IAuthorisationService authorisationService,
     IIndex <PersistenceStorageKeys, IFileService> operationsFileService,
     IHttpClientService httpClientService,
     IPeriodService periodService,
     IDateTimeProvider dateTimeProvider)
 {
     _collectionsService    = collectionsService;
     _reports               = reports;
     _authorisationService  = authorisationService;
     _httpClientService     = httpClientService;
     _periodService         = periodService;
     _dateTimeProvider      = dateTimeProvider;
     _operationsFileService = operationsFileService[PersistenceStorageKeys.OperationsAzureStorage];
     _baseUrl               = apiSettings.JobManagementApiBaseUrl;
 }
 public RuleValidationController(
     ILogger logger,
     ICollectionsService collectionsService,
     IValidationRulesService validationRulesService,
     IJobService jobService,
     IStorageService storageService,
     IJsonSerializationService jsonSerializationService,
     IIndex <PersistenceStorageKeys, IFileService> operationsFileService,
     TelemetryClient telemetryClient)
     : base(logger, telemetryClient)
 {
     _logger                   = logger;
     _collectionsService       = collectionsService;
     _validationRulesService   = validationRulesService;
     _jobService               = jobService;
     _storageService           = storageService;
     _jsonSerializationService = jsonSerializationService;
     _operationsFileService    = operationsFileService[PersistenceStorageKeys.OperationsAzureStorage];
 }
Beispiel #14
0
 private ReportsService NewService(
     ApiSettings apiSettings = null,
     ICollectionsService collectionsService     = null,
     IEnumerable <IReport> reports              = null,
     IAuthorisationService authorisationService = null,
     IIndex <PersistenceStorageKeys, IFileService> operationsFileService = null,
     IHttpClientService httpClientService = null,
     IPeriodService periodService         = null,
     IDateTimeProvider dateTimeProvider   = null)
 {
     return(new ReportsService(
                apiSettings ?? new ApiSettings(),
                collectionsService ?? Mock.Of <ICollectionsService>(),
                reports,
                authorisationService ?? Mock.Of <IAuthorisationService>(),
                operationsFileService ?? Mock.Of <IIndex <PersistenceStorageKeys, IFileService> >(),
                httpClientService ?? Mock.Of <IHttpClientService>(),
                periodService ?? Mock.Of <IPeriodService>(),
                dateTimeProvider ?? Mock.Of <IDateTimeProvider>()));
 }
 public AddNewController(
     ILogger logger,
     IAddNewProviderService addNewProviderService,
     ICollectionsService collectionService,
     IStorageService storageService,
     OpsDataLoadServiceConfigSettings opsDataLoadServiceConfigSettings,
     IJobService jobService,
     IJsonSerializationService jsonSerializationService,
     TelemetryClient telemetryClient,
     IEnumerable <ICollection> collections,
     IFileNameValidationServiceProvider fileNameValidationServiceProvider)
     : base(logger, telemetryClient)
 {
     _logger            = logger;
     _collectionService = collectionService;
     _storageService    = storageService;
     _opsDataLoadServiceConfigSettings = opsDataLoadServiceConfigSettings;
     _jobService = jobService;
     _jsonSerializationService = jsonSerializationService;
     _collections = collections;
     _fileNameValidationServiceProvider = fileNameValidationServiceProvider;
     _addNewProviderService             = addNewProviderService;
 }
 public ReferenceDataService(
     ICollectionsService collectionsService,
     IJobService jobService,
     IFileUploadJobMetaDataModelBuilderService fileUploadJobMetaDataModelBuilderService,
     IFundingClaimsDatesService fundingClaimsDatesService,
     IDateTimeProvider dateTimeProvider,
     ICloudStorageService cloudStorageService,
     ILogger logger,
     IReferenceDataServiceClient referenceDataServiceClient,
     IIndex <PersistenceStorageKeys, IFileService> operationsFileService,
     IEnumerable <ICollection> collections)
 {
     _collectionsService = collectionsService;
     _jobService         = jobService;
     _fileUploadJobMetaDataModelBuilderService = fileUploadJobMetaDataModelBuilderService;
     _fundingClaimsDatesService = fundingClaimsDatesService;
     _dateTimeProvider          = dateTimeProvider;
     _cloudStorageService       = cloudStorageService;
     _logger = logger;
     _referenceDataServiceClient = referenceDataServiceClient;
     _collections = collections;
     _fileService = operationsFileService[PersistenceStorageKeys.DctAzureStorage];
 }
Beispiel #17
0
 public VariantValue CreateVariantValue(VariantValue input,
                                        [Service] ICollectionsService collectionsService)
 {
     return(collectionsService.CreateVariantValue(input));
 }
 public CollectionsController(ICollectionsService collectionsService, IMapper mapper)
 {
     this.collectionsService = collectionsService;
     this.mapper             = mapper;
 }
 public CollectionsController(ICollectionsService service)
 {
     _service = service;
 }
 public Variant CreateVariant(Variant input,
                              [Service] ICollectionsService collectionsService)
 {
     return(collectionsService.CreateVariant(input));
 }
 public ProductCategory CreateProductCategory(ProductCategory input,
                                              [Service] ICollectionsService collectionsService)
 {
     return(collectionsService.CreateProductCategory(input));
 }
 public CollectionsController(ICollectionsService collectionsService, ILoggerService loggerService)
 {
     this.collectionsService = collectionsService;
     this.loggerService      = loggerService;
 }