Class RunAllFVT
- 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 Summary
Constructors Constructor Description RunAllFVT()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetServerName(String[] args)static StringgetUrl(String[] args)This method gets the url that the tests will use to issue calls to the server.static StringgetUserId(String[] args)This method gets the userId that the sample will use to issue calls to the server.static voidmain(String[] args)static voidperformFVT(String url, String serverName, String userId)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
performFVT
public static void performFVT(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, 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.
-
-