Class TechnologyUnderTestWorkPad
java.lang.Object
org.odpi.openmetadata.conformance.beans.TechnologyUnderTestWorkPad
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 Summary
ConstructorDescriptionTechnologyUnderTestWorkPad
(List<OpenMetadataConformanceWorkbenchWorkPad> workbenchWorkPads) Constructor -
Method Summary
Modifier and TypeMethodDescriptionRequests detailed information on the execution of all of the failed test cases.Requests the list of all profiles (names) registered across all workpads.getProfileReport
(String profileName) Requests detailed information on the execution of a specific profile.Requests the list of all test cases (IDs) registered across all workpads.getTestCaseReport
(String testCaseId) Requests detailed information on the execution of a specific test case.Request a full report on the conformance of the technology under test.Request a full report on the conformance of the technology under test.getWorkbenchReport
(String workbenchId) Requests information on the level of conformance discovered by a specific workbench.getWorkbenchStatus
(String workbenchId) Requests (completion) status of a specific workbench.toString()
toString() JSON-style
-
Constructor Details
-
TechnologyUnderTestWorkPad
Constructor- Parameters:
workbenchWorkPads
- result work pads for the requested workbenches
-
-
Method Details
-
getProfileNames
Requests the list of all profiles (names) registered across all workpads.- Returns:
- the list of all profiles across all workpads
-
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
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
Request a full report on the conformance of the technology under test.- Returns:
- test lab results
-
getTestLabSummary
Request a full report on the conformance of the technology under test.- Returns:
- test lab results
-
toString
toString() JSON-style
-