Class ConfigConformanceSuiteServicesResource
java.lang.Object
org.odpi.openmetadata.adminservices.spring.ConfigConformanceSuiteServicesResource
@RestController
@RequestMapping("/open-metadata/admin-services/servers/{serverName}")
public class ConfigConformanceSuiteServicesResource
extends Object
ConfigAccessServicesResource provides the configuration for setting up the Open Metadata
Conformance Suite services in an OMAG server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisableAllConformanceSuiteWorkbenches(String serverName, String delegatingUserId) Request that all the conformance suite services are deactivated in this server.disablePlatformConformanceSuiteServices(String serverName, String delegatingUserId) Request that the platform conformance suite tests are deactivated in this server.disableRepositoryConformanceSuiteServices(String serverName, String delegatingUserId) Request that the repository conformance suite tests are deactivated in this server.enablePlatformConformanceSuiteWorkbench(String serverName, String delegatingUserId, URLRequestBody requestBody) Request that the conformance suite services are activated in this server to test the support of the platform services running in the platform at tutPlatformRootURL.enableRepositoryConformanceSuiteWorkbench(String serverName, String delegatingUserId, RepositoryConformanceWorkbenchConfig repositoryConformanceWorkbenchConfig) Request that the conformance suite services are activated in this server to test the support of the repository services running in the server named tutRepositoryServerName.enableRepositoryPerformanceSuiteWorkbench(String serverName, String delegatingUserId, RepositoryPerformanceWorkbenchConfig repositoryPerformanceWorkbenchConfig) Request that the conformance suite services are activated in this server to test the performance of the repository services running in the server named tutRepositoryServerName.
-
Constructor Details
-
ConfigConformanceSuiteServicesResource
public ConfigConformanceSuiteServicesResource()
-
-
Method Details
-
enableRepositoryConformanceSuiteWorkbench
@PostMapping(path="/conformance-suite-workbenches/repository-workbench/repositories") public VoidResponse enableRepositoryConformanceSuiteWorkbench(@PathVariable String serverName, @RequestParam(required=false) String delegatingUserId, @RequestBody RepositoryConformanceWorkbenchConfig repositoryConformanceWorkbenchConfig) Request that the conformance suite services are activated in this server to test the support of the repository services running in the server named tutRepositoryServerName.- Parameters:
serverName- local server name.delegatingUserId- external userId making requestrepositoryConformanceWorkbenchConfig- configuration for the repository conformance workbench.- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or InvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-
enableRepositoryPerformanceSuiteWorkbench
@PostMapping(path="/conformance-suite-workbenches/repository-workbench/performance") public VoidResponse enableRepositoryPerformanceSuiteWorkbench(@PathVariable String serverName, @RequestParam(required=false) String delegatingUserId, @RequestBody RepositoryPerformanceWorkbenchConfig repositoryPerformanceWorkbenchConfig) Request that the conformance suite services are activated in this server to test the performance of the repository services running in the server named tutRepositoryServerName.- Parameters:
serverName- local server name.delegatingUserId- external userId making requestrepositoryPerformanceWorkbenchConfig- configuration for the repository performance workbench.- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or InvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-
enablePlatformConformanceSuiteWorkbench
@PostMapping(path="/conformance-suite-workbenches/platform-workbench/platforms") public VoidResponse enablePlatformConformanceSuiteWorkbench(@PathVariable String serverName, @RequestParam(required=false) String delegatingUserId, @RequestBody URLRequestBody requestBody) Request that the conformance suite services are activated in this server to test the support of the platform services running in the platform at tutPlatformRootURL.- Parameters:
serverName- local server name.delegatingUserId- external userId making requestrequestBody- url of the OMAG platform to test.- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or InvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-
disableRepositoryConformanceSuiteServices
@DeleteMapping(path="/conformance-suite-workbenches/repository-workbench") public VoidResponse disableRepositoryConformanceSuiteServices(@PathVariable String serverName, @RequestParam(required=false) String delegatingUserId) Request that the repository conformance suite tests are deactivated in this server.- Parameters:
serverName- local server name.delegatingUserId- external userId making request- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or InvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-
disablePlatformConformanceSuiteServices
@DeleteMapping(path="/conformance-suite-workbenches/platform-workbench") public VoidResponse disablePlatformConformanceSuiteServices(@PathVariable String serverName, @RequestParam(required=false) String delegatingUserId) Request that the platform conformance suite tests are deactivated in this server.- Parameters:
serverName- local server name.delegatingUserId- external userId making request- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or InvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-
disableAllConformanceSuiteWorkbenches
@DeleteMapping(path="/conformance-suite-workbenches") public VoidResponse disableAllConformanceSuiteWorkbenches(@PathVariable String serverName, @RequestParam(required=false) String delegatingUserId) Request that all the conformance suite services are deactivated in this server.- Parameters:
serverName- local server name.delegatingUserId- external userId making request- Returns:
- void response or UserNotAuthorizedException the supplied userId is not authorized to issue this command or InvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-