Table of Contents | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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:
FolderPath - The folder from which the service will upload the files, can be local folder or UCN.
ApiKey - See here
UploadApiUrl - BusinessGPT upload service API URL- See here
PerformanceFileCount - Help: After how many files to write into the log, the performance of the total number of files and process time. Default 50.
DBPath - local Local path to SQLite DB file. In general, nothing should be changed except whether access is from disk D or C.
RunningIntervalMinutes - the service scans the folder every interval for new files that were added to the folder
ReprocessAllFiles - default False. Set to True to reprocess all the files in the folder and upload them again.
Enable copilot eDiscovery data processing - Yet to be released
CopilotDataFolderLocation - the location of the ZIP file from the eDiscovery
...
- 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.
...