Class AbstractCCSaaSClient

java.lang.Object
io.camunda.optimize.rest.cloud.AbstractCCSaaSClient
Direct Known Subclasses:
CCSaasClusterClient, CCSaaSM2MTokenProvider, CCSaaSNotificationClient, CCSaaSOrganizationsClient, CCSaaSUserClient

@Component @Conditional(io.camunda.optimize.service.util.configuration.condition.CCSaaSCondition.class) public abstract class AbstractCCSaaSClient extends Object
  • Field Details

    • GET_ORGS_TEMPLATE

      protected static final String GET_ORGS_TEMPLATE
      See Also:
    • httpClient

      protected final org.apache.http.impl.client.CloseableHttpClient httpClient
    • objectMapper

      protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
    • configurationService

      protected final ConfigurationService configurationService
  • Constructor Details

    • AbstractCCSaaSClient

      protected AbstractCCSaaSClient(com.fasterxml.jackson.databind.ObjectMapper objectMapper, ConfigurationService configurationService)
  • Method Details

    • performRequest

      public org.apache.http.client.methods.CloseableHttpResponse performRequest(org.apache.http.client.methods.HttpRequestBase request, String accessToken) throws IOException
      Throws:
      IOException
    • performRequest

      protected org.apache.http.client.methods.CloseableHttpResponse performRequest(org.apache.http.client.methods.HttpRequestBase request) throws IOException
      Throws:
      IOException
    • getCloudUsersConfiguration

      protected CloudUsersConfiguration getCloudUsersConfiguration()
    • getCloudAuthConfiguration

      protected CloudAuthConfiguration getCloudAuthConfiguration()
    • destroy

      @PreDestroy public void destroy() throws IOException
      Throws:
      IOException