Class RunAllFVT
java.lang.Object
org.odpi.openmetadata.viewservices.glossaryauthor.fvt.RunAllFVT
FVT resource to call all Glossary Author View API FVT resources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getServerName
(String[] args) static String
This method gets the url that the tests will use to issue calls to the server.static String
This method gets the userId that the sample will use to issue calls to the server.static void
static void
performFVT
(String url, String serverName, String userId)
-
Constructor Details
-
RunAllFVT
public RunAllFVT()
-
-
Method Details
-
main
-
performFVT
public static void performFVT(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, GlossaryAuthorFVTCheckedException -
getServerName
- Throws:
IOException
-
getUserId
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
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.
-