Class 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 Detail

      • ConfigConformanceSuiteServicesResource

        public ConfigConformanceSuiteServicesResource()
    • Method Detail

      • 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 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.
      • disableAllConformanceSuiteWorkbenches

        @DeleteMapping(path="/conformance-suite-workbenches")
        public VoidResponse disableAllConformanceSuiteWorkbenches​(@PathVariable
                                                                  String userId,
                                                                  @PathVariable
                                                                  String serverName)
        Request that 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.