Skip to main content

Configure the FORGE VESPER Importer

The service is configured through the standard ASP.NET Core configuration providers. See appsettings.sample.json for a complete example. This document lists the environment variables for the FORGE VESPER Importer.

Environment Variables

Application settings

Configuration keyDescriptionSampleMandatoryDefault value
ConnectionStrings__MongoDbConnectionMongoDB connection string. The database name is taken from this connection string.mongodb://...Yes
AppSettings__DefaultCultureDefault culture used by the service.en-USNoen-GB
AppSettings__StoragePathLocal directory where uploaded CSV files are temporarily stored before ingestion. When ingestion completes, files are automatically deleted./data/storageYes
AppSettings__FilePollingIntervalSecondsHow often the ingestion worker polls MongoDB for new uploaded files.10No10
AppSettings__DocumentSenderIntervalSecondsHow often the sender worker polls staging collections for unsent documents.10No10
AppSettings__HealthCheckTimeoutInSecondsTimeout for readiness checks.5No5
AppSettings__MaxUploadFileSizeMBMaximum upload request size.1-100 MBNo100
LOG_MINIMUM_LEVELThe minimum logging level.InformationNoWarning
MICROSOFT_LOG_MINIMUM_LEVELThe minimum logging level used for the logs written by the .NET framework.WarningNoWarning

Amazon SQS settings

Configuration keyDescriptionSampleMandatoryDefault Value
AmazonSqs__AccessKeyIdAWS access key used by the SQS client.Yes
AmazonSqs__SecretAccessKeyAWS secret access key used by the SQS client.Yes
AmazonSqs__RegionAWS region system name.eu-central-1Yes
AmazonSqs__QueueUrlTarget SQS queue URL.Yes
AmazonSqs__TimeoutSQS client timeout.00:00:30No00:00:30
AmazonSqs__RetryCountSQS retry count.2No2
AmazonSqs__SendDelaySecondsDelay applied to sent messages.0-900No0

Authentication settings

Configuration keyDescriptionSampleMandatoryDefault Value
ApiKey__HeaderNameRequest header that contains the shared secret.x-api-keyNox-api-key
ApiKey__ApiKeyValueShared secret value expected by the service.Yes
ApiKey__UserNameAuthenticated user name assigned to accepted requests.ServiceUserNoServiceUser

Notes

  • Uploaded CSV files are stored in AppSettings__StoragePath until ingestion completes, then they are cleaned up automatically.
  • The importer polls MongoDB for new uploads and staging collections for unsent documents according to the configured interval values.
  • The SQS client configuration controls the queue used for importer-delivered messages, retry behavior, and overall timeout settings.

Was this page helpful?