Example #1
0
 public DeploymentInstanceManager(IDeviceRepositoryManager deviceRepoManager, IDeploymentConnectorService connector, IDeploymentHostManager hostManager, IDeviceRepositoryManager deviceManagerRepo,
                                  IDeploymentActivityQueueManager deploymentActivityQueueManager, IDeploymentInstanceRepo instanceRepo, ISolutionManager solutionManager, IDeploymentHostRepo hostRepo, IDeploymentInstanceStatusRepo deploymentStatusInstanceRepo,
                                  IDataStreamManager dataStreamManager, IAdminLogger logger, IAppConfig appConfig, IDependencyManager depmanager, ISecurity security, ISolutionVersionRepo solutionVersionRepo, IContainerRepositoryManager containerRepoMgr, ISecureStorage secureStorage, IProxyFactory proxyFactory) :
     this(deviceRepoManager, connector, hostManager, deviceManagerRepo, deploymentActivityQueueManager, instanceRepo, solutionManager, hostRepo, deploymentStatusInstanceRepo, dataStreamManager, logger, appConfig, depmanager, security, secureStorage, solutionVersionRepo, containerRepoMgr)
 {
     _proxyFactory = proxyFactory ?? throw new ArgumentNullException(nameof(proxyFactory));
 }
Example #2
0
        public OrgInitializer(IAdminLogger logger, IStarterKitConnection starterKitConnection, IDeviceAdminManager deviceAdminMgr, ISubscriptionManager subscriptionMgr, IPipelineModuleManager pipelineMgr, IDeviceTypeManager deviceTypeMgr, IDeviceRepositoryManager deviceRepoMgr,
                              IUserManager userManager, IProductManager productManager, IDeviceTypeManager deviceTypeManager, IDeviceConfigurationManager deviceCfgMgr, IDeviceMessageDefinitionManager deviceMsgMgr, IDeploymentInstanceManager instanceMgr,
                              IDeploymentHostManager hostMgr, IDeviceManager deviceManager, IContainerRepositoryManager containerMgr, ISolutionManager solutionMgr, IOrganizationRepo orgMgr, ISimulatorManager simMgr, IVerifierManager verifierMgr)
        {
            _userManager     = userManager;
            _deviceAdminMgr  = deviceAdminMgr;
            _subscriptionMgr = subscriptionMgr;
            _pipelineMgr     = pipelineMgr;
            _deviceTypeMgr   = deviceTypeMgr;
            _deviceMsgMgr    = deviceMsgMgr;
            _deviceCfgMgr    = deviceCfgMgr;
            _deviceRepoMgr   = deviceRepoMgr;
            _productManager  = productManager;
            _verifierMgr     = verifierMgr;
            _deviceTypeMgr   = deviceTypeManager;
            _simulatorMgr    = simMgr;
            _orgRepo         = orgMgr;
            _deviceManager   = deviceManager;
            _hostManager     = hostMgr;

            _instanceMgr = instanceMgr;
            _solutionMgr = solutionMgr;

            _storageUtils = new StorageUtils(new Uri(starterKitConnection.StarterKitStorage.Uri), starterKitConnection.StarterKitStorage.AccessKey,
                                             starterKitConnection.StarterKitStorage.ResourceName, logger);
        }
 public DeviceManagementController(IDeviceRepositoryManager repoManager, IDeviceManager deviceManager, IOrganizationManager orgManager, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _orgManager    = orgManager;
     _deviceManager = deviceManager;
     _repoManager   = repoManager;
     _userManager   = userManager;
 }
 public AppsDeviceManagementController(IDeviceRepositoryManager repoManager, IDeviceManager deviceManager,
                                       IOrganizationManager orgManager, UserManager <AppUser> userManager, IAdminLogger logger) : base(repoManager, userManager, logger)
 {
     _orgManager    = orgManager ?? throw new ArgumentNullException(nameof(orgManager));
     _deviceManager = deviceManager ?? throw new ArgumentNullException(nameof(deviceManager));
     _userManager   = userManager ?? throw new ArgumentNullException(nameof(userManager));
 }
