Class SynchronizationTest
java.lang.Object
org.odpi.openmetadata.accessservices.analyticsmodeling.fvt.common.AnalyticsModelingTestBase
org.odpi.openmetadata.accessservices.analyticsmodeling.fvt.synchronization.SynchronizationTest
SynchronizationTest calls the SynchronizationClient to create, update, delete analytic artifacts.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.accessservices.analyticsmodeling.fvt.common.AnalyticsModelingTestBase
maxPageSize
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FVTResults
performFVT
(String serverName, String serverPlatformRootURL, String userId) Run all of the defined tests and capture the results.static <T> T
readObjectJson
(String folder, String fileName, Class<T> cls) Build object from JSON content provided in file.Methods inherited from class org.odpi.openmetadata.accessservices.analyticsmodeling.fvt.common.AnalyticsModelingTestBase
getImportClient, getRepositoryServiceClient, getSynchronizationClient
-
Constructor Details
-
SynchronizationTest
public SynchronizationTest()
-
-
Method Details
-
performFVT
Run all of the defined tests and capture the results.- Parameters:
serverName
- name of the server to connect toserverPlatformRootURL
- the network address of the server running the OMAS REST serversuserId
- calling user- Returns:
- results of running test
-
readObjectJson
Build object from JSON content provided in file.- Type Parameters:
T
- class of the object to build.- Parameters:
folder
- location of the file.fileName
- without extension, JSON extension is appended.cls
- class to build.- Returns:
- object created from json file.
- Throws:
IOException
- if input file cannot be read.
-