Filemanager-call

From GreenVulcano Wiki
Revision as of 15:15, 24 January 2012 by Anonymous (talk) ({{VULCON}} / {{GVCONSOLE}} Configuration)
Jump to: navigation, search

Definition

This plug-in allows you to perform a sequence of file operations on the local filesystem. The operations allowed are:

  1. Deletion of one or more file whose name corresponds to a regular expression
  2. Rename a file
  3. Moving of one or more files, whose name corresponds to a regular expression,from a directory source to a destination directory
  4. Copy of one or more files, whose name corresponds to a regular expression,from source directory to a destination directory
  5. ZIP compress of one or more files, whose name corresponds to a regular expression,from a source directory to a ZIP file in a destination directory
  6. Decompression of ZIP file from a directory source to a target directory
  7. Check existence of one or more files whose name corresponds to a given regular expression

GreenVulcano® ESB provides two different tools, GV Console® and VulCon®, to configure all supported plug-ins in GV services.

VulCon / GV Console Configuration

filemanager-call is the operation that must be configured into VulCon® or GV Console® System section, to execute files operations. In order to configure an operation filemanager-call you must define the following fields:

  • name: Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.
  1. To execute a search file operation add "FileSearchCommand" command and define the following fieds,
    1. sourcePath: Absolute path of the directory to search in
    2. filePattern: File name to search for. Can be a regular espression
    3. returnFullPath: If true the found files are inserted in list with full path default false
    4. isCritical: If true an internal error interrupt the command sequence, Default true