public RecurringJobScheduler(
     InstanceContext instanceContext,
     ExecutionLogService executionLogService)
 {
     _instanceContext     = instanceContext;
     _executionLogService = executionLogService;
 }
Beispiel #2
0
        public ProcessDirector(
            StateRepository stateRepository,

            AcumaticaManager acumaticaManager,
            ShopifyManager shopifyManager,
            SyncManager syncManager,

            ExecutionLogService executionLogService,
            ConfigStatusService configStatusService,
            CombinedRefDataService combinedRefDataService,
            SettingsRepository settingsRepository,
            JobMonitoringService monitoringService)
        {
            _stateRepository = stateRepository;

            _acumaticaManager = acumaticaManager;
            _shopifyManager   = shopifyManager;
            _syncManager      = syncManager;

            _executionLogService    = executionLogService;
            _configStatusService    = configStatusService;
            _settingsRepository     = settingsRepository;
            _combinedRefDataService = combinedRefDataService;
            _monitoringService      = monitoringService;
        }
Beispiel #3
0
 public AcumaticaOrderPut(
     SyncOrderRepository syncOrderRepository,
     SyncInventoryRepository syncInventoryRepository,
     SalesOrderClient salesOrderClient,
     AcumaticaOrderRepository acumaticaOrderRepository,
     AcumaticaCustomerPut acumaticaCustomerSync,
     AcumaticaOrderPaymentPut acumaticaOrderPaymentPut,
     PendingActionService pendingActionService,
     JobMonitoringService jobMonitoringService,
     AcumaticaTimeZoneService acumaticaTimeZoneService,
     AcumaticaHttpContext acumaticaHttpContext,
     ShopifyJsonService shopifyJsonService,
     SettingsRepository settingsRepository,
     ExecutionLogService logRepository,
     IPushLogger systemLogger)
 {
     _syncOrderRepository      = syncOrderRepository;
     _syncInventoryRepository  = syncInventoryRepository;
     _salesOrderClient         = salesOrderClient;
     _acumaticaOrderRepository = acumaticaOrderRepository;
     _acumaticaCustomerSync    = acumaticaCustomerSync;
     _acumaticaOrderPaymentPut = acumaticaOrderPaymentPut;
     _acumaticaTimeZoneService = acumaticaTimeZoneService;
     _pendingActionService     = pendingActionService;
     _jobMonitoringService     = jobMonitoringService;
     _shopifyJsonService       = shopifyJsonService;
     _settingsRepository       = settingsRepository;
     _logService           = logRepository;
     _systemLogger         = systemLogger;
     _acumaticaHttpContext = acumaticaHttpContext;
 }
Beispiel #4
0
 public SyncController(
     StateRepository stateRepository,
     OneTimeJobScheduler oneTimeJobService,
     RecurringJobScheduler recurringJobService,
     JobMonitoringService jobStatusService,
     ExecutionLogService logRepository,
     SyncInventoryRepository syncInventoryRepository,
     SettingsRepository settingsRepository,
     ShopifyUrlService shopifyUrlService,
     ConfigStatusService configStatusService,
     InstanceContext instanceContext,
     AcumaticaUrlService acumaticaUrlService,
     OrderApi shopifyOrderApi)
 {
     _stateRepository         = stateRepository;
     _oneTimeJobService       = oneTimeJobService;
     _recurringJobService     = recurringJobService;
     _jobStatusService        = jobStatusService;
     _logRepository           = logRepository;
     _syncInventoryRepository = syncInventoryRepository;
     _shopifyUrlService       = shopifyUrlService;
     _shopifyOrderApi         = shopifyOrderApi;
     _instanceContext         = instanceContext;
     _acumaticaUrlService     = acumaticaUrlService;
     _configStatusService     = configStatusService;
     _settingsRepository      = settingsRepository;
 }
 public AcumaticaOrderGet(
     AcumaticaOrderRepository orderRepository,
     AcumaticaTimeZoneService timeZoneService,
     AcumaticaBatchRepository batchStateRepository,
     AcumaticaHttpConfig acumaticaHttpConfig,
     SettingsRepository settingsRepository,
     SalesOrderClient salesOrderClient,
     ShipmentClient shipmentClient,
     InvoiceClient invoiceClient,
     ExecutionLogService executionLogService,
     JobMonitoringService jobMonitoringService,
     AcumaticaJsonService acumaticaJsonService)
 {
     _orderRepository      = orderRepository;
     _timeZoneService      = timeZoneService;
     _batchStateRepository = batchStateRepository;
     _acumaticaHttpConfig  = acumaticaHttpConfig;
     _salesOrderClient     = salesOrderClient;
     _settingsRepository   = settingsRepository;
     _shipmentClient       = shipmentClient;
     _invoiceClient        = invoiceClient;
     _executionLogService  = executionLogService;
     _jobMonitoringService = jobMonitoringService;
     _acumaticaJsonService = acumaticaJsonService;
 }
