Live File Processor Agent Settings

<< Click to Display Table of Contents >>

Navigation:  Live > Agents > File Agents > File Processor >

Live File Processor Agent Settings

*.config File

 

Before using this agent, a databaseConnection connectionString, and a configKey value, need to be defined in the *.config file. (Users can also change the common app settings, for all EQuIS Live Agents that can be installed as Windows Services, listed here.)

1.Open the EarthSoft.Live.Agents.File Processor.exe.config file in a text editor (e.g., Notepad++).

2.Find the desired items and set their values.

3.Save and close the *.config file.

4.Start/restart the agent so it will detect the changes.

 

Setting

Type

Description

configKey

String

The ST_CONFIG.CONFIG_KEY that contains the processor/file type settings (e.g., Agent).

 

 

Tip: If running multiple instances of this agent, set the configKey and the serviceNameSuffix to the same value, and also add this value to the agent's folder name, to more easily identify which service, and agent folder/exe, uses which ST_CONFIG.CONFIG_KEY.

 

 

ST_CONFIG Table

 

The processor/file type settings must be defined in the ST_CONFIG table, one setting per row.

 

Column Name

Value

CONFIG_SECTION

Live.FileProcessor

CONFIG_KEY

The configKey app setting value in the *.config file (e.g., Agent).

OBJECT_TYPE

The processor's name (e.g., HOBO, In-Situ-5, or Lorentz).

OBJECT_VALUE

The setting name (e.g., dateTimeFormats).

STRING_VALUE

The setting value (e.g., en-AU).

 

 

Example: The ST_CONFIG table rows listed here, with CONFIG_SECTION = 'Live.FileProcessor', CONFIG_KEY = 'Agent', and OBJECT_TYPE = 'HOBO', define the HOBO processor/file type settings for an instance ('Agent') of this agent.

 

 

Notes:

The json2db command line option (e.g., json2db HOBO) can be used to add the EarthSoft.Live.FileProcessor.config.json file (example) settings to the ST_CONFIG table, and then the ST_CONFIG table can be updated using EQuIS Professional (e.g., add a folderWatcherPath STRING_VALUE for HOBO).
 
EarthSoft is currently working on a widget to facilitate this process; it should be available soon.

A setting can be defined (in the ST_CONFIG table) for all processors (e.g., OBJECT_TYPE = 'Default', OBJECT_VALUE = 'dateTimeFormats') or for one specific processor (e.g., OBJECT_TYPE = 'HOBO', OBJECT_VALUE = 'dateTimeFormats').
 
If there is not a HOBO dateTimeFormats, this agent will use the Default (in the ST_CONFIG table) dateTimeFormats.
 
If there is not a Default (in the ST_CONFIG table) dateTimeFormats, this agent will use the default (hard coded) dateTimeFormats value, specified in the links below (or empty/not used if a default value is not specified).

 

 

Processors

Folder

File

Type