public class DataEngineRESTServices extends Object
| Constructor and Description |
|---|
DataEngineRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
addLineageMappings(String userId,
String serverName,
LineageMappingsRequestBody lineageMappingsRequestBody)
Create LineageMappings relationships between schema attributes
|
GUIDResponse |
addPortsToProcess(String userId,
String serverName,
String processGuid,
PortListRequestBody portListRequestBody)
Create ProcessPort relationships for an existing Process
|
GUIDResponse |
createExternalDataEngine(String serverName,
String userId,
DataEngineRegistrationRequestBody requestBody)
Create the external data engine as software server capability entity
|
GUIDResponse |
createOrUpdatePortAlias(String userId,
String serverName,
PortAliasRequestBody portAliasRequestBody)
Create or update the Port Alias with a PortDelegation relationship
|
String |
createOrUpdatePortAliasWithDelegation(String userId,
String serverName,
PortAlias portAlias,
String externalSourceName) |
GUIDResponse |
createOrUpdatePortImplementation(String userId,
String serverName,
PortImplementationRequestBody portImplementationRequestBody)
Create or update the Port Implementation with a PortSchema relationship
|
String |
createOrUpdatePortImplementationWithSchemaType(String userId,
String serverName,
PortImplementation portImplementation,
String externalSourceName) |
GUIDResponse |
createOrUpdateProcess(String userId,
String serverName,
Process process,
String externalSourceName)
Create the process with ports, schema types and lineage mappings
|
List<GUIDResponse> |
createOrUpdateProcesses(String userId,
String serverName,
List<Process> processes,
String externalSourceName) |
ProcessListResponse |
createOrUpdateProcesses(String userId,
String serverName,
ProcessesRequestBody processesRequestBody)
Create or update the processes with ports, schema types and lineage mappings
|
GUIDResponse |
createOrUpdateSchemaType(String userId,
String serverName,
SchemaTypeRequestBody schemaTypeRequestBody)
Create the SchemaType with schema attributes and corresponding relationships
|
GUIDResponse |
getExternalDataEngineByQualifiedName(String serverName,
String userId,
String qualifiedName)
Get the unique identifier from a external data engine qualified name
|
List<GUIDResponse> |
getGuidResponses(ProcessListResponse response,
List<GUIDResponse> createdProcesses) |
void |
handleFailedProcesses(ProcessListResponse response,
List<GUIDResponse> failedProcesses) |
void |
updateProcessStatus(String userId,
String serverName,
GUIDResponse response,
InstanceStatus instanceStatus) |
public GUIDResponse createExternalDataEngine(String serverName, String userId, DataEngineRegistrationRequestBody requestBody)
serverName - name of server instance to calluserId - the name of the calling userrequestBody - properties of the serverpublic GUIDResponse getExternalDataEngineByQualifiedName(String serverName, String userId, String qualifiedName)
serverName - name of the service to route the request touserId - identifier of calling userqualifiedName - qualified name of the external data enginepublic GUIDResponse createOrUpdateSchemaType(String userId, String serverName, SchemaTypeRequestBody schemaTypeRequestBody)
serverName - name of server instance to calluserId - the name of the calling userschemaTypeRequestBody - properties of the schema typepublic GUIDResponse createOrUpdatePortImplementation(String userId, String serverName, PortImplementationRequestBody portImplementationRequestBody)
serverName - name of server instance to calluserId - the name of the calling userportImplementationRequestBody - properties of the portpublic GUIDResponse createOrUpdatePortAlias(String userId, String serverName, PortAliasRequestBody portAliasRequestBody)
serverName - name of server instance to calluserId - the name of the calling userportAliasRequestBody - properties of the portpublic ProcessListResponse createOrUpdateProcesses(String userId, String serverName, ProcessesRequestBody processesRequestBody)
serverName - name of server instance to calluserId - the name of the calling userprocessesRequestBody - properties of the processespublic void handleFailedProcesses(ProcessListResponse response, List<GUIDResponse> failedProcesses)
public List<GUIDResponse> getGuidResponses(ProcessListResponse response, List<GUIDResponse> createdProcesses)
public void updateProcessStatus(String userId, String serverName, GUIDResponse response, InstanceStatus instanceStatus)
public List<GUIDResponse> createOrUpdateProcesses(String userId, String serverName, List<Process> processes, String externalSourceName)
public GUIDResponse addPortsToProcess(String userId, String serverName, String processGuid, PortListRequestBody portListRequestBody)
serverName - name of server instance to calluserId - the name of the calling userportListRequestBody - guids of portspublic VoidResponse addLineageMappings(String userId, String serverName, LineageMappingsRequestBody lineageMappingsRequestBody)
userId - the name of the calling userserverName - ame of server instance to calllineageMappingsRequestBody - list of lineage mappingspublic GUIDResponse createOrUpdateProcess(String userId, String serverName, Process process, String externalSourceName)
serverName - name of server instance to calluserId - the name of the calling userprocess - properties of the processpublic String createOrUpdatePortImplementationWithSchemaType(String userId, String serverName, PortImplementation portImplementation, String externalSourceName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public String createOrUpdatePortAliasWithDelegation(String userId, String serverName, PortAlias portAlias, String externalSourceName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Copyright © 2018–2019 ODPi. All rights reserved.