Example #5
0
 public RemoteConfigurationManager(IAdminLogger logger, IAppConfig appConfig,
                                   IFirmwareManager firmwareManager, IDependencyManager depmanager, IDeviceRepositoryManager repoManager, ISecurity security,
                                   IProxyFactory proxyFactory) : base(logger, appConfig, depmanager, security)
 {
     _proxyFactory    = proxyFactory ?? throw new ArgumentNullException(nameof(proxyFactory));
     _repoManager     = repoManager ?? throw new ArgumentNullException(nameof(repoManager));
     _firmwareManager = firmwareManager ?? throw new ArgumentNullException(nameof(firmwareManager));
 }
 public DeploymentInstanceManagerCore(IDeploymentHostManager deploymentHostManager, IDeploymentInstanceRepo instanceRepo, IDeviceRepositoryManager deviceManagerRepo,
                                      IDeploymentInstanceStatusRepo deploymentInstanceStatusRepo, IAdminLogger logger, IAppConfig appConfig, IDependencyManager depmanager, ISecurity security) :
     base(logger, appConfig, depmanager, security)
 {
     _deviceManagerRepo            = deviceManagerRepo;
     _instanceRepo                 = instanceRepo;
     _deploymentHostManager        = deploymentHostManager;
     _deploymentInstanceStatusRepo = deploymentInstanceStatusRepo;
 }
Example #7
0
 public DeploymentInstanceManager(IDeviceRepositoryManager deviceRepoManager, IDeploymentConnectorService connector, IDeploymentHostManager hostManager, IDeviceRepositoryManager deviceManagerRepo,
                                  IDeploymentActivityQueueManager deploymentActivityQueueManager, IDeploymentInstanceRepo instanceRepo, ISolutionManager solutionManager, IDeploymentHostRepo hostRepo, IDeploymentInstanceStatusRepo deploymentStatusInstanceRepo,
                                  IAdminLogger logger, IAppConfig appConfig, IDependencyManager depmanager, ISecurity security) : base(hostManager, instanceRepo, deviceManagerRepo, deploymentStatusInstanceRepo, logger, appConfig, depmanager, security)
 {
     _hostManager     = hostManager;
     _instanceRepo    = instanceRepo;
     _solutionManager = solutionManager;
     _deploymentActivityQueueManager = deploymentActivityQueueManager;
     _connector                    = connector;
     _deviceRepoManager            = deviceRepoManager;
     _hostRepo                     = hostRepo;
     _deploymentInstanceStatusRepo = deploymentStatusInstanceRepo;
 }
