public class DataEngineImpl extends OCFRESTClient implements DataEngineClient
clientConnector, serverPlatformURLRoot| Constructor and Description |
|---|
DataEngineImpl(String serverName,
String serverPlatformRootURL)
Create a new client without authentication.
|
DataEngineImpl(String serverName,
String serverPlatformRootURL,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLineageMappings(String userId,
List<LineageMapping> lineageMappings)
Add lineage mapping relationships between schema types
|
void |
addPortsToProcess(String userId,
List<String> portGUIDs,
String processGUID)
Add ports and process ports relationship to an existing port
|
String |
createPortAlias(String userId,
PortAlias portAlias)
Create the Port Alias entity with a PortDelegation relationship
|
String |
createPortAlias(String userId,
String qualifiedName,
String displayName,
PortType portType,
String delegatesTo)
Create the Port Alias entity with a PortDelegation relationship
|
String |
createPortImplementation(String userId,
PortImplementation portImplementation)
Create the port implementation entity, with the corresponding schema type and port schema relationship
|
String |
createPortImplementation(String userId,
String qualifiedName,
String displayName,
PortType portType,
SchemaType schemaType)
Create the port implementation entity, with the corresponding schema type and port schema relationship
|
String |
createProcess(String userId,
Process process)
Creates the process, with all the ports, schema types and corresponding relationships
|
String |
createProcess(String userId,
String qualifiedName,
String processName,
String description,
String latestChange,
List<String> zoneMembership,
String displayName,
String formula,
String owner,
OwnerType ownerType,
List<PortImplementation> portImplementations,
List<PortAlias> portAliases,
List<LineageMapping> lineageMappings)
Creates the process, with all the ports, schema types and corresponding relationships
|
List<String> |
createProcesses(String userId,
List<Process> processes)
Creates the process, with all the ports, schema types and corresponding relationships
|
String |
createSchemaType(String userId,
SchemaType schemaType)
Create the schema type entity, with the corresponding schema attributes and relationships
|
String |
createSchemaType(String userId,
String qualifiedName,
String displayName,
String author,
String encodingStandard,
String usage,
String versionNumber,
List<Attribute> attributeList)
Create the schema type entity, with the corresponding schema attributes and relationships
|
String |
createSoftwareServerCapability(String userId,
SoftwareServerCapability softwareServerCapability)
Create the software server capability entity
|
String |
createSoftwareServerCapability(String userId,
String qualifiedName,
String name,
String description,
String type,
String version,
String patchLevel,
String source)
Create the software server capability entity
|
callAssetGetRESTCall, callAssetsGetRESTCall, callAssetsPostRESTCall, callConnectionGetRESTCall, callSchemaTypeGetRESTCall, callTagGetRESTCall, callTagListGetRESTCall, callTagListPostRESTCallcallCountGetRESTCall, callGetRESTCall, callGetRESTCallNoParams, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callPostRESTCall, callPostRESTCallNoParams, callVoidPostRESTCallpublic DataEngineImpl(String serverName, String serverPlatformRootURL) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversInvalidParameterException - null URL or server namepublic DataEngineImpl(String serverName, String serverPlatformRootURL, String userId, String password) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsInvalidParameterException - null URL or server namepublic String createProcess(String userId, String qualifiedName, String processName, String description, String latestChange, List<String> zoneMembership, String displayName, String formula, String owner, OwnerType ownerType, List<PortImplementation> portImplementations, List<PortAlias> portAliases, List<LineageMapping> lineageMappings) throws PropertyServerException, InvalidParameterException, UserNotAuthorizedException
DataEngineClientcreateProcess in interface DataEngineClientuserId - the name of the calling userqualifiedName - the qualifiedName name of the processprocessName - the name of the processdescription - the description of the processlatestChange - the description for the latest change done for the processzoneMembership - the list of zones of the processdisplayName - the display name of the processformula - the formula for the processowner - the name of the owner for this processownerType - the type of the owner for this processportImplementations - the list of port implementationsportAliases - the list of port aliaseslineageMappings - the list of lineage mappingsPropertyServerException - problem accessing the property serverInvalidParameterException - the bean properties are
invalidUserNotAuthorizedException - user not authorized to issue this requestInvalidParameterExceptionpublic String createProcess(String userId, Process process) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
DataEngineClientcreateProcess in interface DataEngineClientuserId - the name of the calling userprocess - the process beanInvalidParameterException - the bean properties are
invalidPropertyServerException - problem accessing the property serverUserNotAuthorizedException - user not authorized to issue this requestInvalidParameterExceptionpublic List<String> createProcesses(String userId, List<Process> processes) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
DataEngineClientcreateProcesses in interface DataEngineClientuserId - the name of the calling userprocesses - list of processesInvalidParameterException - the bean properties are
invalidPropertyServerException - problem accessing the property serverUserNotAuthorizedException - user not authorized to issue this requestInvalidParameterExceptionpublic String createSoftwareServerCapability(String userId, String qualifiedName, String name, String description, String type, String version, String patchLevel, String source) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
DataEngineClientcreateSoftwareServerCapability in interface DataEngineClientuserId - the name of the calling userqualifiedName - the qualifiedName name of the servername - the name of the serverdescription - the description of the servertype - the type of the serverversion - the version of the serverpatchLevel - the patch level of the serversource - the source of the serverInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createSoftwareServerCapability(String userId, SoftwareServerCapability softwareServerCapability) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
DataEngineClientcreateSoftwareServerCapability in interface DataEngineClientuserId - the name of the calling usersoftwareServerCapability - the software server capability beanInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createSchemaType(String userId, String qualifiedName, String displayName, String author, String encodingStandard, String usage, String versionNumber, List<Attribute> attributeList) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
DataEngineClientcreateSchemaType in interface DataEngineClientuserId - the name of the calling userqualifiedName - the qualifiedName name of the schema typedisplayName - the display name of the schema typeauthor - the author of the schema typeencodingStandard - the encoding for the schema typeusage - the usage for the schema typeversionNumber - the version number for the schema typeattributeList - the list of attributes for the schema typeInvalidParameterException - the bean properties are invalidPropertyServerException - problem accessing the property serverUserNotAuthorizedException - user not authorized to issue this requestpublic String createSchemaType(String userId, SchemaType schemaType) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
DataEngineClientcreateSchemaType in interface DataEngineClientuserId - the name of the calling userschemaType - the schema type beanInvalidParameterException - the bean properties are invalidPropertyServerException - problem accessing the property serverUserNotAuthorizedException - user not authorized to issue this requestpublic String createPortImplementation(String userId, String qualifiedName, String displayName, PortType portType, SchemaType schemaType) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
DataEngineClientcreatePortImplementation in interface DataEngineClientuserId - the name of the calling userqualifiedName - the qualifiedName name of the portdisplayName - the display name of the portportType - the type of the portschemaType - the schema type attached to the port implementationInvalidParameterException - the bean properties are
invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createPortImplementation(String userId, PortImplementation portImplementation) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
DataEngineClientcreatePortImplementation in interface DataEngineClientuserId - the name of the calling userportImplementation - the port implementation beanInvalidParameterException - the bean properties are
invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createPortAlias(String userId, String qualifiedName, String displayName, PortType portType, String delegatesTo) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
DataEngineClientcreatePortAlias in interface DataEngineClientuserId - the name of the calling userqualifiedName - the qualifiedName name of the portdisplayName - the display name of the portportType - the type of the portdelegatesTo - the qualified name of the delegated portInvalidParameterException - the bean properties are
invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic String createPortAlias(String userId, PortAlias portAlias) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
DataEngineClientcreatePortAlias in interface DataEngineClientuserId - the name of the calling userportAlias - the port alias beanInvalidParameterException - the bean properties are
invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void addLineageMappings(String userId, List<LineageMapping> lineageMappings) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
DataEngineClientaddLineageMappings in interface DataEngineClientuserId - the name of the calling userlineageMappings - list of lineage mappingsInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void addPortsToProcess(String userId, List<String> portGUIDs, String processGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
DataEngineClientaddPortsToProcess in interface DataEngineClientuserId - the name of the calling userportGUIDs - the list of port GUIDsprocessGUID - the process GUYIDInvalidParameterException - the bean properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverCopyright © 2018–2019 ODPi. All rights reserved.