Package org.azd.utils
Class RestClientProvider
java.lang.Object
org.azd.utils.BaseRestClient
org.azd.utils.RestClientProvider
Deprecated.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
buildRequestUrl
(String organizationName, String resourceId, String project, String area, String id, String resource, String apiVersion, Map<String, Object> queryString) Deprecated.Builds the request url dynamically for the passed service, resource and areaMethods inherited from class org.azd.utils.BaseRestClient
delete, get, getBuilder, getRedirectPolicy, getResponse, patch, post, put, response, setRedirectPolicy
-
Field Details
-
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 AzDExceptionDeprecated.Builds the request url dynamically for the passed service, resource and area- Parameters:
organizationName
- pass the Azure DevOps organization nameresourceId
- pass the resource idproject
- pass the project namearea
- area of the REST API e.g., Releaseid
- id of any entity to pass inresource
- pass the resource entity e.g., ReleasesapiVersion
- pass the API versionqueryString
- pass the query string to form the url- Returns:
- resource area url
- Throws:
AzDException
- throws user understandable error message with error code from API
-