Class GovernanceServerOutTopicListener
java.lang.Object
org.odpi.openmetadata.accessservices.governanceserver.api.GovernanceServerEventListener
org.odpi.openmetadata.governanceservers.integrationdaemonservices.listener.GovernanceServerOutTopicListener
GovernanceServerOutTopicListener is a class that is registered to listen on the Governance Server OMAS's
out topic to receive any changes to the integration groups' configuration.
-
Constructor Summary
ConstructorDescriptionGovernanceServerOutTopicListener
(String groupName, IntegrationGroupHandler integrationGroupHandler, GovernanceConfigurationClient configurationClient, String userId, AuditLog auditLog) Constructor for the listener. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Process an event that was published by the Governance Server OMAS.
-
Constructor Details
-
GovernanceServerOutTopicListener
public GovernanceServerOutTopicListener(String groupName, IntegrationGroupHandler integrationGroupHandler, GovernanceConfigurationClient configurationClient, String userId, AuditLog auditLog) Constructor for the listener. Its job is to receive events and pass the information received on to the appropriate integration group handler.- Parameters:
groupName
- name of the integration groupintegrationGroupHandler
- the handler for an integration group that is hosted by this integration daemon.configurationClient
- client to extract extra information from the metadata serveruserId
- useRId to use when calling the metadata serverauditLog
- logging destination
-
-
Method Details
-
processEvent
Process an event that was published by the Governance Server OMAS. The events cover all defined integration groups and connectors. This method only needs to pass on the information to those integration groups hosted in this server. Events relating to other integration groups can be ignored. So can events that are for capabilities not supported by these integration daemon services.- Specified by:
processEvent
in classGovernanceServerEventListener
- Parameters:
event
- event object - call getEventType to find out what type of event.
-