@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 |
addPortsToProcess(String userId,
String serverName,
String processGuid,
PortListRequestBody portListRequestBody)
Add ports to an existing Process entity
|
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 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
|
@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@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@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@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@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@PostMapping(path="/processes/{processGuid}/ports")
public GUIDResponse addPortsToProcess(@PathVariable(value="userId")
String userId,
@PathVariable(value="serverName")
String serverName,
@PathVariable(value="processGuid")
String processGuid,
@RequestBody
PortListRequestBody portListRequestBody)
serverName - name of server instance to calluserId - the name of the calling userprocessGuid - the guid of the processportListRequestBody - list of port unique identifiers@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 userCopyright © 2018–2020 ODPi. All rights reserved.