public class DataEngineRESTServices extends Object
| Constructor and Description |
|---|
DataEngineRESTServices() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
addLineageMappings(String userId,
String serverName,
LineageMappingsRequestBody lineageMappingsRequestBody)
Create LineageMappings relationships between schema attributes
|
void |
addLineageMappings(String userId,
String serverName,
List<LineageMapping> lineageMappings,
FFDCResponseBase response,
String externalSourceName)
Create LineageMappings relationships between schema attributes
|
void |
addPortsToProcess(String userId,
String serverName,
String processGUID,
List<String> portQualifiedNames,
String externalSourceName)
Create ProcessPort relationships for an existing Process
|
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
|
String |
createExternalDataEngine(String userId,
String serverName,
SoftwareServerCapability softwareServerCapability)
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)
Create or update a Port Alias with a PortDelegation relationship
|
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)
Create or update a Port Implementation with an associated SchemaType
|
ProcessListResponse |
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
|
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)
userId - the name of the calling userserverName - name of server instance to callprocessesRequestBody - properties of the processespublic String createOrUpdatePortAliasWithDelegation(String userId, String serverName, PortAlias portAlias, String externalSourceName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userserverName - name of server instance to callportAlias - the port alias valuesexternalSourceName - the unique name of the external sourceInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createOrUpdatePortImplementationWithSchemaType(String userId, String serverName, PortImplementation portImplementation, String externalSourceName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userserverName - name of server instance to callportImplementation - the port implementation valuesexternalSourceName - the unique name of the external sourceInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createExternalDataEngine(String userId, String serverName, SoftwareServerCapability softwareServerCapability) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userserverName - name of server instance to callsoftwareServerCapability - the software server valuesInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void addPortsToProcess(String userId, String serverName, String processGUID, List<String> portQualifiedNames, String externalSourceName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userserverName - name of server instance to callprocessGUID - the process entity unique identifier(guid)portQualifiedNames - the list of qualified names for the port entitiesexternalSourceName - the unique name of the external sourceInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void addLineageMappings(String userId, String serverName, List<LineageMapping> lineageMappings, FFDCResponseBase response, String externalSourceName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling userserverName - name of server instance to calllineageMappings - the list of lineage mappings to be createdresponse - the response object that will capture the exceptions that might occur during
parallel processingexternalSourceName - the unique name of the external sourceInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic ProcessListResponse createOrUpdateProcesses(String userId, String serverName, List<Process> processes, String externalSourceName)
userId - the name of the calling userserverName - name of server instance to callprocesses - list of processes to be createdexternalSourceName - the unique name of the external sourcepublic GUIDResponse addPortsToProcess(String userId, String serverName, String processGuid, PortListRequestBody portListRequestBody)
serverName - name of server instance to calluserId - the name of the calling userportListRequestBody - list of port qualified namespublic VoidResponse addLineageMappings(String userId, String serverName, LineageMappingsRequestBody lineageMappingsRequestBody)
userId - the name of the calling userserverName - ame of server instance to calllineageMappingsRequestBody - list of lineage mappingsCopyright © 2018–2020 ODPi. All rights reserved.