Class DB2LUWServerSurveyActionService
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.opensurvey.SurveyActionServiceConnector
org.odpi.openmetadata.adapters.connectors.db2luw.survey.DB2LUWServerSurveyActionService
- All Implemented Interfaces:
AuditLoggingComponent,SecureConnectorExtension,VirtualConnectorExtension,SurveyActionService
DB2LUWServerSurveyActionService surveys the databases hosted by a Db2 for Linux, UNIX and Windows server.
Unlike PostgreSQL (whose pg_database catalog view lists every database on the server from a single connection) and Oracle (whose CDB root can see every pluggable database through v$pdbs), Db2 for Linux, UNIX and Windows has no catalog view that spans multiple databases - each database maintains its own independent SYSCAT schema, and the list of databases known to an instance lives only in the server's local database directory, which is not queryable over JDBC. Consequently, the set of databases to survey cannot be auto-discovered: it is either just the single database the asset's connection already names, or - if the caller has supplied one - the includeDatabaseList configuration property naming every database that should be surveyed. excludeDatabaseList still applies as a filter on top of whichever list is used.
Unlike PostgreSQL (whose pg_database catalog view lists every database on the server from a single connection) and Oracle (whose CDB root can see every pluggable database through v$pdbs), Db2 for Linux, UNIX and Windows has no catalog view that spans multiple databases - each database maintains its own independent SYSCAT schema, and the list of databases known to an instance lives only in the server's local database directory, which is not queryable over JDBC. Consequently, the set of databases to survey cannot be auto-discovered: it is either just the single database the asset's connection already names, or - if the caller has supplied one - the includeDatabaseList configuration property naming every database that should be surveyed. excludeDatabaseList still applies as a filter on top of whichever list is used.
-
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.opensurvey.SurveyActionServiceConnector
auditLog, connector, csvFileConnectorTypeGUID, embeddedConnectors, objectMapper, propertyHelper, surveyActionServiceName, surveyContextFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectionBean, connectorInstanceId, messageFormatter, secretsStoreConnectorMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidFree up any resources held since the connector is no longer needed.voidstart()Indicates that the survey action service is completely configured and can begin processing.Methods inherited from class org.odpi.openmetadata.frameworks.opensurvey.SurveyActionServiceConnector
getConnectorComponentDescription, getEmbeddedSurveyActionServices, getJSONProperties, getRootSchemaType, getSurveyContext, handleUnexpectedException, performCheckAssetAnalysisStep, performCheckAssetAnalysisStep, setAuditLog, setCSVFileConnectorTypeGUID, setSurveyActionServiceName, setSurveyContext, setUpAnnotation, throwMissingSchemaType, writeNameCountInventory, writeNameDescriptionInventory, writeNameListInventory, writePropertyListInventoryMethods 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, 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
-
DB2LUWServerSurveyActionService
public DB2LUWServerSurveyActionService()
-
-
Method Details
-
start
Indicates that the survey action service is completely configured and can begin processing.- Overrides:
startin classSurveyActionServiceConnector- Throws:
ConnectorCheckedException- a problem within the discovery service.UserNotAuthorizedException- the connector was disconnected before/during start
-
disconnect
Free up any resources held since the connector is no longer needed.- Overrides:
disconnectin classSurveyActionServiceConnector- Throws:
ConnectorCheckedException- the connector detected a problem.
-