Class GovernanceActionEngineHandler

java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.admin.GovernanceEngineHandler
org.odpi.openmetadata.engineservices.governanceaction.handlers.GovernanceActionEngineHandler
All Implemented Interfaces:
WatchdogEventSupportingEngine

public class GovernanceActionEngineHandler extends GovernanceEngineHandler implements WatchdogEventSupportingEngine
The GovernanceActionEngineHandler is responsible for running governance action services on demand. It is initialized with the configuration for the governance action services it supports along with the clients to the asset properties store and annotations store.
  • Constructor Details

    • GovernanceActionEngineHandler

      public GovernanceActionEngineHandler(EngineConfig engineConfig, String localServerName, String serverUserId, OpenMetadataClient openMetadataClient, ConnectedAssetClient connectedAssetClient, GovernanceConfigurationClient configurationClient, GovernanceContextClient engineActionClient, GovernanceContextClient governanceContextClient, AuditLog auditLog, int maxPageSize)
      Create a client-side object for calling a governance action engine. Notice there are two instances of the GovernanceContextClient. It is possible that they are pointing at different metadata server instances so do not consolidate them into one client (even if IntelliJ begs you to :)).
      Parameters:
      engineConfig - the unique identifier of the governance action engine.
      localServerName - the name of the engine host server where the governance action engine is running
      serverUserId - user id for the server to use
      openMetadataClient - access to the open metadata store
      connectedAssetClient - access to the open metadata store
      configurationClient - client to retrieve the configuration
      engineActionClient - client to control the execution of governance action requests
      governanceContextClient - REST client for calls made by the governance action services
      auditLog - logging destination
      maxPageSize - maximum number of results that can be returned in a single request
  • Method Details