Beispiel #6
0
 public OneTimeJobScheduler(
     InstanceContext tenantContext,
     JobMonitoringService monitoringService,
     ExecutionLogService executionLogService)
 {
     _tenantContext       = tenantContext;
     _monitoringService   = monitoringService;
     _executionLogService = executionLogService;
 }
Beispiel #7
0
 public JobMonitoringService(
     InstanceContext instanceContext,
     MiscPersistContext dataContext,
     ExecutionLogService executionLogService)
 {
     _instanceContext     = instanceContext;
     _dataContext         = dataContext;
     _executionLogService = executionLogService;
 }
Beispiel #8
0
 public JobController(
     JobMonitoringService jobStatusService,
     ExecutionLogService logRepository,
     StateRepository stateRepository,
     RecurringJobScheduler recurringJobScheduler)
 {
     _jobStatusService      = jobStatusService;
     _logRepository         = logRepository;
     _stateRepository       = stateRepository;
     _recurringJobScheduler = recurringJobScheduler;
 }
Beispiel #9
0
 public ShopifyTransactionGet(
     ShopifyOrderRepository orderRepository,
     ShopifyJsonService shopifyJsonService,
     ExecutionLogService logService,
     OrderApi orderApi)
 {
     _shopifyJsonService = shopifyJsonService;
     _orderRepository    = orderRepository;
     _logService         = logService;
     _orderApi           = orderApi;
 }
Beispiel #10
0
 public CombinedRefDataService(
     ShopifyPaymentGatewayService paymentGatewayService,
     AcumaticaTimeZoneService instanceTimeZoneService,
     SettingsRepository settingsRepository,
     ReferenceDataRepository referenceDataRepository,
     ExecutionLogService logService)
 {
     _paymentGatewayService   = paymentGatewayService;
     _instanceTimeZoneService = instanceTimeZoneService;
     _settingsRepository      = settingsRepository;
     _referenceDataRepository = referenceDataRepository;
     _logService = logService;
 }
Beispiel #11
0
 public JobRunner(
     ProcessDirector processDirector,
     InstanceContext instanceContext,
     JobMonitoringService jobMonitoringService,
     ExecutionLogService executionLogService,
     OneTimeJobScheduler oneTimeJobScheduler,
     IPushLogger logger)
 {
     _processDirector      = processDirector;
     _instanceContext      = instanceContext;
     _jobMonitoringService = jobMonitoringService;
     _executionLogService  = executionLogService;
     _oneTimeJobScheduler  = oneTimeJobScheduler;
     _logger = logger;
 }
 public AcumaticaInventoryGet(
     DistributionClient inventoryClient,
     AcumaticaInventoryRepository inventoryRepository,
     AcumaticaBatchRepository batchStateRepository,
     AcumaticaTimeZoneService instanceTimeZoneService,
     AcumaticaJsonService acumaticaJsonService,
     ExecutionLogService executionLogService,
     AcumaticaHttpConfig config)
 {
     _inventoryClient         = inventoryClient;
     _inventoryRepository     = inventoryRepository;
     _batchStateRepository    = batchStateRepository;
     _executionLogService     = executionLogService;
     _instanceTimeZoneService = instanceTimeZoneService;
     _acumaticaJsonService    = acumaticaJsonService;
     _config = config;
 }
