Class StewardInformerGovernanceActionConnector
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.opengovernance.GovernanceActionServiceConnector
org.odpi.openmetadata.frameworks.opengovernance.GeneralGovernanceActionService
org.odpi.openmetadata.adapters.connectors.governanceactions.stewardship.StewardInformerGovernanceActionConnector
- All Implemented Interfaces:
AuditLoggingComponent,SecureConnectorExtension,VirtualConnectorExtension,GovernanceActionService
StewardInformerGovernanceActionConnector creates a to do for a steward using the template identified by the
templateGUID from the request parameters or the configuration properties of the connector's connection.
The request parameters provide the values of the placeholders in the template. Each run creates a new to do, so its
qualified name is generated from the name of the service and the unique identifier of the engine action.
The to do is assigned to the action target called steward and sponsored by the optional action target called sponsor.
All other action targets are attached to the to do to guide the steward.
If the to do is created, the output guard is steward-informed and the to do is added as the newAsset action target.
If no template is supplied, the output guard is missing-template.
If there is no steward, the output guard is missing-steward.
-
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.opengovernance.GeneralGovernanceActionService
governanceContextFields inherited from class org.odpi.openmetadata.frameworks.opengovernance.GovernanceActionServiceConnector
governanceServiceName, propertyHelperFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
auditLog, connectionBean, connectorInstanceId, embeddedConnectors, messageFormatter, secretsStoreConnectorMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstart()Indicates that the governance action service is completely configured and can begin processing.Methods inherited from class org.odpi.openmetadata.frameworks.opengovernance.GeneralGovernanceActionService
disconnect, getActionTarget, getAllActionTargets, getProperty, setGovernanceContextMethods inherited from class org.odpi.openmetadata.frameworks.opengovernance.GovernanceActionServiceConnector
getArrayRequestParameter, getBooleanRequestParameter, getConnectorComponentDescription, getIntRequestParameter, getLongRequestParameter, getStringRequestParameter, handleUnexpectedException, setAuditLog, setGovernanceServiceName, validateContextMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
combineConfigurationProperties, disconnectConnectors, equals, fromCamelToCanonicalCase, fromCanonicalToCamelCase, fromCanonicalToKebabCase, fromCanonicalToSnakeCase, fromKebabToCanonicalCase, fromSnakeToCanonicalCase, getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayValue, getBooleanConfigurationProperty, getConnection, getConnectorInstanceId, getDateConfigurationProperty, getIntConfigurationProperty, getLongConfigurationProperty, getSecretsCollectionName, getSecretsLocation, getSecretsProvider, getStringConfigurationProperty, getStringConfigurationProperty, getSuppliedPlaceholderProperties, hashCode, initialize, initializeEmbeddedConnectors, initializeSecretsStoreConnector, isActive, logExceptionRecord, logExceptionRecord, logRecord, logRecord, throwMissingConfigurationProperty, throwMissingElement, 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
-
StewardInformerGovernanceActionConnector
public StewardInformerGovernanceActionConnector()
-
-
Method Details
-
start
Indicates that the governance 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 classGeneralGovernanceActionService- Throws:
ConnectorCheckedException- a problem within the governance action service.UserNotAuthorizedException- the connector was disconnected before/during start
-