@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/data-engine/users/{userId}")
public class DataEngineResource
extends Object
| Constructor and Description |
|---|
DataEngineResource()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
addLineageMappings(String userId,
String serverName,
LineageMappingsRequestBody lineageMappingsRequestBody)
Add LineageMapping relationships
|
GUIDResponse |
addProcessHierarchy(String userId,
String serverName,
ProcessHierarchyRequestBody processHierarchyRequestBody)
Add a ProcessHierarchy relationship between Process entities
|
GUIDResponse |
createExternalDataEngine(String serverName,
String userId,
DataEngineRegistrationRequestBody requestBody)
Register external data engine as source of metadata by creating a software server capability entity
|
GUIDResponse |
createOrUpdatePortAlias(String userId,
String serverName,
PortAliasRequestBody portAliasRequestBody)
Create the PortAlias entity
|
GUIDResponse |
createOrUpdatePortImplementation(String userId,
String serverName,
PortImplementationRequestBody portImplementationRequestBody)
Create the PortImplementation entity
|
GUIDListResponse |
createOrUpdateProcesses(String userId,
String serverName,
ProcessesRequestBody processesRequestBody)
Create or update the Process entities with ports, schema types and all needed relationships
|
GUIDResponse |
createOrUpdateSchemaType(String userId,
String serverName,
SchemaTypeRequestBody requestBody)
Create a SchemaType entity with schema attributes and relationships
|
VoidResponse |
deleteExternalDataEngine(String userId,
String serverName,
DeleteRequestBody requestBody)
Delete the external data engine
|
VoidResponse |
deletePortAliases(String userId,
String serverName,
DeleteRequestBody requestBody)
Delete the PortAlias entity
|
VoidResponse |
deletePortImplementation(String userId,
String serverName,
DeleteRequestBody requestBody)
Delete the PortImplementation entity
|
VoidResponse |
deleteProcesses(String userId,
String serverName,
ProcessesDeleteRequestBody requestBody)
Delete the Process
|
VoidResponse |
deleteSchemaType(String userId,
String serverName,
DeleteRequestBody requestBody)
Remove a SchemaType entity with all the needed relationships
|
GUIDResponse |
getExternalDataEngineByQualifiedName(String serverName,
String userId,
String qualifiedName)
Return the unique identifier of an external data engine from a software server capability definition.
|
ConnectionResponse |
getInTopicConnection(String serverName,
String userId)
Get connection details used to access Data Engine OMAS input topic
|
GUIDResponse |
upsertDatabase(String userId,
String serverName,
DatabaseRequestBody requestBody)
Create a Database entity with all the needed relationships
|
GUIDResponse |
upsertDataFile(String serverName,
String userId,
DataFileRequestBody dataFileRequestBody)
Add a DataFile asset or any of its subtype
|
GUIDResponse |
upsertRelationalTable(String userId,
String serverName,
RelationalTableRequestBody requestBody)
Create a RelationalTable entity with all the needed relationships
|
@PostMapping(path="/registration") public GUIDResponse createExternalDataEngine(@PathVariable(value="serverName") String serverName, @PathVariable(value="userId") String userId, @RequestBody DataEngineRegistrationRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling userrequestBody - properties of the entity@GetMapping(path="/registration/{qualifiedName}")
public GUIDResponse getExternalDataEngineByQualifiedName(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String qualifiedName)
serverName - name of server instance to calluserId - identifier of calling userqualifiedName - qualified name of the software server capability@DeleteMapping(path="/registration") public VoidResponse deleteExternalDataEngine(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody DeleteRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling userrequestBody - properties of the port implementation@PostMapping(path="/schema-types") public GUIDResponse createOrUpdateSchemaType(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody SchemaTypeRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling userrequestBody - properties for the schema type@DeleteMapping(path="/schema-types") public VoidResponse deleteSchemaType(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody DeleteRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling userrequestBody - properties for the schema type@PostMapping(path="/port-implementations") public GUIDResponse createOrUpdatePortImplementation(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody PortImplementationRequestBody portImplementationRequestBody)
serverName - name of server instance to calluserId - the name of the calling userportImplementationRequestBody - properties of the port implementation@DeleteMapping(path="/port-implementations") public VoidResponse deletePortImplementation(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody DeleteRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling userrequestBody - properties of the port implementation@PostMapping(path="/port-aliases") public GUIDResponse createOrUpdatePortAlias(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody PortAliasRequestBody portAliasRequestBody)
serverName - name of server instance to calluserId - the name of the calling userportAliasRequestBody - properties of the port alias@DeleteMapping(path="/port-aliases") public VoidResponse deletePortAliases(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody DeleteRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling userrequestBody - properties of the port implementation@PostMapping(path="/process-hierarchies") public GUIDResponse addProcessHierarchy(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody ProcessHierarchyRequestBody processHierarchyRequestBody)
serverName - name of server instance to calluserId - the name of the calling userprocessHierarchyRequestBody - properties of the process hierarchy@PostMapping(path="/processes") public GUIDListResponse createOrUpdateProcesses(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody ProcessesRequestBody processesRequestBody)
serverName - name of server instance to calluserId - the name of the calling userprocessesRequestBody - properties of the process@DeleteMapping(path="/processes") public VoidResponse deleteProcesses(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody ProcessesDeleteRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling userrequestBody - properties of the process@PostMapping(path="/lineage-mappings") public VoidResponse addLineageMappings(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody LineageMappingsRequestBody lineageMappingsRequestBody)
serverName - name of server instance to calluserId - the name of the calling userlineageMappingsRequestBody - properties of the mappings@GetMapping(path="/topics/in-topic-connection") public ConnectionResponse getInTopicConnection(@PathVariable String serverName, @PathVariable String userId)
serverName - name of server instance to calluserId - name of the calling user@PostMapping(path="/databases") public GUIDResponse upsertDatabase(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody DatabaseRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling userrequestBody - properties for the database@PostMapping(path="/relational-tables") public GUIDResponse upsertRelationalTable(@PathVariable(value="userId") String userId, @PathVariable(value="serverName") String serverName, @RequestBody RelationalTableRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling userrequestBody - properties for the schema type@PostMapping(path="/data-files") public GUIDResponse upsertDataFile(@PathVariable String serverName, @PathVariable String userId, @RequestBody DataFileRequestBody dataFileRequestBody)
serverName - name of server instance to calluserId - name of the calling userdataFileRequestBody - properties of data fileCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.