Excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
allows
|
...
The Content Directory Monitor allows files placed in a monitored directory to be ingested into the
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...
- A new file is detected in the monitored directory,
- The file's contents are passed on to the Content Framework and processed based on whether the monitored directory's processing directive was:
- Configured to just store the file in the
Content Repository,Insert excerpt ApplicationName ApplicationName nopanel trueApplicationName - Configured to just process the file's metadata and ingest it into the MDC, or
- Configured to both store the file in the Content Repository and ingest it into the MDC.
- Configured to just store the file in the
- If the response from the Content Framework is successful, indicating the content was stored and/or processed, then the file in the monitored directory is either deleted (default behavior), or copied to a sub-directory called
.ingested
(see below for how to configure this behavior). If the response from the Content Framework was unsuccessful or a failure occurred, then the file is moved from the monitored directory to a sub-folder named.errors
, allowing easy identification of the ingested files that had problems.
...
The Content Directory Monitor provides the capability to easily create content in the
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...
Managed Service Factory PID
ddf.content.core.directorymonitor.ContentDirectoryMonitor
Configurable Properties
Title | Property | Type | Description | Default Value | Required |
---|---|---|---|---|---|
Directory Path | monitoredDirectoryPath | String | Specifies the directory to be monitored. Can be a fully-qualified directory or a relative path (which is relative to the DDF installation directory). | N/A | Yes |
Processing Directive | directive | String | One of three possible values from a drop down box: Store only - indicates to only store content in Content Repository Process only - indicates to only create Metacard and insert into MDC Store and Process - do both | Store and Process | Yes |
Copy Files to Backup Directory | copyIngestedFiles | Boolean | Checking this option indicates that a backup of the file placed in the monitored directory should be made upon successful processing of the file. The file is moved into the of the monitored directory. | False | No |
...