Class GovernanceEngineConfigurationClient
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.client.GovernanceEngineConfiguration
org.odpi.openmetadata.frameworkservices.gaf.client.GovernanceEngineConfigurationClientBase
org.odpi.openmetadata.accessservices.governanceserver.client.GovernanceEngineConfigurationClient
public class GovernanceEngineConfigurationClient
extends org.odpi.openmetadata.frameworkservices.gaf.client.GovernanceEngineConfigurationClientBase
GovernanceEngineConfigurationClient supports the configuration of Governance Server and governance services.
-
Constructor Summary
ConstructorsConstructorDescriptionGovernanceEngineConfigurationClient(String serverName, String serverPlatformURLRoot) Create a new client with no authentication embedded in the HTTP request.GovernanceEngineConfigurationClient(String serverName, String serverPlatformURLRoot, String userId, String password) Create a new client that passes userId and password in each HTTP request.GovernanceEngineConfigurationClient(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworkservices.gaf.client.rest.GAFRESTClient restClient, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Create a new client that passes userId and password in each HTTP request. -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworkservices.gaf.client.GovernanceEngineConfigurationClientBase
createGovernanceEngine, createGovernanceService, deleteGovernanceEngine, deleteGovernanceService, getAllGovernanceEngines, getAllGovernanceServices, getConfigurationServerName, getGovernanceEngineByGUID, getGovernanceEngineByName, getGovernanceServiceByGUID, getGovernanceServiceByName, getGovernanceServiceRegistrations, getRegisteredGovernanceService, getRegisteredGovernanceServices, registerGovernanceServiceWithEngine, registerGovernanceServiceWithEngine, unregisterGovernanceServiceFromEngine, updateGovernanceEngine, updateGovernanceService
-
Constructor Details
-
GovernanceEngineConfigurationClient
public GovernanceEngineConfigurationClient(String serverName, String serverPlatformURLRoot) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST services- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
GovernanceEngineConfigurationClient
public GovernanceEngineConfigurationClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requests- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
GovernanceEngineConfigurationClient
public GovernanceEngineConfigurationClient(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworkservices.gaf.client.rest.GAFRESTClient restClient, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesrestClient- pre-initialized REST clientmaxPageSize- pre-initialized parameter limitauditLog- logging destination- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem with the information about the remote OMAS
-