public MigrationApiDemo() { Log.Debug("Initiaing SharePoint connection.... "); _target = new SharePointMigrationTarget(); Log.Debug("Initiating Storage for test files, manifest en reporting queue"); _blobContainingManifestFiles = new AzureBlob( ConfigurationManager.AppSettings["ManifestBlob.AccountName"], ConfigurationManager.AppSettings["ManifestBlob.AccountKey"], ConfigurationManager.AppSettings["ManifestBlob.ContainerName"]); var testFilesBlob = new AzureBlob( ConfigurationManager.AppSettings["SourceFilesBlob.AccountName"], ConfigurationManager.AppSettings["SourceFilesBlob.AccountKey"], ConfigurationManager.AppSettings["SourceFilesBlob.ContainerName"]); _testDataProvider = new TestDataProvider(testFilesBlob); _migrationApiQueue = new AzureCloudQueue( ConfigurationManager.AppSettings["ReportQueue.AccountName"], ConfigurationManager.AppSettings["ReportQueue.AccountKey"], ConfigurationManager.AppSettings["ReportQueue.QueueName"]); }
public TestDataProvider(AzureBlob azureBlob) { _azureBlob = azureBlob; }