Example #8
0
        public CloneServices(IDeviceAdminManager deviceAdminMgr, ISubscriptionManager subscriptionMgr, IPipelineModuleManager pipelineMgr, IDeviceTypeManager deviceTypeMgr, IDeviceRepositoryManager deviceRepoMgr,
                             IProductManager productManager, IDeviceConfigurationManager deviceCfgMgr, IDeviceMessageDefinitionManager deviceMsgMgr, IDeploymentHostManager hostMgr, IDeploymentInstanceManager instanceMgr,
                             ISolutionManager solutionMgr, IVerifierManager verifierMgr)
        {
            _deviceAdminMgr  = deviceAdminMgr;
            _subscriptionMgr = subscriptionMgr;
            _pipelineMgr     = pipelineMgr;
            _deviceTypeMgr   = deviceTypeMgr;
            _deviceMsgMgr    = deviceMsgMgr;
            _deviceCfgMgr    = deviceCfgMgr;
            _deviceRepoMgr   = deviceRepoMgr;
            _productManager  = productManager;
            _verifierMgr     = verifierMgr;

            _hostMgr     = hostMgr;
            _instanceMgr = instanceMgr;
            _solutionMgr = solutionMgr;
        }
 public ServiceTicketManager(IServiceTicketRepo repo, IServiceBoardRepo boardRepo, IDeviceRepositoryManager repoManager, IDeviceManager deviceManager, ITemplateCategoryRepo templateCategoryRepo,
                             IEmailSender emailSender, ISmsSender smsSender, IAppConfig appConfig, IAdminLogger logger, ITicketStatusRepo ticketStatusRepo, IServiceTicketTemplateRepo templateRepo,
                             IDistributionManager distroManager, IUserManager userManager, IDeviceConfigurationManager deviceConfigManager, IDependencyManager depmanager, ISecurity security)
     : base(logger, appConfig, depmanager, security)
 {
     _repo                 = repo ?? throw new ArgumentNullException(nameof(repo));
     _serviceBoardRepo     = boardRepo ?? throw new ArgumentNullException(nameof(boardRepo));
     _repoManager          = repoManager ?? throw new ArgumentNullException(nameof(repoManager));
     _deviceManager        = deviceManager ?? throw new ArgumentNullException(nameof(deviceManager));
     _templateRepo         = templateRepo ?? throw new ArgumentNullException(nameof(templateRepo));
     _ticketStatusRepo     = ticketStatusRepo ?? throw new ArgumentNullException(nameof(ticketStatusRepo));
     _templateCategoryRepo = templateCategoryRepo ?? throw new ArgumentNullException(nameof(templateCategoryRepo));
     _deviceConfigManager  = deviceConfigManager ?? throw new ArgumentNullException(nameof(deviceConfigManager));
     _emailSender          = emailSender ?? throw new ArgumentNullException(nameof(emailSender));
     _smsSender            = smsSender ?? throw new ArgumentNullException(nameof(smsSender));
     _userManager          = userManager ?? throw new ArgumentNullException(nameof(userManager));
     _distroManager        = distroManager ?? throw new ArgumentNullException(nameof(distroManager));
 }
