public OnDataDefinitionChanges(
     ILogger logger,
     IDatasetDefinitionNameChangeProcessor datasetDefinitionChangesProcessor,
     IMessengerService messengerService,
     IUserProfileProvider userProfileProvider, bool useAzureStorage = false)
     : base(logger, messengerService, FunctionName, $"{ServiceBusConstants.TopicNames.DataDefinitionChanges}/{ServiceBusConstants.TopicSubscribers.UpdateDataDefinitionName}", useAzureStorage, userProfileProvider, datasetDefinitionChangesProcessor)
 {
 }
Exemple #2
0
        public static void SetupTests(TestContext tc)
        {
            SetupTests("datasets");

            _logger = CreateLogger();

            _datasetDefinitionChangesProcessor = CreateDatasetDefinitionNameChangeProcessor();
            _processDatasetService             = CreateProcessDatasetService();
            _datasetService      = CreateDatasetService();
            _userProfileProvider = CreateUserProfileProvider();
        }
Exemple #3
0
        public OnDataDefinitionChanges(
            ILogger logger,
            ICorrelationIdProvider correlationIdProvider,
            IDatasetDefinitionNameChangeProcessor datasetDefinitionChangesProcessor)
        {
            Guard.ArgumentNotNull(logger, nameof(logger));
            Guard.ArgumentNotNull(correlationIdProvider, nameof(correlationIdProvider));
            Guard.ArgumentNotNull(datasetDefinitionChangesProcessor, nameof(datasetDefinitionChangesProcessor));

            _logger = logger;
            _correlationIdProvider             = correlationIdProvider;
            _datasetDefinitionChangesProcessor = datasetDefinitionChangesProcessor;
        }