Class TechnologyUnderTestWorkPad

java.lang.Object
org.odpi.openmetadata.conformance.beans.TechnologyUnderTestWorkPad

public class TechnologyUnderTestWorkPad extends Object
TechnologyUnderTestWorkPad is the class used to aggregate information about a technology (typically a metadata repository) that is being tested by the ODPi Egeria Conformance Suite. It is responsible for accumulating the results from the different test workbenches as they probe the REST API and validate the events being published by the technology under test (TUT).
  • Constructor Details

    • TechnologyUnderTestWorkPad

      public TechnologyUnderTestWorkPad(List<OpenMetadataConformanceWorkbenchWorkPad> workbenchWorkPads)
      Constructor
      Parameters:
      workbenchWorkPads - result work pads for the requested workbenches
  • Method Details

    • getProfileNames

      public List<String> getProfileNames()
      Requests the list of all profiles (names) registered across all workpads.
      Returns:
      the list of all profiles across all workpads
    • getTestCaseIds

      public List<String> getTestCaseIds()
      Requests the list of all test cases (IDs) registered across all workpads.
      Returns:
      the list of all test case IDs across all workpads
    • getProfileReport

      public OpenMetadataConformanceProfileResults getProfileReport(String profileName) throws InvalidParameterException
      Requests detailed information on the execution of a specific profile. Null is returned if the profile has not run.
      Parameters:
      profileName - of the profile for which to obtain a detailed report.
      Returns:
      Profile Report
      Throws:
      InvalidParameterException - the profile name is not known
    • getTestCaseReport

      public OpenMetadataTestCaseResult getTestCaseReport(String testCaseId) throws InvalidParameterException
      Requests detailed information on the execution of a specific test case. Null is returned if the test case has not run.
      Parameters:
      testCaseId - of the test case for which to obtain a detailed report.
      Returns:
      Test Case Report
      Throws:
      InvalidParameterException - the test case id is not known
    • getFailedTestCaseReport

      public List<OpenMetadataTestCaseResult> getFailedTestCaseReport()
      Requests detailed information on the execution of all of the failed test cases.
      Returns:
      list of failed test case results.
    • getWorkbenchReport

      public OpenMetadataConformanceWorkbenchResults getWorkbenchReport(String workbenchId) throws InvalidParameterException
      Requests information on the level of conformance discovered by a specific workbench.
      Parameters:
      workbenchId - identifier of the workbench.
      Returns:
      WorkbenchReportResponse or
      Throws:
      InvalidParameterException - the workbenchId is not known.
    • getWorkbenchStatus

      public OpenMetadataConformanceWorkbenchStatus getWorkbenchStatus(String workbenchId) throws InvalidParameterException
      Requests (completion) status of a specific workbench.
      Parameters:
      workbenchId - identifier of the workbench.
      Returns:
      OpenMetadataConformanceWorkbenchStatus or
      Throws:
      InvalidParameterException - the workbenchId is not known.
    • getTestLabResults

      public OpenMetadataConformanceTestLabResults getTestLabResults()
      Request a full report on the conformance of the technology under test.
      Returns:
      test lab results
    • getTestLabSummary

      public OpenMetadataConformanceTestLabSummary getTestLabSummary()
      Request a full report on the conformance of the technology under test.
      Returns:
      test lab results
    • toString

      public String toString()
      toString() JSON-style
      Overrides:
      toString in class Object
      Returns:
      string description