Package org.azd.utils

Class RestClientProvider

java.lang.Object
org.azd.utils.BaseRestClient
org.azd.utils.RestClientProvider

@Deprecated(since="v6.0") public final class RestClientProvider extends BaseRestClient
Deprecated.
  • Field Details

    • MAPPER

      protected static final JsonMapper MAPPER
      Deprecated.
  • Constructor Details

    • RestClientProvider

      public RestClientProvider()
      Deprecated.
  • Method Details

    • buildRequestUrl

      protected static String buildRequestUrl(String organizationName, String resourceId, String project, String area, String id, String resource, String apiVersion, Map<String,Object> queryString) throws AzDException
      Deprecated.
      Builds the request url dynamically for the passed service, resource and area
      Parameters:
      organizationName - pass the Azure DevOps organization name
      resourceId - pass the resource id
      project - pass the project name
      area - area of the REST API e.g., Release
      id - id of any entity to pass in
      resource - pass the resource entity e.g., Releases
      apiVersion - pass the API version
      queryString - pass the query string to form the url
      Returns:
      resource area url
      Throws:
      AzDException - throws user understandable error message with error code from API