Beispiel #13
0
 public AnalysisController(
     ExecutionLogService logRepository,
     AnalysisDataService analysisDataService,
     PendingActionService pendingActionService,
     InstanceContext instanceContext,
     ShopifyOrderRepository shopifyOrderRepository,
     ShopifyUrlService shopifyUrlService,
     ShopifyJsonService shopifyJsonService)
 {
     _logRepository          = logRepository;
     _analysisDataService    = analysisDataService;
     _pendingActionService   = pendingActionService;
     _instanceContext        = instanceContext;
     _shopifyOrderRepository = shopifyOrderRepository;
     _shopifyUrlService      = shopifyUrlService;
     _shopifyJsonService     = shopifyJsonService;
 }
Beispiel #14
0
 public ShopifyProductVariantPut(
     SyncInventoryRepository syncInventoryRepository,
     SettingsRepository settingsRepository,
     ShopifyInventoryGet shopifyInventoryGet,
     ShopifyInventoryPut shopifyInventoryPut,
     AcumaticaJsonService acumaticaJsonService,
     ExecutionLogService logService,
     ProductApi productApi)
 {
     _syncInventoryRepository = syncInventoryRepository;
     _settingsRepository      = settingsRepository;
     _shopifyInventoryGet     = shopifyInventoryGet;
     _shopifyInventoryPut     = shopifyInventoryPut;
     _acumaticaJsonService    = acumaticaJsonService;
     _logService = logService;
     _productApi = productApi;
 }
 public ShopifyInventoryPut(
     InventoryApi inventoryApi,
     ProductApi productApi,
     ShopifyInventoryRepository inventoryRepository,
     SyncInventoryRepository syncInventoryRepository,
     SettingsRepository settingsRepository,
     ExecutionLogService executionLogService,
     IPushLogger logger, AcumaticaJsonService acumaticaJsonService)
 {
     _inventoryApi            = inventoryApi;
     _productApi              = productApi;
     _inventoryRepository     = inventoryRepository;
     _syncInventoryRepository = syncInventoryRepository;
     _settingsRepository      = settingsRepository;
     _executionLogService     = executionLogService;
     _logger = logger;
     _acumaticaJsonService = acumaticaJsonService;
 }
Beispiel #16
0
 public AcumaticaStockItemPut(
     AcumaticaInventoryRepository inventoryRepository,
     SyncInventoryRepository syncRepository,
     DistributionClient distributionClient,
     SettingsRepository settingsRepository,
     ExecutionLogService logService,
     ShopifyJsonService shopifyJsonService,
     JobMonitoringService jobMonitoringService, AcumaticaJsonService acumaticaJsonService)
 {
     _syncRepository       = syncRepository;
     _inventoryRepository  = inventoryRepository;
     _distributionClient   = distributionClient;
     _settingsRepository   = settingsRepository;
     _logService           = logService;
     _shopifyJsonService   = shopifyJsonService;
     _jobMonitoringService = jobMonitoringService;
     _acumaticaJsonService = acumaticaJsonService;
 }
 public AcumaticaManager(
     AcumaticaHttpContext acumaticaHttpContext,
     AcumaticaReferenceGet acumaticaReferencePull,
     AcumaticaCustomerGet acumaticaCustomerPull,
     AcumaticaOrderGet acumaticaOrderPull,
     AcumaticaWarehouseGet acumaticaWarehousePull,
     AcumaticaInventoryGet acumaticaInventoryPull,
     StateRepository stateRepository,
     ExecutionLogService executionLogService,
     IPushLogger logger)
 {
     _acumaticaHttpContext   = acumaticaHttpContext;
     _acumaticaCustomerPull  = acumaticaCustomerPull;
     _acumaticaOrderPull     = acumaticaOrderPull;
     _acumaticaWarehousePull = acumaticaWarehousePull;
     _acumaticaInventoryPull = acumaticaInventoryPull;
     _executionLogService    = executionLogService;
     _acumaticaReferencePull = acumaticaReferencePull;
 }
 public AcumaticaCustomerPut(
     AcumaticaOrderRepository acumaticaOrderRepository,
     SyncOrderRepository syncOrderRepository,
     CustomerClient customerClient,
     JobMonitoringService jobMonitoringService,
     ExecutionLogService logService,
     SettingsRepository settingsRepository,
     AcumaticaJsonService acumaticaJsonService,
     ShopifyJsonService shopifyJsonService)
 {
     _acumaticaOrderRepository = acumaticaOrderRepository;
     _syncOrderRepository      = syncOrderRepository;
     _customerClient           = customerClient;
     _jobMonitoringService     = jobMonitoringService;
     _logService           = logService;
     _settingsRepository   = settingsRepository;
     _acumaticaJsonService = acumaticaJsonService;
     _shopifyJsonService   = shopifyJsonService;
 }
