Class EgeriaConnectedAssetClient
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.client.ConnectedAssetClient
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.EgeriaConnectedAssetClient
- All Implemented Interfaces:
ConnectorFactoryInterface
EgeriaConnectedAssetClient is used by applications and tools as a factory for Open
Connector Framework (OCF) connectors. The configuration for the connectors is managed as open metadata in
a Connection definition. The caller to the EgeriaConnectedAssetClient passes either the name, GUID or URL for the
connection to the appropriate method to retrieve a connector. The EgeriaConnectedAssetClient retrieves the connection
from the metadata repository and creates an appropriate connector as described the connection and
returns it to the caller.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase
invalidParameterHandler
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.client.ConnectedAssetClient
auditLog, maxPageSize, propertyHelper, serverName, serverPlatformURLRoot
-
Constructor Summary
ConstructorsConstructorDescriptionEgeriaConnectedAssetClient
(String serverName, String serverPlatformURLRoot, int maxPageSize, AuditLog auditLog) Create a new client with no authentication embedded in the HTTP request.EgeriaConnectedAssetClient
(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize, AuditLog auditLog) Create a new client with no authentication embedded in the HTTP request. -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase
getConnectionByGUID, getConnectionByName, getConnectionForAsset, getConnectorByConnection, getConnectorByGUID, getConnectorByName, getConnectorForAsset, getConnectorForAsset, getConnectorForConnection, saveConnection, saveConnection
-
Constructor Details
-
EgeriaConnectedAssetClient
public EgeriaConnectedAssetClient(String serverName, String serverPlatformURLRoot, int maxPageSize, AuditLog auditLog) throws InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName
- name of the server to connect toserverPlatformURLRoot
- the network address of the server running the OCF REST servicesmaxPageSize
- maximum page size for this processauditLog
- destination for log messages- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-
EgeriaConnectedAssetClient
public EgeriaConnectedAssetClient(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize, AuditLog auditLog) throws InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName
- name of the server to connect toserverPlatformURLRoot
- the network address of the server running the OCF REST servicesuserId
- caller's userId embedded in all HTTP requestspassword
- caller's userId embedded in all HTTP requestsmaxPageSize
- maximum page size for this processauditLog
- destination for log messages- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-