Ejemplo n.º 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, 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));
 }
Ejemplo n.º 3
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));
 }
Ejemplo n.º 4
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);
        }
Ejemplo n.º 5
0
 public ContainerRepositoryController(IContainerRepositoryManager containerManager, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _containerManager = containerManager;
 }