Class GovernanceServerConfigurationClient

    • Constructor Detail

      • GovernanceServerConfigurationClient

        public GovernanceServerConfigurationClient​(java.lang.String adminUserId,
                                                   java.lang.String serverName,
                                                   java.lang.String serverPlatformRootURL)
                                            throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException
        Create a new client with no authentication embedded in the HTTP request.
        Parameters:
        adminUserId - administrator's (end user's) userId to associate with calls.
        serverName - name of the server to connect to
        serverPlatformRootURL - the network address of the server running the admin services
        Throws:
        org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
      • GovernanceServerConfigurationClient

        public GovernanceServerConfigurationClient​(java.lang.String adminUserId,
                                                   java.lang.String serverName,
                                                   java.lang.String serverPlatformRootURL,
                                                   java.lang.String connectionUserId,
                                                   java.lang.String connectionPassword)
                                            throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException
        Create a new client that passes a connection userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is passed as the admin userId.
        Parameters:
        adminUserId - administrator's (end user's) userId to associate with calls.
        serverName - name of the server to connect to
        serverPlatformRootURL - the network address of the server running the admin services
        connectionUserId - caller's system userId embedded in all HTTP requests
        connectionPassword - caller's system password embedded in all HTTP requests
        Throws:
        org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.