Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Excerpt
hiddentrue

allows

Insert excerpt
ApplicationName
ApplicationName
nopaneltrueApplicationName
to monitor a directory for files to be ingested into the Content Framework

...

The Content Directory Monitor allows files placed in a monitored directory to be ingested into the

Insert excerpt
ApplicationName
ApplicationName
nopaneltrueApplicationName
 Content Repository and/or the Metadata Catalog (MDC). A monitored directory is a directory configured to be polled by 
Insert excerpt
ApplicationName
ApplicationName
nopaneltrueApplicationName
 periodically (typically every one second) for any new files added to the directory that should be ingested into the Content Framework.

...

  1. A new file is detected in the monitored directory, 
  2. The file's contents are passed on to the Content Framework and processed based on whether the monitored directory's processing directive was:
    1. Configured to just store the file in the
      Insert excerpt
      ApplicationName
      ApplicationName
      nopaneltrueApplicationName
       Content Repository,
    2. Configured to just process the file's metadata and ingest it into the MDC, or 
    3. Configured to both store the file in the Content Repository and ingest it into the MDC.
  3. 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
ApplicationName
ApplicationName
nopaneltrueApplicationName
 Content Repository and Metacards in the MDC by simply placing a file in a directory that has been configured to be monitored by 
Insert excerpt
ApplicationName
ApplicationName
nopaneltrueApplicationName
. For example, this would be useful for copying files from a hard drive (or directory) in a batch-like operation to the monitored directory and having all of the files processed by the Content Framework.

...

Managed Service Factory PID

ddf.content.core.directorymonitor.ContentDirectoryMonitor

Configurable Properties

TitlePropertyTypeDescription

Default

Value

Required
Directory PathmonitoredDirectoryPathString

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/AYes
Processing DirectivedirectiveString

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 ProcessYes

Copy Files to

Backup Directory

copyIngestedFilesBoolean

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 .ingested sub-directory

of the monitored directory.

FalseNo

...