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, String localServerSecretsStoreProvider, String localServerSecretsStoreLocation, String localServerSecretsStoreCollection, 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 OMAS REST services
      localServerSecretsStoreProvider - secrets store connector for bearer token
      localServerSecretsStoreLocation - secrets store location for bearer token
      localServerSecretsStoreCollection - secrets store collection for bearer token
      maxPageSize - maximum value allowed for page size
      auditLog - logging destination
      Throws:
      InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.