Beispiel #19
0
 public ShopifyFulfillmentPut(
     ShopifyOrderRepository shopifyOrderRepository,
     SyncOrderRepository syncOrderRepository,
     SyncInventoryRepository syncInventoryRepository,
     FulfillmentApi fulfillmentApi,
     ExecutionLogService logService,
     FulfillmentStatusService fulfillmentStatusService,
     IPushLogger pushLogger, JobMonitoringService jobMonitoringService,
     ShopifyJsonService shopifyJsonService)
 {
     _shopifyOrderRepository  = shopifyOrderRepository;
     _syncOrderRepository     = syncOrderRepository;
     _syncInventoryRepository = syncInventoryRepository;
     _fulfillmentApi          = fulfillmentApi;
     _logService = logService;
     _fulfillmentStatusService = fulfillmentStatusService;
     _pushLogger           = pushLogger;
     _jobMonitoringService = jobMonitoringService;
     _shopifyJsonService   = shopifyJsonService;
 }
Beispiel #20
0
 public ShopifyInventoryGet(
     IPushLogger logger,
     ProductApi productApi,
     InventoryApi inventoryApi,
     EventApi eventApi,
     ShopifyInventoryRepository inventoryRepository,
     JobMonitoringService jobMonitoringService,
     ShopifyBatchRepository batchRepository,
     ExecutionLogService executionLogService, ShopifyJsonService shopifyJsonService)
 {
     _productApi           = productApi;
     _inventoryApi         = inventoryApi;
     _eventApi             = eventApi;
     _inventoryRepository  = inventoryRepository;
     _jobMonitoringService = jobMonitoringService;
     _batchRepository      = batchRepository;
     _executionLogService  = executionLogService;
     _shopifyJsonService   = shopifyJsonService;
     _logger = logger;
 }
        public AcumaticaRefundPut(

            SyncOrderRepository syncOrderRepository,
            SyncInventoryRepository syncRepository,
            SalesOrderClient salesOrderClient,
            SettingsRepository settingsRepository,
            ExecutionLogService logService,
            AcumaticaOrderGet acumaticaOrderPull,
            AcumaticaOrderPut acumaticaOrderSync,
            IPushLogger logger)
        {
            _syncOrderRepository = syncOrderRepository;
            _salesOrderClient    = salesOrderClient;
            _settingsRepository  = settingsRepository;
            _logService          = logService;
            _acumaticaOrderPull  = acumaticaOrderPull;
            _acumaticaOrderSync  = acumaticaOrderSync;
            _syncRepository      = syncRepository;
            _logger = logger;
        }
Beispiel #22
0
 public ShopifyOrderGet(
     ShopifyOrderRepository orderRepository,
     ShopifyBatchRepository batchRepository,
     SettingsRepository settingsRepository,
     ShopifyCustomerGet shopifyCustomerPull,
     ShopifyTransactionGet shopifyTransactionGet,
     JobMonitoringService jobMonitoringService,
     ExecutionLogService executionLogService,
     ShopifyJsonService shopifyJsonService,
     OrderApi orderApi)
 {
     _orderRepository       = orderRepository;
     _batchRepository       = batchRepository;
     _settingsRepository    = settingsRepository;
     _shopifyCustomerPull   = shopifyCustomerPull;
     _shopifyTransactionGet = shopifyTransactionGet;
     _jobMonitoringService  = jobMonitoringService;
     _executionLogService   = executionLogService;
     _shopifyJsonService    = shopifyJsonService;
     _orderApi = orderApi;
 }
Beispiel #23
0
 public ShopifyManager(
     ShopifyReferenceGet shopifyReferenceGet,
     ShopifyInventoryGet shopifyInventoryPull,
     ShopifyCustomerGet shopifyCustomerPull,
     ShopifyOrderGet shopifyOrderPull,
     ShopifyTransactionGet shopifyTransactionPull,
     ExecutionLogService executionLogService,
     StateRepository stateRepository,
     IPushLogger logger,
     OrderApi orderApi)
 {
     _shopifyReferenceGet    = shopifyReferenceGet;
     _shopifyInventoryPull   = shopifyInventoryPull;
     _shopifyCustomerPull    = shopifyCustomerPull;
     _shopifyOrderPull       = shopifyOrderPull;
     _shopifyTransactionPull = shopifyTransactionPull;
     _executionLogService    = executionLogService;
     _stateRepository        = stateRepository;
     _logger   = logger;
     _orderApi = orderApi;
 }
