public function setUp() { parent::setUp(); $blobRestProxy = $this->builder->createBlobService($this->connectionString); parent::setProxy($blobRestProxy); $this->_createdContainers = array(); }
public function setUp() { parent::setUp(); $queueRestProxy = $this->builder->createQueueService($this->connectionString); parent::setProxy($queueRestProxy); $this->_createdQueues = array(); }
public function setUp() { parent::setUp(); $connection = TestResources::getMediaServicesConnectionParameters(); $settings = new MediaServicesSettings($connection['accountName'], $connection['accessKey'], $connection['endpointUri'], $connection['oauthEndopointUri']); $mediaServicesWrapper = $this->builder->createMediaServicesService($settings); parent::setProxy($mediaServicesWrapper); }
public function setUp() { parent::setUp(); $serviceBusWrapper = $this->builder->createServiceBusService(TestResources::getServiceBusConnectionString()); $this->_createdTopics = array(); $this->_createdSubscriptions = array(); $this->_createdRules = array(); $this->_createdQueues = array(); parent::setProxy($serviceBusWrapper); }
public function setUp() { parent::setUp(); $blobRestProxy = $this->builder->createBlobService($this->connectionString); parent::setProxy($blobRestProxy); $this->_createdContainers = array(); // delete all existing blob containers $containerlist = $this->restProxy->listContainers(); $containers = $containerlist->getcontainers(); foreach ($containers as $container) { $this->restProxy->deleteContainer($container->getName()); } }
public function setUp() { $this->skipIfEmulated(); $this->skipIfOSX(); parent::setUp(); $serviceManagementRestProxy = $this->builder->createServiceManagementService(TestResources::getServiceManagementConnectionString()); parent::setProxy($serviceManagementRestProxy); $result = $serviceManagementRestProxy->listLocations(); $locations = $result->getLocations(); $firstLocation = $locations[0]; $this->createdStorageServices = array(); $this->createdAffinityGroups = array(); $this->createdHostedServices = array(); $this->createdDeployments = array(); $this->defaultLocation = $firstLocation->getName(); $this->defaultSlot = DeploymentSlot::PRODUCTION; $this->defaultDeploymentConfiguration = file_get_contents(TestResources::simplePackageConfiguration()); $this->complexConfiguration = file_get_contents(TestResources::complexPackageConfiguration()); $this->storageServiceName = 'onesdkphp1234str'; }