Skip to content
Technical preview

Technical preview function is in a state that it can be tried. The development is complete, there is documentation and there are samples, tutorials and hands-on labs as appropriate.

The community is looking for feedback on the function before declaring it stable. This feedback may result in changes to the external interfaces.

Data Folder Monitor Integration Connector

Connector details

The data folder monitor integration connector monitor changes in a file directory (folder) and maintains a DataFolder asset for the folder. The files and directories underneath it are assumed to be elements/records in the DataFolder asset and so each time there is a change to the files and directories under the monitored directory, it results in an update to the lastModified property of the corresponding DataFolder asset.

Assumes the DataFolder asset already exists

This connector assumes that the DataFolder asset is already defined. If it cannot retrieve the DataFolder asset, it ignores file changes.

Configuration

figure 1

Figure 1: Operation of the data folder monitor integration connector

This connector uses the Files Integrator OMIS running in the integration daemon.

Following is its connection definition to use on the administration commands that configure the Files Integrator OMIS:

Connection configuration

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
{
  "connection": 
  {
    "class": "Connection",
    "connectorType": 
    {
      "class": "ConnectorType",
      "connectorProviderClassName": "org.odpi.openmetadata.adapters.connectors.integration.basicfiles.DataFolderMonitorIntegrationProvider"
    },
    "endpoint": 
    {
      "class": "Endpoint",
      "address": "{{folderName}}"
    }
  }
}

Replace {{folderName}} with the path name of the folder to monitor.

Further information

This connector is configured in the exchangeDL01 integration daemon server in the open metadata labs


Raise an issue or comment below