Class ConfigConformanceSuiteServicesResource
java.lang.Object
org.odpi.openmetadata.adminservices.spring.ConfigConformanceSuiteServicesResource
@RestController
@RequestMapping("/open-metadata/admin-services/users/{userId}/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
-
Method Summary
Modifier and TypeMethodDescriptiondisableAllConformanceSuiteWorkbenches
(String userId, String serverName) Request that all the conformance suite services are deactivated in this server.disablePlatformConformanceSuiteServices
(String userId, String serverName) Request that the platform conformance suite tests are deactivated in this server.disableRepositoryConformanceSuiteServices
(String userId, String serverName) Request that the repository conformance suite tests are deactivated in this server.enablePlatformConformanceSuiteWorkbench
(String userId, String serverName, 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 userId, String serverName, 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 userId, String serverName, 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 userId, @PathVariable String serverName, @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:
userId
- user that is issuing the request.serverName
- local server name.repositoryConformanceWorkbenchConfig
- configuration for the repository conformance workbench.- Returns:
- void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-
enableRepositoryPerformanceSuiteWorkbench
@PostMapping(path="/conformance-suite-workbenches/repository-workbench/performance") public VoidResponse enableRepositoryPerformanceSuiteWorkbench(@PathVariable String userId, @PathVariable String serverName, @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:
userId
- user that is issuing the request.serverName
- local server name.repositoryPerformanceWorkbenchConfig
- configuration for the repository performance workbench.- Returns:
- void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-
enablePlatformConformanceSuiteWorkbench
@PostMapping(path="/conformance-suite-workbenches/platform-workbench/platforms") public VoidResponse enablePlatformConformanceSuiteWorkbench(@PathVariable String userId, @PathVariable String serverName, @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:
userId
- user that is issuing the request.serverName
- local server name.requestBody
- url of the OMAG platform to test.- Returns:
- void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-
disableRepositoryConformanceSuiteServices
@DeleteMapping(path="/conformance-suite-workbenches/repository-workbench") public VoidResponse disableRepositoryConformanceSuiteServices(@PathVariable String userId, @PathVariable String serverName) Request that the repository conformance suite tests are deactivated in this server.- Parameters:
userId
- user that is issuing the request.serverName
- local server name.- Returns:
- void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-
disablePlatformConformanceSuiteServices
@DeleteMapping(path="/conformance-suite-workbenches/platform-workbench") public VoidResponse disablePlatformConformanceSuiteServices(@PathVariable String userId, @PathVariable String serverName) Request that the platform conformance suite tests are deactivated in this server.- Parameters:
userId
- user that is issuing the request.serverName
- local server name.- Returns:
- void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-
disableAllConformanceSuiteWorkbenches
@DeleteMapping(path="/conformance-suite-workbenches") public VoidResponse disableAllConformanceSuiteWorkbenches(@PathVariable String userId, @PathVariable String serverName) Request that all the conformance suite services are deactivated in this server.- Parameters:
userId
- user that is issuing the request.serverName
- local server name.- Returns:
- void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException invalid serverName parameter or OMAGConfigurationErrorException unexpected exception.
-