Class GovernanceContextClient
java.lang.Object
org.odpi.openmetadata.frameworks.opengovernance.client.OpenGovernanceClient
org.odpi.openmetadata.frameworkservices.gaf.client.OpenGovernanceClientBase
org.odpi.openmetadata.frameworkservices.gaf.client.GovernanceContextClientBase
org.odpi.openmetadata.frameworkservices.gaf.client.GovernanceContextClient
- All Implemented Interfaces:
ActionControlInterface,GovernanceActionProcessInterface,GovernanceCompletionInterface,WatchdogEventInterface
GovernanceContextClient sits in the governance context of a governance action service when it is running in the engine host OMAG server.
It is however shared by all the governance action services running in an engine service so that we only need one connector to the topic
listener for the watchdog governance services.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworkservices.gaf.client.GovernanceContextClientBase
governanceListenerManager, listenerIdFields inherited from class org.odpi.openmetadata.frameworkservices.gaf.client.OpenGovernanceClientBase
invalidParameterHandler, nullRequestBody, restClientFields inherited from class org.odpi.openmetadata.frameworks.opengovernance.client.OpenGovernanceClient
propertyHelper, serverName, serverPlatformURLRoot -
Constructor Summary
ConstructorsConstructorDescriptionGovernanceContextClient(String serverName, String serverPlatformURLRoot, String localServerSecretsStoreProvider, String localServerSecretsStoreLocation, String localServerSecretsStoreCollection, int maxPageSize, AuditLog auditLog) Create a new client with no authentication embedded in the HTTP request. -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworkservices.gaf.client.GovernanceContextClientBase
claimEngineAction, disconnectListener, getActiveClaimedEngineActions, recordCompletionStatus, registerListener, setListenerManager, updateActionTargetStatus, updateEngineActionStatusMethods inherited from class org.odpi.openmetadata.frameworkservices.gaf.client.OpenGovernanceClientBase
cancelEngineAction, getActiveEngineActions, getEngineAction, getGovernanceActionProcessGraph, initiateEngineAction, initiateGovernanceActionProcess, initiateGovernanceActionTypeMethods inherited from class org.odpi.openmetadata.frameworks.opengovernance.client.OpenGovernanceClient
toString
-
Constructor Details
-
GovernanceContextClient
public GovernanceContextClient(String serverName, String serverPlatformURLRoot, String localServerSecretsStoreProvider, String localServerSecretsStoreLocation, String localServerSecretsStoreCollection, int maxPageSize, AuditLog auditLog) 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 serviceslocalServerSecretsStoreProvider- secrets store connector for bearer tokenlocalServerSecretsStoreLocation- secrets store location for bearer tokenlocalServerSecretsStoreCollection- secrets store collection for bearer tokenmaxPageSize- pre-initialized parameter limitauditLog- logging destination- Throws:
InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-