Beispiel #1
0
 public ActivityController(ISubscriptionRepository subscriptionRepository, IWorkflowController workflowController, IDateTimeProvider dateTimeProvider, IDistributedLockProvider lockProvider)
 {
     _subscriptionRepository = subscriptionRepository;
     _dateTimeProvider       = dateTimeProvider;
     _lockProvider           = lockProvider;
     _workflowController     = workflowController;
 }
 public WorkflowsController(IWorkflowController workflowService, ISearchIndex searchService, IWorkflowRegistry registry, IPersistenceProvider workflowStore)
 {
     _workflowService = workflowService;
     _workflowStore   = workflowStore;
     _registry        = registry;
     _searchService   = searchService;
 }
 public RegistryController(IWorkflowHost workflowHost, IWorkflowRegistry registry, IWorkflowController controller, IDefinitionLoader loader, IPersistenceProvider workflowStore, ILoggerFactory loggerFactory)
 {
     _workflowHost  = workflowHost;
     _workflowStore = workflowStore;
     _registry      = registry;
     _logger        = loggerFactory.CreateLogger <WorkflowController>();
     _controller    = controller;
     _loader        = loader;
 }
Beispiel #4
0
 public AppHostedService(ILogger <AppHostedService> logger,
                         IWorkflowController workflowController,
                         IWorkflowRegistry workflowRegistry,
                         IWorkflowHost workHost)
 {
     _logger             = logger;
     _workflowController = workflowController;
     _workflowRegistry   = workflowRegistry;
     _workHost           = workHost;
 }
Beispiel #5
0
 public ItemWorkflowController(ILogger <ItemWorkflowController> logger,
                               IPersistenceProvider workflowStore,
                               IWorkflowController workflowService,
                               ItemDbContext itemDbContext)
 {
     _workflowService = workflowService;
     _workflowStore   = workflowStore;
     _logger          = logger;
     _itemDbContext   = itemDbContext;
 }
Beispiel #6
0
 public ExecutorService(
     IGenericRepository <Result> resultRepository,
     IGenericRepository <Execution> executionRepository,
     IGenericRepository <Plan> planRepository,
     IWorkflowController workflowService)
 {
     _resultRepository    = resultRepository;
     _executionRepository = executionRepository;
     _planRepository      = planRepository;
     _workflowService     = workflowService;
 }
 public WorkflowHost(IPersistenceProvider persistenceStore, IQueueProvider queueProvider, WorkflowOptions options, ILoggerFactory loggerFactory, IServiceProvider serviceProvider, IWorkflowRegistry registry, IDistributedLockProvider lockProvider, IEnumerable <IBackgroundTask> backgroundTasks, IWorkflowController workflowController)
 {
     PersistenceStore    = persistenceStore;
     QueueProvider       = queueProvider;
     Options             = options;
     Logger              = loggerFactory.CreateLogger <WorkflowHost>();
     _serviceProvider    = serviceProvider;
     Registry            = registry;
     LockProvider        = lockProvider;
     _backgroundTasks    = backgroundTasks;
     _workflowController = workflowController;
 }
 public HomeController(ILogger <HomeController> logger,
                       IWorkflowController workflowController,
                       IWorkflowHost workflowHost,
                       ISearchIndex searchIndex,
                       IPersistenceProvider persistenceProvider
                       )
 {
     _logger              = logger;
     _workflowController  = workflowController;
     _workflowHost        = workflowHost;
     _searchIndex         = searchIndex;
     _persistenceProvider = persistenceProvider;
 }
 public WorkflowExecutor(IWorkflowRegistry registry, IWorkflowController workflowController, IServiceProvider serviceProvider, IScopeProvider scopeProvider, IDateTimeProvider datetimeProvider, IExecutionResultProcessor executionResultProcessor, ILifeCycleEventPublisher publisher, ICancellationProcessor cancellationProcessor, WorkflowOptions options, ILoggerFactory loggerFactory)
 {
     _serviceProvider       = serviceProvider;
     _scopeProvider         = scopeProvider;
     _registry              = registry;
     _datetimeProvider      = datetimeProvider;
     _publisher             = publisher;
     _cancellationProcessor = cancellationProcessor;
     _options = options;
     _logger  = loggerFactory.CreateLogger <WorkflowExecutor>();
     _executionResultProcessor = executionResultProcessor;
     _workflowController       = workflowController;
 }
Beispiel #10
0
 public AbpWorkflowManager(WorkflowDefinitionManager workflowDefinitionManager, IWorkflowHost workflowHost, IWorkflowController workflowService, IWorkflowRegistry registry, IAbpPersistenceProvider workflowStore, ISearchIndex searchService, IDefinitionLoader definitionLoader, IRepository <PersistedWorkflowDefinition, string> workflowDefinitionRepository, IAsyncQueryableExecuter asyncQueryableExecuter)
 {
     _workflowDefinitionManager = workflowDefinitionManager;
     _workflowHost                 = workflowHost;
     _workflowService              = workflowService;
     _registry                     = registry;
     PersistenceProvider           = workflowStore;
     _searchService                = searchService;
     _definitionLoader             = definitionLoader;
     _workflowDefinitionRepository = workflowDefinitionRepository;
     _stepBodys                    = _workflowDefinitionManager.GetAllStepBodys();
     AsyncQueryableExecuter        = asyncQueryableExecuter;
 }
