Exemplo n.º 1
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);
        }
Exemplo n.º 2
0
 public RuntimeController(IDeploymentInstanceManager instanceManager, IRuntimeTokenManager runtimeTokenManager,
                          IOrgUserRepo orgUserRepo, IAppUserManagerReadOnly userManager, IDeploymentHostManager hostManager,
                          IServiceTicketCreator ticketCreator, IEmailSender emailSender, ISmsSender smsSendeer,
                          IDistributionManager distroManager, ISecureStorage secureStorage, IAdminLogger logger)
 {
     _ticketCreator       = ticketCreator ?? throw new ArgumentNullException(nameof(ticketCreator));
     _userManager         = userManager ?? throw new ArgumentNullException(nameof(userManager));
     _orgUserRepo         = orgUserRepo ?? throw new ArgumentNullException(nameof(orgUserRepo));
     _instanceManager     = instanceManager ?? throw new ArgumentNullException(nameof(instanceManager));
     _secureStorage       = secureStorage ?? throw new ArgumentNullException(nameof(secureStorage));
     _runtimeTokenManager = runtimeTokenManager ?? throw new ArgumentNullException(nameof(runtimeTokenManager));
     _hostManager         = hostManager ?? throw new ArgumentNullException(nameof(hostManager));
     _emailSender         = emailSender ?? throw new ArgumentNullException(nameof(emailSender));
     _distroManager       = distroManager ?? throw new ArgumentNullException(nameof(distroManager));
     _smsSender           = smsSendeer ?? throw new ArgumentNullException(nameof(smsSendeer));
 }
Exemplo n.º 3
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;
        }
Exemplo n.º 4
0
 public DeploymentInstanceController(IDeploymentInstanceManager instanceManager, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _instanceManager = instanceManager;
 }
Exemplo n.º 5
0
 public DataStreamDeploymentInstanceController(IDeploymentInstanceManager instanceManager, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _instanceManager = instanceManager ?? throw new ArgumentNullException(nameof(instanceManager));;
 }
Exemplo n.º 6
0
 public DeploymentInstanceController(IDeploymentInstanceManager instanceManager, ITimeZoneServices timeZoneServices, UserManager <AppUser> userManager, IAdminLogger logger) : base(userManager, logger)
 {
     _instanceManager  = instanceManager ?? throw new ArgumentNullException(nameof(instanceManager));;
     _timeZoneServices = timeZoneServices ?? throw new ArgumentNullException(nameof(timeZoneServices));
 }