Class KarmaPointAwardsService
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.organizationinsight.karmapoints.KarmaPointAwardsService
- All Implemented Interfaces:
AuditLoggingComponent,SecureConnectorExtension,VirtualConnectorExtension,WatchdogActionService
KarmaPointAwardsService fills in the contribution record for an actor profile. The aim is to
perform this update as cheaply as possible and so some values are cached.
Any strangeness in the metadata elements is ignored in the interest of speed.
The updates are synchronized to reduce the chance of updating the same contribution record simultaneously
in multiple threads.
-
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 TypeMethodDescriptionvoidThis method is called each time a requested event is received from the open metadata repositories.Methods inherited from class org.odpi.openmetadata.frameworks.openwatchdog.WatchdogActionServiceConnector
disconnect, getConnectorComponentDescription, getJSONProperties, handleUnexpectedException, setAuditLog, setWatchdogActionServiceName, setWatchdogContext, startMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
combineConfigurationProperties, disconnectConnectors, equals, 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
-
KarmaPointAwardsService
public KarmaPointAwardsService()
-
-
Method Details
-
processEvent
This method is called each time a requested event is received from the open metadata repositories. It is called for events received after this listener is registered until the watchdog governance service sets its status in the context as ACTIONED, INVALID, IGNORED or FAILED, or it is stopped by an administrator shutting down the hosting server or this service explicitly.- Specified by:
processEventin classWatchdogActionServiceConnector- Parameters:
event- event containing details of a change to an open metadata element.
-