Class DataEngineRESTConfigurationClient
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
org.odpi.openmetadata.accessservices.dataengine.client.DataEngineRESTConfigurationClient
- All Implemented Interfaces:
DataEngineClient
DataEngineRESTConfigurationClient provides an extension to the client-side REST interface for obtaining Data Engine access service configuration
specifics.
-
Constructor Summary
ConstructorsConstructorDescriptionDataEngineRESTConfigurationClient(String serverName, String serverPlatformRootURL) Create DataEngineRESTConfigurationClient with unauthenticated access to the DE OMAS server.DataEngineRESTConfigurationClient(String serverName, String serverPlatformRootURL, String userId, String password) Instantiates a new Data Engine REST configuration client. -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionResponsegetInTopicConnection(String serverName, String userId) Retrieve input topic connection details from remote DE OMAS instance.Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.client.DataEngineRESTClient
addDataFlows, addProcessHierarchy, createExternalDataEngine, createOrUpdatePortImplementation, createOrUpdateProcess, createOrUpdateSchemaType, deleteConnection, deleteDatabase, deleteDatabaseSchema, deleteDataFile, deleteEndpoint, deleteEventType, deleteExternalDataEngine, deleteFolder, deletePortImplementation, deleteProcess, deleteRelationalTable, deleteSchemaType, deleteTopic, find, getDeleteSemantic, getExternalSourceName, getProcessingState, setDeleteSemantic, setExternalSourceName, upsertDatabase, upsertDatabaseSchema, upsertDataFile, upsertEventType, upsertProcessingState, upsertRelationalTable, upsertTopicMethods inherited from class org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.OCFRESTClient
callOCFAssetGetRESTCall, callOCFAssetsGetRESTCall, callOCFAssetsPostRESTCall, callOCFConnectionGetRESTCall, callOCFTagGetRESTCall, callOCFTagListGetRESTCall, callOCFTagListPostRESTCallMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient
callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callOCFConnectorReportGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase
callPostRESTCallNoParams
-
Constructor Details
-
DataEngineRESTConfigurationClient
public DataEngineRESTConfigurationClient(String serverName, String serverPlatformRootURL) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create DataEngineRESTConfigurationClient with unauthenticated access to the DE OMAS server.- Parameters:
serverName- the server nameserverPlatformRootURL- the network address of the server running the OMAS REST services- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- null URL or server name
-
DataEngineRESTConfigurationClient
public DataEngineRESTConfigurationClient(String serverName, String serverPlatformRootURL, String userId, String password) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Instantiates a new Data Engine REST configuration client.- Parameters:
serverName- name of the server to connect toserverPlatformRootURL- the network address of the server running the OMAS REST servicesuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requests- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- null URL or server name
-
-
Method Details
-
getInTopicConnection
public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionResponse getInTopicConnection(String serverName, String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Retrieve input topic connection details from remote DE OMAS instance.- Parameters:
serverName- name of the server hosting DE access serviceuserId- user accessing the server hosting DE access service- Returns:
- ConnectionResponse OCF object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- input parameter(s) invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stackorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user is not authorized
-