java.lang.Object
org.odpi.openmetadata.viewservices.glossaryauthor.fvt.RunAllFVT

public class RunAllFVT extends Object
FVT resource to call all Glossary Author View API FVT resources
  • Constructor Details

    • RunAllFVT

      public RunAllFVT()
  • Method Details

    • main

      public static void main(String[] args)
    • performFVT

      public static void performFVT(String url, String serverName, String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, GlossaryAuthorFVTCheckedException
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      GlossaryAuthorFVTCheckedException
    • getServerName

      public static String getServerName(String[] args) throws IOException
      Throws:
      IOException
    • getUserId

      public static String getUserId(String[] args) throws IOException
      This method gets the userId that the sample will use to issue calls to the server.

      If arguments are supplied then the third parameter is used as a userId.

      If no userId is supplied then prompt the user to enter a valid userId, enter means to use the default userId.

      Parameters:
      args - arguments supplied
      Returns:
      the url to use on the calls to the server
      Throws:
      IOException - IO exception occurred while getting input from the user.
    • getUrl

      public static String getUrl(String[] args) throws IOException
      This method gets the url that the tests will use to issue calls to the server.

      If arguments are supplied then the first parameter is used as a url.

      If no url is supplied then prompt the user to enter a valid url, enter means to use the default url.

      Parameters:
      args - arguments supplied
      Returns:
      the url to use on the calls to the server
      Throws:
      IOException - IO exception occured while getting input from the user.