Interface DataEngineClient
-
- All Known Implementing Classes:
DataEngineEventClient,DataEngineRESTClient,DataEngineRESTConfigurationClient
public interface DataEngineClientDataEngineClient provides the client-side interface for a data engine tool to create processes with ports, schemas and relationships.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddLineageMappings(String userId, List<LineageMapping> lineageMappings)Add lineage mapping relationships between schema typesStringaddProcessHierarchy(String userId, ProcessHierarchy processHierarchy)Add a ProcessHierarchy relationship to a processStringcreateExternalDataEngine(String userId, SoftwareServerCapability softwareServerCapability)Create or update the software server capability entityStringcreateOrUpdatePortAlias(String userId, PortAlias portAlias, String processQualifiedName)Create or update the port alias entity with a PortDelegation relationship.StringcreateOrUpdatePortImplementation(String userId, PortImplementation portImplementation, String processQualifiedName)Create or update the port implementation entity,with the corresponding schema type and port schema relationship.StringcreateOrUpdateProcess(String userId, Process process)Create or update the process, with all the ports, schema types and corresponding relationships including the process hierarchy relationship.StringcreateOrUpdateSchemaType(String userId, SchemaType schemaType)Create or update the schema type entity, with the corresponding schema attributes and relationshipsvoiddeleteConnection(String userId, String qualifiedName, String guid)Delete the connectionvoiddeleteDatabase(String userId, String qualifiedName, String guid)Delete the databasevoiddeleteDatabaseSchema(String userId, String qualifiedName, String guid)Delete the database schemavoiddeleteDataFile(String userId, String qualifiedName, String guid)Delete the data filevoiddeleteEndpoint(String userId, String qualifiedName, String guid)Delete the endpointvoiddeleteEventType(String userId, String qualifiedName, String guid)Delete the event typevoiddeleteExternalDataEngine(String userId, String qualifiedName, String guid)Delete the external data enginevoiddeleteFolder(String userId, String qualifiedName, String guid)Delete the foldervoiddeletePortAlias(String userId, String qualifiedName, String guid)Delete the port aliasvoiddeletePortImplementation(String userId, String qualifiedName, String guid)Delete the port implementationvoiddeleteProcess(String userId, String qualifiedName, String guid)Delete a processvoiddeleteRelationalTable(String userId, String qualifiedName, String guid)Delete the relational tablevoiddeleteSchemaType(String userId, String qualifiedName, String guid)Delete the schema typevoiddeleteTopic(String userId, String qualifiedName, String guid)Delete the topicGUIDListResponsefind(String userId, FindRequestBody findRequestBody)Find an entityStringgetExternalSourceName()Returns the name of the source system using data engine clientvoidsetExternalSourceName(String externalSourceName)Sets external source system name using the data engine clientStringupsertDatabase(String userId, Database database, boolean incomplete)Create or update the database entityStringupsertDatabaseSchema(String userId, DatabaseSchema databaseSchema, String databaseQualifiedName, boolean incomplete)Create or update the database schema entityStringupsertDataFile(String userId, DataFile dataFile, boolean incomplete)Create or update the data file entityStringupsertEventType(String userId, EventType eventType, String topicQualifiedName)Create or update the event type entityStringupsertRelationalTable(String userId, RelationalTable relationalTable, String databaseSchemaQualifiedName, boolean incomplete)Create or update the relational table entityStringupsertTopic(String userId, Topic topic)Create or update the topic entity
-
-
-
Method Detail
-
createOrUpdateProcess
String createOrUpdateProcess(String userId, Process process) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Create or update the process, with all the ports, schema types and corresponding relationships including the process hierarchy relationship.- Parameters:
userId- the name of the calling userprocess- the process- Returns:
- unique identifier of the process in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
deleteProcess
void deleteProcess(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete a process- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the process to be deletedguid- the unique identifier of the process to be deleted- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
createExternalDataEngine
String createExternalDataEngine(String userId, SoftwareServerCapability softwareServerCapability) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Create or update the software server capability entity- Parameters:
userId- the name of the calling usersoftwareServerCapability- the software server capability bean- Returns:
- unique identifier of the server in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
deleteExternalDataEngine
void deleteExternalDataEngine(String userId, String qualifiedName, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Delete the external data engine- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the external data engineguid- the unique identifier of the external data engine- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
createOrUpdateSchemaType
String createOrUpdateSchemaType(String userId, SchemaType schemaType) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Create or update the schema type entity, with the corresponding schema attributes and relationships- Parameters:
userId- the name of the calling userschemaType- the schema type bean- Returns:
- unique identifier of the schema type in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
deleteSchemaType
void deleteSchemaType(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the schema type- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the schema typeguid- the unique identifier of the schema type- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
createOrUpdatePortImplementation
String createOrUpdatePortImplementation(String userId, PortImplementation portImplementation, String processQualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Create or update the port implementation entity,with the corresponding schema type and port schema relationship. It attaches the port implementation to the provided process- Parameters:
userId- the name of the calling userportImplementation- the port implementation beanprocessQualifiedName- the process qualified name- Returns:
- unique identifier of the port implementation in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- internal problem with the connector
-
deletePortImplementation
void deletePortImplementation(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the port implementation- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of port implementationguid- the unique identifier of the port implementation- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
createOrUpdatePortAlias
String createOrUpdatePortAlias(String userId, PortAlias portAlias, String processQualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Create or update the port alias entity with a PortDelegation relationship. It attaches the port alias to the provided process- Parameters:
userId- the name of the calling userportAlias- the port alias beanprocessQualifiedName- the process qualified name- Returns:
- unique identifier of the port alias in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- internal problem with the connector
-
deletePortAlias
void deletePortAlias(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the port alias- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the port aliasguid- the unique identifier of the port alias- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
addProcessHierarchy
String addProcessHierarchy(String userId, ProcessHierarchy processHierarchy) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Add a ProcessHierarchy relationship to a process- Parameters:
userId- the name of the calling userprocessHierarchy- the process hierarchy bean- Returns:
- the unique identifier (guid) of the child of the process hierarchy that was updated
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- internal problem with the connector
-
addLineageMappings
void addLineageMappings(String userId, List<LineageMapping> lineageMappings) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Add lineage mapping relationships between schema types- Parameters:
userId- the name of the calling userlineageMappings- list of lineage mappings- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- internal problem with the connector
-
setExternalSourceName
void setExternalSourceName(String externalSourceName)
Sets external source system name using the data engine client- Parameters:
externalSourceName- Source system name
-
getExternalSourceName
String getExternalSourceName()
Returns the name of the source system using data engine client- Returns:
- Source system name
-
upsertDatabase
String upsertDatabase(String userId, Database database, boolean incomplete) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Create or update the database entity- Parameters:
userId- the name of the calling userdatabase- the database beanincomplete- determines if the entities inside the database are incomplete or not (database schema and relational tables)- Returns:
- unique identifier of database in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- internal problem with the connector
-
upsertDatabaseSchema
String upsertDatabaseSchema(String userId, DatabaseSchema databaseSchema, String databaseQualifiedName, boolean incomplete) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Create or update the database schema entity- Parameters:
userId- the name of the calling userdatabaseSchema- the database schema beandatabaseQualifiedName- the qualified name of the database, in case it is knownincomplete- indicates whether the asset is incomplete or not- Returns:
- unique identifier of database schema in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- internal problem with the connector
-
upsertRelationalTable
String upsertRelationalTable(String userId, RelationalTable relationalTable, String databaseSchemaQualifiedName, boolean incomplete) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Create or update the relational table entity- Parameters:
userId- the name of the calling userrelationalTable- the relational table beandatabaseSchemaQualifiedName- the qualified name of the database schema to which it will be relatedincomplete- indicates whether the asset is incomplete or not- Returns:
- unique identifier of the relational table in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- internal problem with the connector
-
upsertDataFile
String upsertDataFile(String userId, DataFile dataFile, boolean incomplete) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Create or update the data file entity- Parameters:
userId- the name of the calling userdataFile- the data file beanincomplete- should the incomplete classification be added?- Returns:
- unique identifier of the relational table in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- internal problem with the connector
-
deleteDatabase
void deleteDatabase(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the database- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the databaseguid- the unique identifier of the database- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
deleteDatabaseSchema
void deleteDatabaseSchema(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the database schema- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the database schemaguid- the unique identifier of the database schema- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
deleteRelationalTable
void deleteRelationalTable(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the relational table- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the relational tableguid- the unique identifier of the relational table- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
deleteDataFile
void deleteDataFile(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the data file- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the data fileguid- the unique identifier of the data file- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
deleteFolder
void deleteFolder(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the folder- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the data fileguid- the unique identifier of the folder- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
deleteConnection
void deleteConnection(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the connection- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the connectionguid- the unique identifier of the connection- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
deleteEndpoint
void deleteEndpoint(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the endpoint- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the endpointguid- the unique identifier of the endpoint- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
find
GUIDListResponse find(String userId, FindRequestBody findRequestBody) throws ConnectorCheckedException, InvalidParameterException, UserNotAuthorizedException, PropertyServerException, FunctionNotSupportedException
Find an entity- Parameters:
userId- the name of the calling userfindRequestBody- request body- Returns:
- list of found entities
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)FunctionNotSupportedException- this request is not supported in the target repositories
-
upsertTopic
String upsertTopic(String userId, Topic topic) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Create or update the topic entity- Parameters:
userId- the name of the calling usertopic- the topic bean- Returns:
- unique identifier of topic in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- internal problem with the connector
-
upsertEventType
String upsertEventType(String userId, EventType eventType, String topicQualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, ConnectorCheckedException
Create or update the event type entity- Parameters:
userId- the name of the calling usereventType- the event type beantopicQualifiedName- the qualified name of the topic- Returns:
- unique identifier of event type in the repository
- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- internal problem with the connector
-
deleteTopic
void deleteTopic(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the topic- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the topicguid- the unique identifier of the topic- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
deleteEventType
void deleteEventType(String userId, String qualifiedName, String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, ConnectorCheckedException
Delete the event type- Parameters:
userId- the name of the calling userqualifiedName- the qualified name of the event typeguid- the unique identifier of the event type- Throws:
InvalidParameterException- the bean properties are invalidUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- problem accessing the property serverConnectorCheckedException- problem with the underlying connector (if used)
-
-