Example #10
0
 public DeploymentInstanceManager(IDeviceRepositoryManager deviceRepoManager, IDeploymentConnectorService connector, IDeploymentHostManager hostManager, IDeviceRepositoryManager deviceManagerRepo,
                                  IDeploymentActivityQueueManager deploymentActivityQueueManager, IDeploymentInstanceRepo instanceRepo, ISolutionManager solutionManager, IDeploymentHostRepo hostRepo, IDeploymentInstanceStatusRepo deploymentStatusInstanceRepo,
                                  IDataStreamManager dataStreamManager, IAdminLogger logger, IAppConfig appConfig, IDependencyManager depmanager, ISecurity security, ISecureStorage secureStorage, ISolutionVersionRepo solutionVersionRepo,
                                  IContainerRepositoryManager containerRepoMgr) :
     base(hostManager, instanceRepo, deviceManagerRepo, secureStorage, deploymentStatusInstanceRepo, logger, appConfig, depmanager, security)
 {
     _hostManager     = hostManager;
     _appConfig       = appConfig;
     _adminLogger     = logger;
     _instanceRepo    = instanceRepo;
     _solutionManager = solutionManager;
     _deploymentActivityQueueManager = deploymentActivityQueueManager;
     _solutionVersionRepo            = solutionVersionRepo;
     _connector                    = connector;
     _deviceRepoManager            = deviceRepoManager;
     _hostRepo                     = hostRepo;
     _secureStorage                = secureStorage;
     _deploymentInstanceStatusRepo = deploymentStatusInstanceRepo;
     _containerRepoMgr             = containerRepoMgr;
     _dataStreamManager            = dataStreamManager;
 }
 public DeploymentInstanceManager(IDeviceRepositoryManager deviceRepoManager, IDeploymentConnectorService connector, IDeploymentHostManager hostManager, IDeviceRepositoryManager deviceManagerRepo,
                                  IDeploymentActivityQueueManager deploymentActivityQueueManager, IDeploymentInstanceRepo instanceRepo, ISolutionManager solutionManager, IDeploymentHostRepo hostRepo, IDeploymentInstanceStatusRepo deploymentStatusInstanceRepo,
                                  IUserManager userManager, IDataStreamManager dataStreamManager, IAdminLogger logger, IAppConfig appConfig, IDependencyManager depmanager, ISecurity security, ISecureStorage secureStorage, ISolutionVersionRepo solutionVersionRepo,
                                  IContainerRepositoryManager containerRepoMgr, IPipelineModuleManager pipelineModuleManager, IDeviceTypeManager deviceTypeManager) :
     base(hostManager, instanceRepo, deviceManagerRepo, secureStorage, deploymentStatusInstanceRepo, userManager, logger, appConfig, depmanager, security)
 {
     _hostManager     = hostManager ?? throw new ArgumentNullException(nameof(hostManager));
     _appConfig       = appConfig ?? throw new ArgumentNullException(nameof(appConfig));
     _adminLogger     = logger ?? throw new ArgumentNullException(nameof(logger));
     _instanceRepo    = instanceRepo ?? throw new ArgumentNullException(nameof(instanceRepo));
     _solutionManager = solutionManager ?? throw new ArgumentNullException(nameof(solutionManager));
     _deploymentActivityQueueManager = deploymentActivityQueueManager ?? throw new ArgumentNullException(nameof(deploymentActivityQueueManager));
     _solutionVersionRepo            = solutionVersionRepo ?? throw new ArgumentNullException(nameof(solutionVersionRepo));
     _connector                    = connector ?? throw new ArgumentNullException(nameof(connector));
     _deviceRepoManager            = deviceRepoManager ?? throw new ArgumentNullException(nameof(deviceRepoManager));
     _hostRepo                     = hostRepo ?? throw new ArgumentNullException(nameof(hostRepo));
     _secureStorage                = secureStorage ?? throw new ArgumentNullException(nameof(secureStorage));
     _deploymentInstanceStatusRepo = deploymentStatusInstanceRepo ?? throw new ArgumentNullException(nameof(deploymentStatusInstanceRepo));
     _containerRepoMgr             = containerRepoMgr ?? throw new ArgumentNullException(nameof(containerRepoMgr));
     _dataStreamManager            = dataStreamManager ?? throw new ArgumentNullException(nameof(dataStreamManager));
     _userManager                  = userManager ?? throw new ArgumentNullException(nameof(userManager));
     _pipelineModuleManager        = pipelineModuleManager ?? throw new ArgumentNullException(nameof(pipelineModuleManager));
     _deviceTypeManager            = deviceTypeManager ?? throw new ArgumentNullException(nameof(deviceTypeManager));
 }
 public DevicePEMController(IDeviceRepositoryManager repoManager, IDevicePEMManager devicePEMManager, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _repoManager      = repoManager;
     _devicePEMManager = devicePEMManager;
 }
Example #13
0
 public DeviceRepositoryController(IDeviceRepositoryManager deviceReposistoryManager, IProductStore productStore, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _deviceRepositoryManager = deviceReposistoryManager;
     _productStore            = productStore;
 }
Example #14
0
 public ClientAppAPIController(IDeviceRepositoryManager repoManager,
                               UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _repoManager = repoManager;
 }
Example #15
0
 public TelemetryController(ITelemetryManager telemetryManager, IDeviceRepositoryManager repoManager, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _telemetryManager = telemetryManager;
     _repoManager      = repoManager;
 }
Example #16
0
 public AppsDeviceGroupController(IDeviceRepositoryManager repoManager,
                                  IDeviceGroupManager deviceGroupManager, UserManager <AppUser> userManager, IAdminLogger logger)
     : base(repoManager, userManager, logger)
 {
     _deviceGroupManager = deviceGroupManager;
 }