Class AnalyticsModelingTestBase
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.fvt.common.AnalyticsModelingTestBase
-
- Direct Known Subclasses:
ClientConstructorTest,ImportsTest,InvalidParameterTest,SynchronizationTest
public class AnalyticsModelingTestBase extends Object
AnalyticsModelingTestBase provides common functions for test cases.
-
-
Field Summary
Fields Modifier and Type Field Description protected static intmaxPageSize
-
Constructor Summary
Constructors Constructor Description AnalyticsModelingTestBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImportClientgetImportClient(String serverName, String serverPlatformRootURL, AuditLog auditLog, String testCaseName)Create and return a asset manager client.protected RepositoryServicegetRepositoryServiceClient(String serverName, String userId, String serverPlatformRootURL, String testCaseName)Create repository client.protected SynchronizationClientgetSynchronizationClient(String serverName, String serverPlatformRootURL, AuditLog auditLog, String testCaseName)Create and return a glossary exchange client.
-
-
-
Field Detail
-
maxPageSize
protected static final int maxPageSize
- See Also:
- Constant Field Values
-
-
Method Detail
-
getImportClient
protected ImportClient getImportClient(String serverName, String serverPlatformRootURL, AuditLog auditLog, String testCaseName) throws FVTUnexpectedCondition
Create and return a asset manager client.- Parameters:
serverName- name of the server to connect toserverPlatformRootURL- the network address of the server running the OMAS REST serversauditLog- logging destinationtestCaseName- name of calling test case- Returns:
- client
- Throws:
FVTUnexpectedCondition- the test case failed
-
getSynchronizationClient
protected SynchronizationClient getSynchronizationClient(String serverName, String serverPlatformRootURL, AuditLog auditLog, String testCaseName) throws FVTUnexpectedCondition
Create and return a glossary exchange client.- Parameters:
serverName- name of the server to connect toserverPlatformRootURL- the network address of the server running the OMAS REST serversauditLog- logging destinationtestCaseName- name of calling test case- Returns:
- client
- Throws:
FVTUnexpectedCondition- the test case failed
-
getRepositoryServiceClient
protected RepositoryService getRepositoryServiceClient(String serverName, String userId, String serverPlatformRootURL, String testCaseName) throws FVTUnexpectedCondition
Create repository client.- Parameters:
serverName- name of the server to connect touserId- to run queries.serverPlatformRootURL- the network address of the server running the OMAS REST serverstestCaseName- name of calling test case- Returns:
- client
- Throws:
FVTUnexpectedCondition- the test case failed
-
-