public class GovernanceActionEngineClient extends Object implements GovernanceActionAPI
| Constructor and Description |
|---|
GovernanceActionEngineClient(String serverPlatformRootURL,
String serverName)
Create a client-side object for calling a governance action engine.
|
GovernanceActionEngineClient(String serverPlatformRootURL,
String serverName,
String userId,
String password)
Create a client-side object for calling a governance action engine.
|
| Modifier and Type | Method and Description |
|---|---|
ProviderReport |
validateConnector(String userId,
String connectorProviderClassName)
Validate the connector and return its connector type.
|
public GovernanceActionEngineClient(String serverPlatformRootURL, String serverName) throws InvalidParameterException
serverPlatformRootURL - the root url of the platform where the governance action engine is running.serverName - the name of the engine host server where the governance action engine is runningInvalidParameterException - one of the parameters is null or invalid.public GovernanceActionEngineClient(String serverPlatformRootURL, String serverName, String userId, String password) throws InvalidParameterException
serverPlatformRootURL - the root url of the platform where the governance action engine is running.serverName - the name of the engine host server where the governance action engine is runninguserId - user id for the HTTP requestpassword - password for the HTTP requestInvalidParameterException - one of the parameters is null or invalid.public ProviderReport validateConnector(String userId, String connectorProviderClassName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
validateConnector in interface GovernanceActionAPIuserId - calling userconnectorProviderClassName - name of a specific connector or null for all connectorsInvalidParameterException - 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 serviceCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.