Class LocalRepositoryServicesClient

    • Constructor Detail

      • LocalRepositoryServicesClient

        public LocalRepositoryServicesClient​(java.lang.String repositoryName,
                                             java.lang.String restURLRoot)
                                      throws org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException
        Create a new client with no authentication embedded in the HTTP 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.
        Throws:
        org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException - bad input parameters
      • LocalRepositoryServicesClient

        public LocalRepositoryServicesClient​(java.lang.String repositoryName,
                                             java.lang.String restURLRoot,
                                             java.lang.String userId,
                                             java.lang.String password)
                                      throws org.odpi.openmetadata.repositoryservices.ffdc.exception.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.
        userId - caller's userId embedded in all HTTP requests
        password - caller's userId embedded in all HTTP requests
        Throws:
        org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException - bad input parameters