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
GovernanceEngineConfigurationClient supports the configuration of Governance Server and governance services.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.governanceaction.client.GovernanceEngineConfiguration
serverName, serverPlatformURLRoot
-
Constructor Summary
ConstructorDescriptionGovernanceEngineConfigurationClient
(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, GAFRESTClient restClient, int maxPageSize, 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 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:
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 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:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-
GovernanceEngineConfigurationClient
public GovernanceEngineConfigurationClient(String serverName, String serverPlatformURLRoot, GAFRESTClient restClient, int maxPageSize, AuditLog auditLog) throws 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:
InvalidParameterException
- there is a problem with the information about the remote OMAS
-