Package core.apiCore.interfaces
Class AzureInterface
java.lang.Object
core.apiCore.interfaces.AzureInterface
public class AzureInterface extends Object
-
Field Summary
Fields Modifier and Type Field Description static com.microsoft.azure.storage.CloudStorageAccountconn -
Constructor Summary
Constructors Constructor Description AzureInterface() -
Method Summary
Modifier and Type Method Description static voidAzureClientInterface(ServiceObject apiObject)/* (String TestSuite, String TestCaseID, String RunFlag, String Description, String InterfaceType, String UriPath, String ContentType, String Method, String Option, String RequestHeaders, String TemplateFile, String RequestBody, String OutputParams, String RespCodeExp, String ExpectedResponse, String ExpectedResponse, String NotExpectedResponse, String TcComments, String tcName, String tcIndex) interface for azure storage api callsstatic voidazureUploadToFileShare(ServiceObject apiObject)static voidconnectAzure()static com.microsoft.azure.storage.file.CloudFileDirectorygetCloudfileDirectory(ServiceObject apiObject)sets the location of the azure file directory from option column
-
Field Details
-
conn
public static com.microsoft.azure.storage.CloudStorageAccount conn
-
-
Constructor Details
-
AzureInterface
public AzureInterface()
-
-
Method Details
-
AzureClientInterface
/* (String TestSuite, String TestCaseID, String RunFlag, String Description, String InterfaceType, String UriPath, String ContentType, String Method, String Option, String RequestHeaders, String TemplateFile, String RequestBody, String OutputParams, String RespCodeExp, String ExpectedResponse, String ExpectedResponse, String NotExpectedResponse, String TcComments, String tcName, String tcIndex) interface for azure storage api calls- Parameters:
apiObject-- Throws:
Exception
-
connectAzure
- Throws:
Exception
-
getCloudfileDirectory
public static com.microsoft.azure.storage.file.CloudFileDirectory getCloudfileDirectory(ServiceObject apiObject) throws Exceptionsets the location of the azure file directory from option column- Parameters:
apiObject-- Returns:
- Throws:
Exception
-