Beispiel #11
0
 public WorkflowHost(
     IWorkflowController workflowController,
     IPersistenceProvider persistenceProvider,
     ILogger <WorkflowHost> logger,
     IServiceProvider serviceProvider,
     IOptions <WorkflowOptions> options)
 {
     _workflowController  = workflowController;
     _logger              = logger;
     _serviceProvider     = serviceProvider;
     _persistenceProvider = persistenceProvider;
     _options             = options.Value;
 }
Beispiel #12
0
 public WorkflowsController(
     IWorkflowController workflowService,
     IWorkflowRegistry registry,
     WorkFlowEvents events, IDefinitionLoader definitionLoader,
     IPersistenceProvider workflowStore, ISearchIndex searchService)
 {
     _workflowService  = workflowService;
     _events           = events;
     _definitionLoader = definitionLoader;
     _workflowStore    = workflowStore;
     _searchService    = searchService;
     _registry         = registry;
 }
Beispiel #13
0
 public WorkflowHost(IPersistenceProvider persistenceStore, IQueueProvider queueProvider, WorkflowOptions options, ILoggerFactory loggerFactory, IServiceProvider serviceProvider, IWorkflowRegistry registry, IDistributedLockProvider lockProvider, IEnumerable <IBackgroundTask> backgroundTasks, IWorkflowController workflowController, ILifeCycleEventHub lifeCycleEventHub)
 {
     PersistenceStore    = persistenceStore;
     QueueProvider       = queueProvider;
     Options             = options;
     Logger              = loggerFactory.CreateLogger <WorkflowHost>();
     _serviceProvider    = serviceProvider;
     Registry            = registry;
     LockProvider        = lockProvider;
     _backgroundTasks    = backgroundTasks;
     _workflowController = workflowController;
     persistenceStore.EnsureStoreExists();
     lifeCycleEventHub.Subscribe(HandleLifeCycleEvent);
 }
 public WorkflowHost(IPersistenceProvider persistenceStore, IQueueProvider queueProvider, WorkflowOptions options, ILoggerFactory loggerFactory, IServiceProvider serviceProvider, IWorkflowRegistry registry, IDistributedLockProvider lockProvider, IEnumerable <IBackgroundTask> backgroundTasks, IWorkflowController workflowController, ILifeCycleEventHub lifeCycleEventHub, ISearchIndex searchIndex, IActivityController activityController)
 {
     PersistenceStore    = persistenceStore;
     QueueProvider       = queueProvider;
     Options             = options;
     Logger              = loggerFactory.CreateLogger <WorkflowHost>();
     _serviceProvider    = serviceProvider;
     Registry            = registry;
     LockProvider        = lockProvider;
     _backgroundTasks    = backgroundTasks;
     _workflowController = workflowController;
     _searchIndex        = searchIndex;
     _activityController = activityController;
     _lifeCycleEventHub  = lifeCycleEventHub;
 }
Beispiel #15
0
        public VirtualUser(Plan plan,
                           Execution execution,
                           IGenericRepository <Execution> executionRepository,
                           IGenericRepository <Result> resultRepository,
                           IWorkflowController workflowService)
        {
            _plan                = plan;
            _execution           = execution;
            _executionRepository = executionRepository;
            _resultRepository    = resultRepository;
            _workflowService     = workflowService;

            _requests   = new List <UserRequest>();
            _restClient = new RestClient(_plan.EndpointUrl);
            _results    = new List <Result>();
        }
 public EventsController(IWorkflowController workflowService, ILogger <EventsController> logger, IWorkflowHost host)
 {
     _workflowService = workflowService;
     _logger          = logger;
     _host            = host;
 }
Beispiel #17
0
 public EventsController(IWorkflowController workflowService)
 {
     _workflowService = workflowService;
 }
Beispiel #18
0
        //public User1()
        //{

        //}
        public User1(IWorkflowController workflowController, IPersistenceProvider persistenceProvider)
        {
            this._workflowController  = workflowController;
            this._persistenceProvider = persistenceProvider;
        }
 public ValuesController(IWorkflowController workflowService)
 {
     _workflowService = workflowService;
 }
Beispiel #20
0
 public EventController(IWorkflowController workflowController)
 {
     _workflowController = workflowController;
 }
Beispiel #21
0
 public Pdf4meController(IWorkflowController workflowController, IPersistenceProvider persistenceProvider, IMapper mapper)
 {
     _workflowController  = workflowController;
     _persistenceProvider = persistenceProvider;
     _mapper = mapper;
 }
Beispiel #22
0
 public PrintMessage(IWorkflowController workflowController, IPersistenceProvider persistenceProvider)
 {
     this._workflowController  = workflowController;
     this._persistenceProvider = persistenceProvider;
 }