Class LocalRepositoryServicesClient

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

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

    • LocalRepositoryServicesClient

      public LocalRepositoryServicesClient(String repositoryName, String restURLRoot, Map<String,SecretsStoreConnector> secretsStoreConnectorMap) 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 repository to connect to (used in error messages)
      restURLRoot - the network address of the server running the repository services. This is of the form serverURLroot + "/servers/" + serverName.
      secretsStoreConnectorMap - secrets to create bearer token
      Throws:
      InvalidParameterException - bad input parameters