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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveLineageWarehouseServices(String userId, String serverName) Remove the lineage warehouse services from the server configuration.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetLineageWarehouseServices(String userId, String serverName, org.odpi.openmetadata.adminservices.configuration.properties.LineageWarehouseConfig lineageWarehouseConfig) Set up the lineage warehouse services configuration.
-
Constructor Details
-
ConfigLineageWarehouseResource
public ConfigLineageWarehouseResource()
-
-
Method Details
-
setLineageWarehouseServices
@PostMapping(path="/lineage-warehouse/configuration") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setLineageWarehouseServices(@PathVariable String userId, @PathVariable String serverName, @RequestBody org.odpi.openmetadata.adminservices.configuration.properties.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 org.odpi.openmetadata.commonservices.ffdc.rest.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
-