Class GovernanceConfigurationClient
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.client.GovernanceConfiguration
org.odpi.openmetadata.frameworkservices.gaf.client.GovernanceConfigurationClientBase
org.odpi.openmetadata.accessservices.datascience.client.GovernanceConfigurationClient
GovernanceConfigurationClient supports the configuration of Governance Server and governance services.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.governanceaction.client.GovernanceConfiguration
serverName, serverPlatformURLRoot
-
Constructor Summary
ConstructorDescriptionGovernanceConfigurationClient
(String serverName, String serverPlatformURLRoot, int maxPageSize) Create a new client with no authentication embedded in the HTTP request.GovernanceConfigurationClient
(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize) Create a new client that passes userId and password in each HTTP request.GovernanceConfigurationClient
(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.GovernanceConfigurationClientBase
addCatalogTarget, createGovernanceEngine, createGovernanceService, createIntegrationConnector, createIntegrationGroup, deleteGovernanceEngine, deleteGovernanceService, deleteIntegrationConnector, deleteIntegrationGroup, getAllGovernanceEngines, getAllGovernanceServices, getAllIntegrationConnectors, getAllIntegrationGroups, getCatalogTarget, getCatalogTargets, getConfigurationServerName, getGovernanceEngineByGUID, getGovernanceEngineByName, getGovernanceServiceByGUID, getGovernanceServiceByName, getGovernanceServiceRegistrations, getIntegrationConnectorByGUID, getIntegrationConnectorByName, getIntegrationConnectorRegistrations, getIntegrationGroupByGUID, getIntegrationGroupByName, getRegisteredGovernanceService, getRegisteredGovernanceServices, getRegisteredIntegrationConnector, getRegisteredIntegrationConnectors, registerGovernanceServiceWithEngine, registerGovernanceServiceWithEngine, registerIntegrationConnectorWithGroup, removeCatalogTarget, unregisterGovernanceServiceFromEngine, unregisterIntegrationConnectorFromGroup, updateCatalogTarget, updateGovernanceEngine, updateGovernanceService, updateIntegrationConnector, updateIntegrationGroup
-
Constructor Details
-
GovernanceConfigurationClient
public GovernanceConfigurationClient(String serverName, String serverPlatformURLRoot, int maxPageSize) 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 servicesmaxPageSize
- pre-initialized parameter limit- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-
GovernanceConfigurationClient
public GovernanceConfigurationClient(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize) 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 requestsmaxPageSize
- pre-initialized parameter limit- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-
GovernanceConfigurationClient
public GovernanceConfigurationClient(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
-