Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The role of the loader is to take files from a folder and load upload them into the dashboard.

Configuration

...

  1. FolderPath - can be local folder or UCN

  2. ApiKey - See here

  3. UploadApiUrl - BusinessGPT upload service API URL- See here

  4. PerformanceFileCount - Help: After how many files to write into the log, the performance of the total number of files and process time. Default 50.

  5. DBPath - local path to SQLite DB file

  6. RunningIntervalMinutes - the service scans the folder every interval for new files that were added to the folder

  7. ReprocessAllFiles - default False. Set to True to reprocess all the files in the folder and upload them again.

Notes: FolderPath must be accessible by the service. The service runs with Network Service account and is authenticated with the computer's credentials to remote servers. So if the FolderPath is a network shared folder, need to give read permissions to the computer on that folder.

Specification

The service includes an SQL Light DB as part of the installation.

...

The service writes into a log the progress statistics every 50 files (PerformanceFileCount):

  • Total files loaded, succeeded, failed

  • Processing time of last 50 files.

...

  • Total processing time

In next version, the service will update the ContentSourceName in the content info table to be “FileLoader” and the ContentSourceIP to the host's IP from which the service is running.

...

Every time (based on PrefromanceFileCount ), the service will write into the log the performance.

In next version, and it will sync the data into the preference table. https://agatsoftware.atlassian.net/wiki/spaces/SKYP/pages/3184656385/BusinessGPT-+BG+Tables+SRS#TABLE---BG_PERFORMANCE

...

createdBy: File Loader (IP of the host machine)

Installing the service

Open cmd as administrator, go to the service installation folder, and run the following command:
>BusinessGPTFileLoader.exe install

To uninstall the service run the command:
>BusinessGPTFileLoader.exe remove

...

Note: Can run in console mode (not as a Windows Service) with the command:
>BusinessGPTFileLoader.exe console