Class ConfigLineageWarehouseResource
java.lang.Object
org.odpi.openmetadata.adminservices.spring.ConfigLineageWarehouseResource
@RestController
@RequestMapping("/open-metadata/admin-services/users/{userId}/servers/{serverName}")
public class ConfigLineageWarehouseResource
extends Object
ConfigLineageWarehouseResource provides the configuration for setting up the Lineage Warehouse server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionremoveLineageWarehouseServices
(String userId, String serverName) Remove the lineage warehouse services from the server configuration.setLineageWarehouseServices
(String userId, String serverName, LineageWarehouseConfig lineageWarehouseConfig) Set up the lineage warehouse services configuration.
-
Constructor Details
-
ConfigLineageWarehouseResource
public ConfigLineageWarehouseResource()
-
-
Method Details
-
setLineageWarehouseServices
@PostMapping(path="/lineage-warehouse/configuration") public VoidResponse setLineageWarehouseServices(@PathVariable String userId, @PathVariable String serverName, @RequestBody LineageWarehouseConfig lineageWarehouseConfig) Set up the lineage warehouse services configuration.- Parameters:
userId
- user that is issuing the request.serverName
- local server name.lineageWarehouseConfig
- 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.
-
removeLineageWarehouseServices
@DeleteMapping(path="/lineage-warehouse/configuration") public VoidResponse removeLineageWarehouseServices(@PathVariable String userId, @PathVariable String serverName) Remove the lineage warehouse services from the server configuration.- Parameters:
userId
- user that is issuing the request.serverName
- local server name.- Returns:
- void response
-