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.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase
auditLog, exceptionHandler, serverName, serverPlatformURLRoot
-
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 TypeMethodDescriptiongetInTopicConnection
(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, upsertTopic
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
callBooleanGetRESTCall, 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
-
Constructor Details
-
DataEngineRESTConfigurationClient
public DataEngineRESTConfigurationClient(String serverName, String serverPlatformRootURL) throws 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:
InvalidParameterException
- null URL or server name
-
DataEngineRESTConfigurationClient
public DataEngineRESTConfigurationClient(String serverName, String serverPlatformRootURL, String userId, String password) throws 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:
InvalidParameterException
- null URL or server name
-
-
Method Details
-
getInTopicConnection
public ConnectionResponse getInTopicConnection(String serverName, String userId) throws InvalidParameterException, PropertyServerException, 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:
InvalidParameterException
- input parameter(s) invalidPropertyServerException
- something went wrong with the REST call stackUserNotAuthorizedException
- user is not authorized
-