Class FileBasedOpenMetadataArchiveStoreConnector
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.OpenMetadataArchiveStoreConnector
org.odpi.openmetadata.adapters.repositoryservices.archiveconnector.file.FileBasedOpenMetadataArchiveStoreConnector
- All Implemented Interfaces:
- AuditLoggingComponent,- SecureConnectorExtension,- VirtualConnectorExtension,- OpenMetadataArchiveStore
FileBasedOpenMetadataArchiveStoreConnector provides a connector that can read an Open Metadata Archive file coded in JSON.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBaseConnectorBase.ProtectedConnection
- 
Field SummaryFields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.OpenMetadataArchiveStoreConnectorauditLogFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBaseconnectionBean, connectorInstanceId, embeddedConnectors, messageFormatter, secretsStoreConnectorMap
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidFree up any resources held since the connector is no longer needed.Return the contents of the archive.voidinitialize(String connectorInstanceId, Connection connectionDetails) Retrieve the archive store information from the endpoint.voidsetArchiveContents(OpenMetadataArchive archiveContents) Set new contents into the archive.voidstart()Indicates that the connector is completely configured and can begin processing.Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.OpenMetadataArchiveStoreConnectorgetConnectorComponentDescription, setAuditLogMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBasecombineConfigurationProperties, disconnectConnectors, equals, fromCanonicalToKebabCase, fromCanonicalToSnakeCase, fromKebabToCanonicalCase, fromSnakeToCanonicalCase, getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayConfigurationProperty, getBooleanConfigurationProperty, getConnection, getConnectorInstanceId, getDateConfigurationProperty, getIntConfigurationProperty, getLongConfigurationProperty, getStringConfigurationProperty, getStringConfigurationProperty, getSuppliedPlaceholderProperties, hashCode, initializeEmbeddedConnectors, initializeSecretsStoreConnector, isActive, logExceptionRecord, logRecord, logRecord, throwMissingConfigurationProperty, throwMissingEndpointAddress, throwMissingResource, throwNoAsset, throwWrongTypeOfAsset, throwWrongTypeOfResource, throwWrongTypeOfRootSchema, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorclearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, refreshStatistics, setStatisticProperty, setStatisticTimestamp
- 
Constructor Details- 
FileBasedOpenMetadataArchiveStoreConnectorpublic FileBasedOpenMetadataArchiveStoreConnector()Default constructor
 
- 
- 
Method Details- 
initializeRetrieve the archive store information from the endpoint.- Overrides:
- initializein class- ConnectorBase
- Parameters:
- connectorInstanceId- unique id for the connector instance useful for messages etc
- connectionDetails- POJO for the configuration used to create the connector.
 
- 
getArchiveContentsReturn the contents of the archive.- Returns:
- OpenMetadataArchive object
- Throws:
- RepositoryErrorException- there is a problem accessing the archive
 
- 
setArchiveContentsSet new contents into the archive. This overrides any content previously stored.- Parameters:
- archiveContents- OpenMetadataArchive object
 
- 
startIndicates that the connector is completely configured and can begin processing.- Overrides:
- startin class- ConnectorBase
- Throws:
- ConnectorCheckedException- there is a problem within the connector.
- UserNotAuthorizedException- the connector was disconnected before/during start
 
- 
disconnectFree up any resources held since the connector is no longer needed.- Overrides:
- disconnectin class- ConnectorBase
- Throws:
- ConnectorCheckedException- there is a problem within the connector.
 
 
-