Class RepositoryPerformanceWorkbenchConfig

java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.RepositoryPerformanceWorkbenchConfig

public class RepositoryPerformanceWorkbenchConfig extends AdminServicesConfigHeader
RepositoryConformanceWorkbenchConfig provides the config that drives the RepositoryWorkbench within the Open Metadata Conformance Suite.
  • Constructor Details

    • RepositoryPerformanceWorkbenchConfig

      public RepositoryPerformanceWorkbenchConfig()
      Default constructor does nothing.
    • RepositoryPerformanceWorkbenchConfig

      public RepositoryPerformanceWorkbenchConfig(RepositoryPerformanceWorkbenchConfig template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getTutRepositoryServerName

      public String getTutRepositoryServerName()
      Return the name of the server that the repository workbench is to test.
      Returns:
      server name
    • setTutRepositoryServerName

      public void setTutRepositoryServerName(String tutRepositoryServerName)
      Set up the name of the server that the repository workbench is to test.
      Parameters:
      tutRepositoryServerName - server name
    • getInstancesPerType

      public int getInstancesPerType()
      Return the number of instances that should be created for each type definition.
      Returns:
      number of instances (per type)
    • setInstancesPerType

      public void setInstancesPerType(int instancesPerType)
      Set up the number of instances that should be created for each type definition.
      Parameters:
      instancesPerType - number of instances (per type) to create
    • getMaxSearchResults

      public int getMaxSearchResults()
      Return the maximum search results that should processed for testing the search operations of the server under test.
      Returns:
      page size
    • setMaxSearchResults

      public void setMaxSearchResults(int maxSearchResults)
      Set up the maximum search results that should be processed for testing the search operations of the server under test.
      Parameters:
      maxSearchResults - page size
    • getWaitBetweenScenarios

      public int getWaitBetweenScenarios()
      Return the amount of time (in seconds) to wait between scenarios of the performance test. This would be useful for example, where you want to simulate a batch-load with an eventually-consistent search index.
      Returns:
      time to wait (in seconds) between performance test scenarios
    • setWaitBetweenScenarios

      public void setWaitBetweenScenarios(int waitBetweenScenarios)
      Set up the amount of time (in seconds) to wait between scenarios of the performance test. This would be useful for example, where you want to simulate a batch-load with an eventually-consistent search index.
      Parameters:
      waitBetweenScenarios - amount of time (in seconds) to wait betweeen performance test scenarios
    • getProfilesToSkip

      public List<String> getProfilesToSkip()
      Return the profiles (if any) that should be skipped during the performance test.
      Returns:
      list of the profile names that should be skipped during testing
    • setProfilesToSkip

      public void setProfilesToSkip(List<String> profilesToSkip)
      Set up the profiles that should be skipped during the performance test.
      Parameters:
      profilesToSkip - list of profile names that should be skipped during testing
    • getMethodsToSkip

      public List<String> getMethodsToSkip()
      Return the methods (if any) that should be skipped during the performance test.
      Returns:
      list of the method names that should be skipped during testing
    • setMethodsToSkip

      public void setMethodsToSkip(List<String> methodsToSkip)
      Set up the methods that should be skipped during the performance test.
      Parameters:
      methodsToSkip - list of method names that should be skipped during testing
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      JSON style description of variables.
    • equals

      public boolean equals(Object objectToCompare)
      Validate that an object is equal depending on their stored values.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object
      Returns:
      boolean result
    • hashCode

      public int hashCode()
      Return a hash code based on the values of this object.
      Overrides:
      hashCode in class Object
      Returns:
      in hash code