Class RunAllFVT
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.fvt.RunAllFVT
FVT resource to call subject area term client API FVT resources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetServerName(String[] args) static StringThis method gets the url that the tests will use to issue calls to the server.static StringThis method gets the userId that the sample will use to issue calls to the server.static voidstatic voidperformFVT(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 org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, SubjectAreaFVTCheckedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionSubjectAreaFVTCheckedException
-
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.
-