public class EngineHostClient extends Object
| Constructor and Description |
|---|
EngineHostClient(String serverPlatformRootURL,
String serverName)
Create a client-side object for calling a governance engine.
|
EngineHostClient(String serverPlatformRootURL,
String serverName,
String userId,
String password)
Create a client-side object for calling a governance engine.
|
| Modifier and Type | Method and Description |
|---|---|
void |
refreshConfig(String userId,
String governanceEngineName)
Request that the governance engine refresh its configuration by calling the metadata server.
|
public EngineHostClient(String serverPlatformRootURL, String serverName) throws InvalidParameterException
serverPlatformRootURL - the root url of the platform where the governance engine is running.serverName - the name of the governance server where the governance engine is runningInvalidParameterException - one of the parameters is null or invalid.public EngineHostClient(String serverPlatformRootURL, String serverName, String userId, String password) throws InvalidParameterException
serverPlatformRootURL - the root url of the platform where the governance engine is running.serverName - the name of the governance server where the governance engine is runninguserId - user id for the HTTP requestpassword - password for the HTTP requestInvalidParameterException - one of the parameters is null or invalid.public void refreshConfig(String userId, String governanceEngineName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling usergovernanceEngineName - qualifiedName of the governance engine to targetInvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem detected by the governance engine.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.