Class RepositoryPerformanceWorkbenchConfig
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
org.odpi.openmetadata.adminservices.configuration.properties.RepositoryPerformanceWorkbenchConfig
RepositoryConformanceWorkbenchConfig provides the config that drives the RepositoryWorkbench within the
Open Metadata Conformance Suite.
-
Constructor Summary
ConstructorDescriptionDefault constructor does nothing.Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.int
Return the number of instances that should be created for each type definition.int
Return the maximum search results that should processed for testing the search operations of the server under test.Return the methods (if any) that should be skipped during the performance test.Return the profiles (if any) that should be skipped during the performance test.Return the name of the server that the repository workbench is to test.int
Return the amount of time (in seconds) to wait between scenarios of the performance test.int
hashCode()
Return a hash code based on the values of this object.void
setInstancesPerType
(int instancesPerType) Set up the number of instances that should be created for each type definition.void
setMaxSearchResults
(int maxSearchResults) Set up the maximum search results that should be processed for testing the search operations of the server under test.void
setMethodsToSkip
(List<String> methodsToSkip) Set up the methods that should be skipped during the performance test.void
setProfilesToSkip
(List<String> profilesToSkip) Set up the profiles that should be skipped during the performance test.void
setTutRepositoryServerName
(String tutRepositoryServerName) Set up the name of the server that the repository workbench is to test.void
setWaitBetweenScenarios
(int waitBetweenScenarios) Set up the amount of time (in seconds) to wait between scenarios of the performance test.toString()
Standard toString method.
-
Constructor Details
-
RepositoryPerformanceWorkbenchConfig
public RepositoryPerformanceWorkbenchConfig()Default constructor does nothing. -
RepositoryPerformanceWorkbenchConfig
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getTutRepositoryServerName
Return the name of the server that the repository workbench is to test.- Returns:
- server name
-
setTutRepositoryServerName
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
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
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
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
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
Standard toString method. -
equals
Validate that an object is equal depending on their stored values. -
hashCode
public int hashCode()Return a hash code based on the values of this object.
-