Beispiel #24
0
        public SyncManager(
            AcumaticaHttpContext acumaticaContext,
            AcumaticaCustomerPut acumaticaCustomerSync,
            AcumaticaOrderPut acumaticaOrderSync,
            AcumaticaStockItemPut acumaticaInventorySync,
            AcumaticaRefundPut acumaticaRefundSync,
            AcumaticaOrderPaymentPut acumaticaPaymentSync,

            WarehouseLocationSync warehouseLocationSync,
            ShopifyInventoryPut shopifyInventorySync,
            ShopifyFulfillmentPut shopifyFulfillmentSync,
            ShopifyProductVariantPut shopifyProductVariantPut,

            JobMonitoringService monitoringService,
            SettingsRepository settingsRepository,
            InstanceContext connectionContext,
            ExecutionLogService executionLogService,
            ILifetimeScope lifetimeScope,
            IPushLogger logger)
        {
            _warehouseLocationSync = warehouseLocationSync;

            _acumaticaCustomerSync  = acumaticaCustomerSync;
            _acumaticaInventorySync = acumaticaInventorySync;
            _acumaticaRefundSync    = acumaticaRefundSync;
            _acumaticaPaymentSync   = acumaticaPaymentSync;
            _acumaticaOrderSync     = acumaticaOrderSync;

            _shopifyInventorySync     = shopifyInventorySync;
            _shopifyFulfillmentSync   = shopifyFulfillmentSync;
            _shopifyProductVariantPut = shopifyProductVariantPut;
            _monitoringService        = monitoringService;

            _acumaticaContext    = acumaticaContext;
            _settingsRepository  = settingsRepository;
            _connectionContext   = connectionContext;
            _executionLogService = executionLogService;
            _lifetimeScope       = lifetimeScope;
            _logger = logger;
        }
 public AcumaticaOrderPaymentPut(
     SyncOrderRepository syncOrderRepository,
     PaymentClient paymentClient,
     SettingsRepository settingsRepository,
     ExecutionLogService logService,
     PendingActionService pendingActionService,
     JobMonitoringService jobMonitoringService,
     AcumaticaTimeZoneService acumaticaTimeZoneService,
     InvoiceClient invoiceClient,
     IPushLogger systemLogger, ShopifyJsonService shopifyJsonService)
 {
     _syncOrderRepository      = syncOrderRepository;
     _paymentClient            = paymentClient;
     _settingsRepository       = settingsRepository;
     _pendingActionService     = pendingActionService;
     _systemLogger             = systemLogger;
     _shopifyJsonService       = shopifyJsonService;
     _jobMonitoringService     = jobMonitoringService;
     _acumaticaTimeZoneService = acumaticaTimeZoneService;
     _invoiceClient            = invoiceClient;
     _logService = logService;
 }
Beispiel #26
0
        public ConfigController(
            CredentialsRepository connectionRepository,
            StateRepository stateRepository,
            ExecutionLogService logRepository,
            OneTimeJobScheduler oneTimeJobService,
            JobMonitoringService jobStatusService,
            ConfigStatusService statusService,
            CombinedRefDataService combinedRefDataService,
            SettingsRepository settingsRepository,
            SyncInventoryRepository syncInventoryRepository,
            ShopifyPaymentGatewayService gatewayService)
        {
            _connectionRepository = connectionRepository;
            _stateRepository      = stateRepository;
            _oneTimeJobService    = oneTimeJobService;

            _statusService           = statusService;
            _combinedRefDataService  = combinedRefDataService;
            _settingsRepository      = settingsRepository;
            _logRepository           = logRepository;
            _syncInventoryRepository = syncInventoryRepository;
            _gatewayService          = gatewayService;
            _jobStatusService        = jobStatusService;
        }
 public WarehouseLocationSync(
     SyncInventoryRepository repository, ExecutionLogService executionLogService)
 {
     _repository          = repository;
     _executionLogService = executionLogService;
 }