Class ConformanceSuiteTestLabServices
java.lang.Object
org.odpi.openmetadata.conformance.server.ConformanceSuiteTestLabServices
ConformanceSuiteTestLabServices supports the REST API for the CTS.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetConformanceReport
(String userId, String serverName) Request a full report on the conformance of the technology under test.getConformanceSummaryReport
(String userId, String serverName) Request a summary report on the conformance of the technology under test.getFailedTestCaseReport
(String userId, String serverName) Requests detailed information on the execution of all of the failed test cases.getProfileNames
(String userId, String serverName) Requests the list of profile (names) that are available.getProfileReport
(String userId, String serverName, String profileName) Requests detailed information on the execution of a specific test case.getTestCaseIds
(String userId, String serverName) Requests the list of test case IDs that are available.getTestCaseReport
(String userId, String serverName, String testCaseId) Requests detailed information on the execution of a specific test case.getWorkbenchReport
(String userId, String serverName, String workbenchId) Requests information on the level of conformance discovered by a specific workbenchgetWorkbenchStatus
(String userId, String serverName, String workbenchId) Request the status of a conformance workbench
-
Constructor Details
-
ConformanceSuiteTestLabServices
public ConformanceSuiteTestLabServices()
-
-
Method Details
-
getProfileNames
Requests the list of profile (names) that are available.- Parameters:
userId
- calling user.serverName
- the name of the conformance service.- Returns:
- TestCaseListResponse or InvalidParameterException the serverName is not known or UserNotAuthorizedException the supplied userId is not known.
-
getProfileReport
Requests detailed information on the execution of a specific test case.- Parameters:
userId
- calling user.serverName
- the name of the conformance service.profileName
- of the profile for which to obtain a detailed report.- Returns:
- TestCaseReportResponse or InvalidParameterException the serverName or workbenchId is not known or UserNotAuthorizedException the supplied userId is not known.
-
getTestCaseIds
Requests the list of test case IDs that are available.- Parameters:
userId
- calling user.serverName
- the name of the conformance service.- Returns:
- TestCaseListResponse or InvalidParameterException the serverName is not known or UserNotAuthorizedException the supplied userId is not known.
-
getTestCaseReport
public TestCaseReportResponse getTestCaseReport(String userId, String serverName, String testCaseId) Requests detailed information on the execution of a specific test case.- Parameters:
userId
- calling user.serverName
- the name of the conformance service.testCaseId
- of the test case for which to obtain a detailed report.- Returns:
- TestCaseReportResponse or InvalidParameterException the serverName or workbenchId is not known or UserNotAuthorizedException the supplied userId is not known.
-
getFailedTestCaseReport
Requests detailed information on the execution of all of the failed test cases.- Parameters:
userId
- calling user.serverName
- the name of the conformance service.- Returns:
- TestCaseListReportResponse or InvalidParameterException the serverName or workbenchId is not known or UserNotAuthorizedException the supplied userId is not known.
-
getWorkbenchReport
public WorkbenchReportResponse getWorkbenchReport(String userId, String serverName, String workbenchId) Requests information on the level of conformance discovered by a specific workbench- Parameters:
userId
- calling user.serverName
- the name of the conformance service.workbenchId
- identifier of the workbench.- Returns:
- WorkbenchReportResponse or InvalidParameterException the serverName or workbenchId is not known or UserNotAuthorizedException the supplied userId is not known.
-
getConformanceReport
Request a full report on the conformance of the technology under test.- Parameters:
userId
- calling user.serverName
- the name of the conformance service.- Returns:
- TestLabReportResponse or InvalidParameterException the serverName or workbenchId is not known or UserNotAuthorizedException the supplied userId is not known.
-
getConformanceSummaryReport
Request a summary report on the conformance of the technology under test.- Parameters:
userId
- calling user.serverName
- the name of the conformance service.- Returns:
- TestLabSummaryResponse or InvalidParameterException the serverName or workbenchId is not known or UserNotAuthorizedException the supplied userId is not known.
-
getWorkbenchStatus
public WorkbenchStatusResponse getWorkbenchStatus(String userId, String serverName, String workbenchId) Request the status of a conformance workbench- Parameters:
userId
- calling user.serverName
- the name of the conformance service.workbenchId
- the id of the workbench.- Returns:
- WorkbenchStatusResponse or InvalidParameterException the serverName or workbenchId is not known or UserNotAuthorizedException the supplied userId is not known.
-