All Implemented Interfaces:
ConnectorFactoryInterface

public class EgeriaConnectedAssetClient extends ConnectedAssetClientBase
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.
  • 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 to
      serverPlatformURLRoot - the network address of the server running the OCF REST services
      maxPageSize - maximum page size for this process
      auditLog - 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 to
      serverPlatformURLRoot - the network address of the server running the OCF REST services
      userId - caller's userId embedded in all HTTP requests
      password - caller's userId embedded in all HTTP requests
      maxPageSize - maximum page size for this process
      auditLog - destination for log messages
      Throws:
      InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.