Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel6
minLevel1
include
outlinefalse
indent
exclude
stylesquare
typelist
printabletrue
class

The role of the loader is to Service Purpose: To take files from a folder and upload them into the dashboard.

Preparations: Must install FirewallAPI service in advance

Installation

Configuration

It runs under a service named “BusinessGPTFileLoader” and has the following configurations:

...

Copy paste the desired version \\fs\Build Versions\Production\BGFileLoader or \\fs\Build Versions\Test\BGFileLoader to C:\Agat in the machine

Configuration

Open C:\Agat\BGFileLoader\Configuration\ApplicationSettings.config and configure the following:

  1. FolderPath - The folder from which the service will upload the files, 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 Local path to SQLite DB file. In general, nothing should be changed except whether access is from disk D or C.

  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.

  8. Enable copilot eDiscovery data processing - Yet to be released

  9. CopilotDataFolderLocation - the location of the ZIP file from the eDiscovery

...

  1. - Yet to be released

Installing the service

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

...

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

How it

...

works

Sanity test

Upload a file to the folder and check if it was successfully uploaded to the dashboard. The file can be found under Data Sources>Documents

...



Upload

Upload is done into a collection which is the name of the original folder + date of first run. Any files in this folder will be uploaded to the same collection.

Along with the file, also users and groups list which have read access to the file are uploaded as well.

If something is changed with one of these users or groups, an update is sent.

Error handling

In an upload error, the loader marks the record as failed in the status.

...