Class ConfigOpenLineageResource
java.lang.Object
org.odpi.openmetadata.adminservices.spring.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetOpenLineageServicesConfig
(String userId, String serverName, OpenLineageServerConfig openLineageServerConfig) Remove this service from the server configuration.
-
Constructor Details
-
ConfigOpenLineageResource
public ConfigOpenLineageResource()
-
-
Method Details
-
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
-