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.CloudStorageAccount conn  
  • Constructor Summary

    Constructors
    Constructor Description
    AzureInterface()  
  • Method Summary

    Modifier and Type Method Description
    static void AzureClientInterface​(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 calls
    static void azureUploadToFileShare​(ServiceObject apiObject)  
    static void connectAzure()  
    static com.microsoft.azure.storage.file.CloudFileDirectory getCloudfileDirectory​(ServiceObject apiObject)
    sets the location of the azure file directory from option column

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • conn

      public static com.microsoft.azure.storage.CloudStorageAccount conn
  • Constructor Details

    • AzureInterface

      public AzureInterface()
  • Method Details

    • AzureClientInterface

      public static void AzureClientInterface​(ServiceObject apiObject) throws Exception
      /* (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

      public static void connectAzure() throws Exception
      Throws:
      Exception
    • azureUploadToFileShare

      public static void azureUploadToFileShare​(ServiceObject apiObject) throws Exception
      Throws:
      Exception
    • getCloudfileDirectory

      public static com.microsoft.azure.storage.file.CloudFileDirectory getCloudfileDirectory​(ServiceObject apiObject) throws Exception
      sets the location of the azure file directory from option column
      Parameters:
      apiObject -
      Returns:
      Throws:
      Exception