Class EnterpriseRepositoryServicesClient

java.lang.Object
org.odpi.openmetadata.repositoryservices.clients.MetadataCollectionServicesClient
org.odpi.openmetadata.repositoryservices.clients.EnterpriseRepositoryServicesClient
All Implemented Interfaces:
AuditLoggingComponent

public class EnterpriseRepositoryServicesClient extends MetadataCollectionServicesClient
EnterpriseRepositoryServicesClient provides a client interface for calling the enterprise repository services in a remote server.
  • Constructor Details

    • EnterpriseRepositoryServicesClient

      public EnterpriseRepositoryServicesClient(String serverName, String restURLRoot) throws InvalidParameterException
      Create a new client with no authentication embedded in the HTTP request.
      Parameters:
      serverName - name of the server to connect to
      restURLRoot - the network address of the server running the repository services. This is of the form serverURLroot + "/servers/" + serverName.
      Throws:
      InvalidParameterException - bad input parameters
    • EnterpriseRepositoryServicesClient

      public EnterpriseRepositoryServicesClient(String repositoryName, String restURLRoot, String userId, String password) throws InvalidParameterException
      Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.
      Parameters:
      repositoryName - name of the server to connect to
      restURLRoot - the network address of the server running the repository services. This is of the form serverURLroot + "/servers/" + serverName.
      userId - caller's userId embedded in all HTTP requests
      password - caller's userId embedded in all HTTP requests
      Throws:
      InvalidParameterException - bad input parameters
    • EnterpriseRepositoryServicesClient

      public EnterpriseRepositoryServicesClient(String repositoryName, String restURLRoot, int maxPageSize, String callerId) throws InvalidParameterException
      Create a new client with no authentication embedded in the HTTP request.
      Parameters:
      repositoryName - name of the server to connect to
      restURLRoot - the network address of the server running the repository services. This is of the form serverURLroot + "/servers/" + serverName.
      maxPageSize - pre-initialized parameter limit
      callerId - unique identifier of the caller
      Throws:
      InvalidParameterException - bad input parameters
    • EnterpriseRepositoryServicesClient

      public EnterpriseRepositoryServicesClient(String repositoryName, String restURLRoot, String userId, String password, int maxPageSize, String callerId) throws InvalidParameterException
      Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.
      Parameters:
      repositoryName - name of the server to connect to
      restURLRoot - the network address of the server running the repository services. This is of the form serverURLroot + "/servers/" + serverName.
      userId - caller's userId embedded in all HTTP requests
      password - caller's userId embedded in all HTTP requests
      maxPageSize - pre-initialized parameter limit
      callerId - unique identifier of the caller
      Throws:
      InvalidParameterException - bad input parameters
  • Method Details