Esempio n. 1
0
 public CompleteAzureFirstTimeSetupCommand(
     IUsersContext usersContext,
     IAzureSqlSecurityConfigurator cloudOdsSqlConfigurator,
     ISecurityContext securityContext,
     ICloudOdsClaimSetConfigurator cloudOdsClaimSetConfigurator,
     IGetCloudOdsInstanceQuery getCloudOdsInstanceQuery,
     IGetAzureCloudOdsHostedComponentsQuery getCloudOdsHostedComponentQuery,
     IOdsSecretConfigurationProvider odsSecretConfigurationProvider,
     ICloudOdsDatabaseSqlServerSecurityConfiguration cloudOdsDatabaseSqlServerSecurityConfiguration,
     IOdsInstanceFirstTimeSetupService odsInstanceFirstTimeSetupService,
     IRestartAppServicesCommand restartAppServicesCommand,
     IAssessmentVendorAdjustment assessmentVendorAdjustment,
     ILearningStandardsSetup learningStandardsSetup)
 {
     _restartAppServicesCommand  = restartAppServicesCommand;
     _assessmentVendorAdjustment = assessmentVendorAdjustment;
     _learningStandardsSetup     = learningStandardsSetup;
     _usersContext                     = usersContext;
     _cloudOdsSqlConfigurator          = cloudOdsSqlConfigurator;
     _securityContext                  = securityContext;
     _cloudOdsClaimSetConfigurator     = cloudOdsClaimSetConfigurator;
     _getCloudOdsInstanceQuery         = getCloudOdsInstanceQuery;
     _getCloudOdsHostedComponentsQuery = getCloudOdsHostedComponentQuery;
     _odsSecretConfigurationProvider   = odsSecretConfigurationProvider;
     _cloudOdsDatabaseSqlServerSecurityConfiguration = cloudOdsDatabaseSqlServerSecurityConfiguration;
     _odsInstanceFirstTimeSetupService = odsInstanceFirstTimeSetupService;
 }
 public GetAzureCloudOdsApiWebsiteSettingsQuery(AzureActiveDirectoryClientInfo azureActiveDirectoryClientInfo, IGetAzureCloudOdsHostedComponentsQuery getAzureCloudOdsHostedComponentsQuery,
                                                TokenCache tokenCache, GetAzureCloudOdsHostedInstanceQuery getCloudOdsHostedInstanceQuery)
 {
     _azureActiveDirectoryClientInfo        = azureActiveDirectoryClientInfo;
     _getAzureCloudOdsHostedComponentsQuery = getAzureCloudOdsHostedComponentsQuery;
     _armClient = new AzureResourceManagerClient(azureActiveDirectoryClientInfo, tokenCache);
     _getCloudOdsHostedInstanceQuery = getCloudOdsHostedInstanceQuery;
 }
 public GetAzureCloudOdsWebsitePerformanceLevelQuery(AzureActiveDirectoryClientInfo activeDirectoryClientInfo, TokenCache tokenCache,
                                                     IGetAzureCloudOdsHostedComponentsQuery getAzureCloudOdsHostedComponentsQuery, GetAzureCloudOdsHostedInstanceQuery getCloudOdsHostedInstanceQuery)
 {
     _activeDirectoryClientInfo             = activeDirectoryClientInfo;
     _getAzureCloudOdsHostedComponentsQuery = getAzureCloudOdsHostedComponentsQuery;
     _armClient = new AzureResourceManagerClient(activeDirectoryClientInfo, tokenCache);
     _getCloudOdsHostedInstanceQuery = getCloudOdsHostedInstanceQuery;
 }
 public RestartAzureAppServicesCommand(AzureActiveDirectoryClientInfo azureActiveDirectoryClientInfo
                                       , GetAzureCloudOdsHostedInstanceQuery getCloudOdsHostedInstanceQuery
                                       , IGetAzureCloudOdsHostedComponentsQuery getAzureCloudOdsHostedComponentsQuery
                                       , TokenCache tokenCache)
 {
     _activeDirectoryClientInfo = azureActiveDirectoryClientInfo;
     _armClient = new AzureResourceManagerClient(azureActiveDirectoryClientInfo, tokenCache);
     _getCloudOdsHostedInstanceQuery        = getCloudOdsHostedInstanceQuery;
     _getAzureCloudOdsHostedComponentsQuery = getAzureCloudOdsHostedComponentsQuery;
 }