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 ObjectConfigAccessServicesResource provides the configuration for setting up the Open Metadata Access Services (OMASs).
-
-
Constructor Summary
Constructors Constructor Description ConfigOpenLineageResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoidResponsesetOpenLineageServicesConfig(String userId, String serverName, OpenLineageServerConfig openLineageServerConfig)VoidResponseshutdown(String userId, String serverName)Remove this service from the server configuration.
-
-
-
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
-
-