Class ConfigOpenLineageResource


  • @RestController
    @RequestMapping("/open-metadata/admin-services/users/{userId}/servers/{serverName}")
    public class ConfigOpenLineageResource
    extends Object
    ConfigAccessServicesResource provides the configuration for setting up the Open Metadata Access Services (OMASs).
    • Constructor Detail

      • ConfigOpenLineageResource

        public ConfigOpenLineageResource()
    • Method Detail

      • setOpenLineageServicesConfig

        @PostMapping(path="/open-lineage/configuration")
        public VoidResponse setOpenLineageServicesConfig​(@PathVariable
                                                         String userId,
                                                         @PathVariable
                                                         String serverName,
                                                         @RequestBody
                                                         OpenLineageServerConfig openLineageServerConfig)
        Parameters:
        userId - user that is issuing the request.
        serverName - local server name.
        openLineageServerConfig - configuration properties for open lineage server
        Returns:
        void response or OMAGNotAuthorizedException the supplied userId is not authorized to issue this command or OMAGInvalidParameterException invalid serverName or accessServicesConfig parameter.
      • shutdown

        @DeleteMapping(path="/open-lineage/configuration")
        public VoidResponse shutdown​(@PathVariable
                                     String userId,
                                     @PathVariable
                                     String serverName)
        Remove this service from the server configuration.
        Parameters:
        userId - user that is issuing the request.
        serverName - local server name.
        Returns:
        void response