Class BaudotSubscriptionManagementService
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.openwatchdog.WatchdogActionServiceConnector
org.odpi.openmetadata.adapters.connectors.baudot.BaudotSubscriptionManagementService
- All Implemented Interfaces:
AuditLoggingComponent,SecureConnectorExtension,VirtualConnectorExtension,WatchdogActionService
MonitoredResourceNotificationService is a Watchdog Governance Action Service that listens for changes to its
monitored resources and notifies its subscribers when a change occurs.
It listens for changes to its subscribers and sends welcome and cancellation notifications.
It is designed to run continuously and so does not set up completion status or guards unless it fails. This means its
Engine Action entity is never (rarely) completed and this service is restarted each time the hosting engine is restarted.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
ConnectorBase.ProtectedConnection -
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openwatchdog.WatchdogActionServiceConnector
auditLog, connector, embeddedConnectors, objectMapper, propertyHelper, watchdogActionServiceName, watchdogContextFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectionBean, connectorInstanceId, messageFormatter, secretsStoreConnectorMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDisconnect is called either because this governance action service called governanceContext.recordCompletionStatus() or the administrator requested this watchdog action service stop running, or the hosting server is shutting down.voidThis method is called each time a metadata change is received.voidstart()Indicates that the watchdog action service is completely configured and can begin processing.Methods inherited from class org.odpi.openmetadata.frameworks.openwatchdog.WatchdogActionServiceConnector
getConnectorComponentDescription, getJSONProperties, handleUnexpectedException, setAuditLog, setWatchdogActionServiceName, setWatchdogContextMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
combineConfigurationProperties, disconnectConnectors, equals, fromCamelToCanonicalCase, fromCanonicalToCamelCase, fromCanonicalToKebabCase, fromCanonicalToSnakeCase, fromKebabToCanonicalCase, fromSnakeToCanonicalCase, getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayConfigurationProperty, getBooleanConfigurationProperty, getConnection, getConnectorInstanceId, getDateConfigurationProperty, getIntConfigurationProperty, getLongConfigurationProperty, getSecretsCollectionName, getSecretsLocation, getSecretsProvider, getStringConfigurationProperty, getStringConfigurationProperty, getSuppliedPlaceholderProperties, hashCode, initialize, initializeEmbeddedConnectors, initializeSecretsStoreConnector, isActive, logExceptionRecord, logRecord, logRecord, throwMissingConfigurationProperty, throwMissingEndpointAddress, throwMissingResource, throwNoAsset, throwWrongTypeOfAsset, throwWrongTypeOfResource, throwWrongTypeOfRootSchema, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, refreshStatistics, setStatisticProperty, setStatisticTimestamp
-
Constructor Details
-
BaudotSubscriptionManagementService
public BaudotSubscriptionManagementService()
-
-
Method Details
-
start
Indicates that the watchdog action service is completely configured and can begin processing. This is a standard method from the Open Connector Framework (OCF), so be sure to call super.start() at the start of your overriding version.- Overrides:
startin classWatchdogActionServiceConnector- Throws:
ConnectorCheckedException- a problem within the watchdog action service.UserNotAuthorizedException- the connector was disconnected before/during start
-
processEvent
This method is called each time a metadata change is received. If the element is one of the monitored resources, it notifies the subscribers.- Specified by:
processEventin classWatchdogActionServiceConnector- Parameters:
event- event containing details of a change to an open metadata element.
-
disconnect
Disconnect is called either because this governance action service called governanceContext.recordCompletionStatus() or the administrator requested this watchdog action service stop running, or the hosting server is shutting down. If disconnect completes before this watchdog action service records its completion status, then the watchdog action service is restarted either at the administrator's request or the next time the server starts. If you do not want this governance action service restarted, be sure to record the completion status in the engine action.The disconnect() method is a standard method from the Open Connector Framework (OCF). If you need to override this method, be sure to call super.disconnect() in your version.
- Overrides:
disconnectin classWatchdogActionServiceConnector- Throws:
ConnectorCheckedException- a problem within the watchdog action service.
-