Class DataEngineRESTClient

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.OCFRESTClient
org.odpi.openmetadata.accessservices.dataengine.client.DataEngineRESTClient
All Implemented Interfaces:
DataEngineClient
Direct Known Subclasses:
DataEngineRESTConfigurationClient

public class DataEngineRESTClient extends org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.OCFRESTClient implements DataEngineClient
The Data Engine Open Metadata Access Service (OMAS) provides an interface for data engine tools to create processes with ports, schemas and relationships. See interface definition for more explanation.
  • Field Summary

    Fields inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase

    auditLog, exceptionHandler, serverName, serverPlatformURLRoot
  • Constructor Summary

    Constructors
    Constructor
    Description
    DataEngineRESTClient(String serverName, String serverPlatformRootURL)
    Create a new client without authentication.
    DataEngineRESTClient(String serverName, String serverPlatformRootURL, String userId, String password)
    Create a new client that passes userId and password in each HTTP request.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addDataFlows(String userId, List<org.odpi.openmetadata.accessservices.dataengine.model.DataFlow> dataFlows)
    Add data flow relationships between entities
    addProcessHierarchy(String userId, org.odpi.openmetadata.accessservices.dataengine.model.ProcessHierarchy processHierarchy)
    Add a ProcessHierarchy relationship to a process
    createExternalDataEngine(String userId, org.odpi.openmetadata.accessservices.dataengine.model.Engine engine)
    Create or update the engine entity
    createOrUpdatePortAlias(String userId, org.odpi.openmetadata.accessservices.dataengine.model.PortAlias portAlias, String processQualifiedName)
    Create or update the port alias entity with a PortDelegation relationship.
    createOrUpdatePortImplementation(String userId, org.odpi.openmetadata.accessservices.dataengine.model.PortImplementation portImplementation, String processQualifiedName)
    Create or update the port implementation entity,with the corresponding schema type and port schema relationship.
    createOrUpdateProcess(String userId, org.odpi.openmetadata.accessservices.dataengine.model.Process process)
    Create or update the process, with all the ports, schema types and corresponding relationships including the process hierarchy relationship.
    createOrUpdateSchemaType(String userId, org.odpi.openmetadata.accessservices.dataengine.model.SchemaType schemaType)
    Create or update the schema type entity, with the corresponding schema attributes and relationships
    void
    deleteConnection(String userId, String qualifiedName, String guid)
    Delete the connection
    void
    deleteDatabase(String userId, String qualifiedName, String guid)
    Delete the database
    void
    deleteDatabaseSchema(String userId, String qualifiedName, String guid)
    Delete the database schema
    void
    deleteDataFile(String userId, String qualifiedName, String guid)
    Delete the data file
    void
    deleteEndpoint(String userId, String qualifiedName, String guid)
    Delete the endpoint
    void
    deleteEventType(String userId, String qualifiedName, String guid)
    Delete the event type
    void
    deleteExternalDataEngine(String userId, String qualifiedName, String guid)
    Delete the external data engine
    void
    deleteFolder(String userId, String qualifiedName, String guid)
    Delete the folder
    void
    deletePortAlias(String userId, String qualifiedName, String guid)
    Delete the port alias
    void
    deletePortImplementation(String userId, String qualifiedName, String guid)
    Delete the port implementation
    void
    deleteProcess(String userId, String qualifiedName, String guid)
    Delete a process
    void
    deleteRelationalTable(String userId, String qualifiedName, String guid)
    Delete the relational table
    void
    deleteSchemaType(String userId, String qualifiedName, String guid)
    Delete the schema type
    void
    deleteTopic(String userId, String qualifiedName, String guid)
    Delete the topic
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDListResponse
    find(String userId, org.odpi.openmetadata.accessservices.dataengine.rest.FindRequestBody findRequestBody)
    Find an entity
    org.odpi.openmetadata.accessservices.dataengine.model.DeleteSemantic
     
    Returns the name of the source system using data engine client
    Get the engine's processing state classification's properties
    void
    setDeleteSemantic(org.odpi.openmetadata.accessservices.dataengine.model.DeleteSemantic deleteSemantic)
     
    void
    setExternalSourceName(String externalSourceName)
    Sets external source system name using the data engine client
    upsertDatabase(String userId, org.odpi.openmetadata.accessservices.dataengine.model.Database database)
    Create or update the database entity
    upsertDatabaseSchema(String userId, org.odpi.openmetadata.accessservices.dataengine.model.DatabaseSchema databaseSchema, String databaseQualifiedName)
    Create or update the database schema entity
    upsertDataFile(String userId, org.odpi.openmetadata.accessservices.dataengine.model.DataFile dataFile)
    Create or update the data file entity
    upsertEventType(String userId, org.odpi.openmetadata.accessservices.dataengine.model.EventType eventType, String topicQualifiedName)
    Create or update the event type entity
    void
    upsertProcessingState(String userId, Map<String,Long> properties)
    Create or update the engine's processing state classification with the provided properties
    upsertRelationalTable(String userId, org.odpi.openmetadata.accessservices.dataengine.model.RelationalTable relationalTable, String databaseSchemaQualifiedName)
    Create or update the relational table entity
    upsertTopic(String userId, org.odpi.openmetadata.accessservices.dataengine.model.Topic topic)
    Create or update the topic entity

    Methods inherited from class org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.OCFRESTClient

    callOCFAssetGetRESTCall, callOCFAssetsGetRESTCall, callOCFAssetsPostRESTCall, callOCFConnectionGetRESTCall, callOCFTagGetRESTCall, callOCFTagListGetRESTCall, callOCFTagListPostRESTCall

    Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient

    callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callOCFConnectorReportGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCall

    Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase

    callDeleteRESTCall, callDeleteRESTCall, callGetRESTCall, callGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCall, callPostRESTCallNoParams, callPutRESTCall, callPutRESTCall

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DataEngineRESTClient

      public DataEngineRESTClient(String serverName, String serverPlatformRootURL) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      Create a new client without authentication.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformRootURL - the network address of the server running the OMAS REST services
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - null URL or server name
    • DataEngineRESTClient

      public DataEngineRESTClient(String serverName, String serverPlatformRootURL, String userId, String password) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformRootURL - the network address of the server running the OMAS REST services
      userId - caller's userId embedded in all HTTP requests
      password - caller's userId embedded in all HTTP requests
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - null URL or server name
  • Method Details

    • getExternalSourceName

      public String getExternalSourceName()
      Description copied from interface: DataEngineClient
      Returns the name of the source system using data engine client
      Specified by:
      getExternalSourceName in interface DataEngineClient
      Returns:
      Source system name
    • setExternalSourceName

      public void setExternalSourceName(String externalSourceName)
      Description copied from interface: DataEngineClient
      Sets external source system name using the data engine client
      Specified by:
      setExternalSourceName in interface DataEngineClient
      Parameters:
      externalSourceName - Source system name
    • getDeleteSemantic

      public org.odpi.openmetadata.accessservices.dataengine.model.DeleteSemantic getDeleteSemantic()
    • setDeleteSemantic

      public void setDeleteSemantic(org.odpi.openmetadata.accessservices.dataengine.model.DeleteSemantic deleteSemantic)
    • createOrUpdateProcess

      public String createOrUpdateProcess(String userId, org.odpi.openmetadata.accessservices.dataengine.model.Process process) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      Description copied from interface: DataEngineClient
      Create or update the process, with all the ports, schema types and corresponding relationships including the process hierarchy relationship.
      Specified by:
      createOrUpdateProcess in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      process - the process
      Returns:
      unique identifier of the process in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
    • deleteProcess

      public void deleteProcess(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Description copied from interface: DataEngineClient
      Delete a process
      Specified by:
      deleteProcess in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the process to be deleted
      guid - the unique identifier of the process to be deleted
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • createExternalDataEngine

      public String createExternalDataEngine(String userId, org.odpi.openmetadata.accessservices.dataengine.model.Engine engine) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create or update the engine entity
      Specified by:
      createExternalDataEngine in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      engine - the engine bean
      Returns:
      unique identifier of the server in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deleteExternalDataEngine

      public void deleteExternalDataEngine(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the external data engine
      Specified by:
      deleteExternalDataEngine in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the external data engine
      guid - the unique identifier of the external data engine
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • createOrUpdateSchemaType

      public String createOrUpdateSchemaType(String userId, org.odpi.openmetadata.accessservices.dataengine.model.SchemaType schemaType) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      Create or update the schema type entity, with the corresponding schema attributes and relationships
      Specified by:
      createOrUpdateSchemaType in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      schemaType - the schema type bean
      Returns:
      unique identifier of the schema type in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
    • deleteSchemaType

      public void deleteSchemaType(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the schema type
      Specified by:
      deleteSchemaType in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the schema type
      guid - the unique identifier of the schema type
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • createOrUpdatePortImplementation

      public String createOrUpdatePortImplementation(String userId, org.odpi.openmetadata.accessservices.dataengine.model.PortImplementation portImplementation, String processQualifiedName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      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
      Specified by:
      createOrUpdatePortImplementation in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      portImplementation - the port implementation bean
      processQualifiedName - the process qualified name
      Returns:
      unique identifier of the port implementation in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deletePortImplementation

      public void deletePortImplementation(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the port implementation
      Specified by:
      deletePortImplementation in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of port implementation
      guid - the unique identifier of the port implementation
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • createOrUpdatePortAlias

      public String createOrUpdatePortAlias(String userId, org.odpi.openmetadata.accessservices.dataengine.model.PortAlias portAlias, String processQualifiedName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create or update the port alias entity with a PortDelegation relationship. It attaches the port alias to the provided process
      Specified by:
      createOrUpdatePortAlias in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      portAlias - the port alias bean
      processQualifiedName - the process qualified name
      Returns:
      unique identifier of the port alias in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deletePortAlias

      public void deletePortAlias(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the port alias
      Specified by:
      deletePortAlias in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the port alias
      guid - the unique identifier of the port alias
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • addProcessHierarchy

      public String addProcessHierarchy(String userId, org.odpi.openmetadata.accessservices.dataengine.model.ProcessHierarchy processHierarchy) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Add a ProcessHierarchy relationship to a process
      Specified by:
      addProcessHierarchy in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      processHierarchy - the process hierarchy bean
      Returns:
      the unique identifier (guid) of the child of the process hierarchy that was updated
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • addDataFlows

      public void addDataFlows(String userId, List<org.odpi.openmetadata.accessservices.dataengine.model.DataFlow> dataFlows) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Add data flow relationships between entities
      Specified by:
      addDataFlows in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      dataFlows - list of data flows
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • upsertDatabase

      public String upsertDatabase(String userId, org.odpi.openmetadata.accessservices.dataengine.model.Database database) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create or update the database entity
      Specified by:
      upsertDatabase in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      database - the database bean
      Returns:
      unique identifier of database in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • upsertDatabaseSchema

      public String upsertDatabaseSchema(String userId, org.odpi.openmetadata.accessservices.dataengine.model.DatabaseSchema databaseSchema, String databaseQualifiedName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create or update the database schema entity
      Specified by:
      upsertDatabaseSchema in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      databaseSchema - the database schema bean
      databaseQualifiedName - the qualified name of the database, in case it is known
      Returns:
      unique identifier of database schema in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • upsertRelationalTable

      public String upsertRelationalTable(String userId, org.odpi.openmetadata.accessservices.dataengine.model.RelationalTable relationalTable, String databaseSchemaQualifiedName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create or update the relational table entity
      Specified by:
      upsertRelationalTable in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      relationalTable - the relational table bean
      databaseSchemaQualifiedName - the qualified name of the database schema to which it will be related
      Returns:
      unique identifier of the relational table in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • upsertDataFile

      public String upsertDataFile(String userId, org.odpi.openmetadata.accessservices.dataengine.model.DataFile dataFile) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create or update the data file entity
      Specified by:
      upsertDataFile in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      dataFile - the data file bean
      Returns:
      unique identifier of the relational table in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deleteDatabase

      public void deleteDatabase(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the database
      Specified by:
      deleteDatabase in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the database
      guid - the unique identifier of the database
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deleteDatabaseSchema

      public void deleteDatabaseSchema(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the database schema
      Specified by:
      deleteDatabaseSchema in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the database schema
      guid - the unique identifier of the database schema
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deleteRelationalTable

      public void deleteRelationalTable(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the relational table
      Specified by:
      deleteRelationalTable in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the relational table
      guid - the unique identifier of the relational table
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deleteDataFile

      public void deleteDataFile(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the data file
      Specified by:
      deleteDataFile in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the data file
      guid - the unique identifier of the data file
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deleteFolder

      public void deleteFolder(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the folder
      Specified by:
      deleteFolder in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the data file
      guid - the unique identifier of the folder
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deleteConnection

      public void deleteConnection(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the connection
      Specified by:
      deleteConnection in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the connection
      guid - the unique identifier of the connection
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deleteEndpoint

      public void deleteEndpoint(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the endpoint
      Specified by:
      deleteEndpoint in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the endpoint
      guid - the unique identifier of the endpoint
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • find

      public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDListResponse find(String userId, org.odpi.openmetadata.accessservices.dataengine.rest.FindRequestBody findRequestBody) throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Find an entity
      Specified by:
      find in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      findRequestBody - request body
      Returns:
      list of found entities
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException - problem with the underlying connector (if used)
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • upsertTopic

      public String upsertTopic(String userId, org.odpi.openmetadata.accessservices.dataengine.model.Topic topic) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create or update the topic entity
      Specified by:
      upsertTopic in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      topic - the topic bean
      Returns:
      unique identifier of topic in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • upsertEventType

      public String upsertEventType(String userId, org.odpi.openmetadata.accessservices.dataengine.model.EventType eventType, String topicQualifiedName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create or update the event type entity
      Specified by:
      upsertEventType in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      eventType - the event type bean
      topicQualifiedName - the qualified name of the topic
      Returns:
      unique identifier of event type in the repository
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deleteTopic

      public void deleteTopic(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the topic
      Specified by:
      deleteTopic in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the topic
      guid - the unique identifier of the topic
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • deleteEventType

      public void deleteEventType(String userId, String qualifiedName, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Delete the event type
      Specified by:
      deleteEventType in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      qualifiedName - the qualified name of the event type
      guid - the unique identifier of the event type
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the bean properties are invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing the property server
    • upsertProcessingState

      public void upsertProcessingState(String userId, Map<String,Long> properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      Description copied from interface: DataEngineClient
      Create or update the engine's processing state classification with the provided properties
      Specified by:
      upsertProcessingState in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      properties - properties of the processing state
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
    • getProcessingState

      public Map<String,Long> getProcessingState(String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Description copied from interface: DataEngineClient
      Get the engine's processing state classification's properties
      Specified by:
      getProcessingState in interface DataEngineClient
      Parameters:
      userId - the name of the calling user
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException