Class SurveyActionClient
java.lang.Object
org.odpi.openmetadata.engineservices.surveyaction.client.SurveyActionClient
- All Implemented Interfaces:
SurveyActionAPI
SurveyActionClient is a client-side library for calling a specific survey action engine with an engine host server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidateConnector(String connectorProviderClassName) Validate the connector and return its connector type.
-
Constructor Details
-
SurveyActionClient
public SurveyActionClient(String serverPlatformRootURL, String serverName, String secretsStoreProvider, String secretsStoreLocation, String secretsStoreCollection, String surveyActionEngineName) throws InvalidParameterException Create a client-side object for calling a survey action engine.- Parameters:
serverPlatformRootURL- the root url of the platform where the survey action engine is running.serverName- the name of the engine host server where the survey action engine is runningsecretsStoreProvider- secrets store connector for bearer tokensecretsStoreLocation- secrets store location for bearer tokensecretsStoreCollection- secrets store collection for bearer tokensurveyActionEngineName- the unique name of the survey action engine.- Throws:
InvalidParameterException- one of the parameters is null or invalid.
-
-
Method Details
-
validateConnector
public ConnectorReport validateConnector(String connectorProviderClassName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Validate the connector and return its connector type.- Specified by:
validateConnectorin interfaceSurveyActionAPI- Parameters:
connectorProviderClassName- name of a specific connector or null for all connectors- Returns:
- connector report for this connector
- Throws:
InvalidParameterException- the connector provider class name is not a valid connector fo this serviceUserNotAuthorizedException- user not authorized to issue this requestPropertyServerException- there was a problem detected by the integration service
-