Class ReplicationControl

java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<T>
com.atlassian.jira.testkit.client.BackdoorControl<ReplicationControl>
com.atlassian.jira.plugins.ha.testapi.client.ReplicationControl

public class ReplicationControl extends com.atlassian.jira.testkit.client.BackdoorControl<ReplicationControl>
Backdoor for controlling clustering replication.
Since:
v1.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.RestApiClient

    com.atlassian.jira.testkit.client.RestApiClient.BackdoorLoggingFilter, com.atlassian.jira.testkit.client.RestApiClient.JsonMediaTypeFilter, com.atlassian.jira.testkit.client.RestApiClient.RestCall
  • Field Summary

    Fields inherited from class com.atlassian.jira.testkit.client.BackdoorControl

    API_REST_PATH, API_REST_VERSION, DEFAULT_REST_PATH, logger, rootPath

    Fields inherited from class com.atlassian.jira.testkit.client.RestApiClient

    REST_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReplicationControl(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
    Creates a new BackdoorControl.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    void
     
    void
    waitForClusterNodes(int nodeCount, long time, TimeUnit timeUnit)
     
    void
     

    Methods inherited from class com.atlassian.jira.testkit.client.BackdoorControl

    createResource, createResourceForPath, createResourceForPath, get

    Methods inherited from class com.atlassian.jira.testkit.client.RestApiClient

    anonymous, authenticate, authoriseWithOAuth2, authoriseWithOAuth2, cleanUp, client, createResource, createResourceGadget, createResourceInternal, errorResponse, expanded, getCredentialsProvider, getEnvironmentData, loginAs, loginAs, registerResponse, resourceRoot, resourceRoot, setOf, toResponse, toResponse, toResponse, withCredentialsProvider

    Methods inherited from class java.lang.Object

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

    • ReplicationControl

      public ReplicationControl(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
      Creates a new BackdoorControl.
      Parameters:
      environmentData - a JIRAEnvironmentData
  • Method Details

    • getRestModulePath

      protected String getRestModulePath()
      Overrides:
      getRestModulePath in class com.atlassian.jira.testkit.client.BackdoorControl<ReplicationControl>
    • waitForAllReplicationOperations

      public void waitForAllReplicationOperations(long time, @Nonnull TimeUnit timeUnit)
    • waitForNodeReplicationOperations

      public void waitForNodeReplicationOperations(long time, TimeUnit timeUnit)
    • waitForClusterNodes

      public void waitForClusterNodes(int nodeCount, long time, @Nonnull TimeUnit timeUnit)