java.lang.Object
org.odpi.openmetadata.accessservices.analyticsmodeling.fvt.common.AnalyticsModelingTestBase
org.odpi.openmetadata.accessservices.analyticsmodeling.fvt.synchronization.SynchronizationTest

public class SynchronizationTest extends AnalyticsModelingTestBase
SynchronizationTest calls the SynchronizationClient to create, update, delete analytic artifacts.
  • Constructor Details

    • SynchronizationTest

      public SynchronizationTest()
  • Method Details

    • performFVT

      public static FVTResults performFVT(String serverName, String serverPlatformRootURL, String userId)
      Run all of the defined tests and capture the results.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformRootURL - the network address of the server running the OMAS REST servers
      userId - calling user
      Returns:
      results of running test
    • readObjectJson

      public static <T> T readObjectJson(String folder, String fileName, Class<T> cls) throws IOException
      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.