0.3.7 • Published 1 month ago

@mojaloop/reporting-bc-transfers-reporting-svc v0.3.7

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 month ago

Reporting BC - Transfers Reporting Service

#Notes

Install

See notes in root dir of this repository

More information on how to install NVM: https://github.com/nvm-sh/nvm

Build

npm run build

Run this service

Anywhere in the repo structure:

npm run modules/transfers-reporting-svc start

Auto build (watch)

npm run watch

Unit Tests

npm run test:unit

Integration Tests

npm run test:integration

Configuration

Environment variables

Environment VariableDescriptionExample Values
PRODUCTION_MODEFlag indicating production modeFALSE
LOG_LEVELLogging level for the applicationLogLevel.DEBUG
KAFKA_URLKafka broker URLlocalhost:9092
MONGO_URLMongoDB connection URLmongodb://root:mongoDbPas42@localhost:27017/
KAFKA_LOGS_TOPICKafka topic for logslogs
SVC_CLIENT_IDService client IDreporting-bc-transfers-reporting-svc
SVC_CLIENT_SECRETService client secretsuperServiceSecret
SVC_DEFAULT_HTTP_PORTDefault HTTP port for the service5001
SERVICE_START_TIMEOUT_MSTimeout for service startup in milliseconds60_000
SETTLEMENT_SVC_URLSettlement Service URL"http://localhost:3600"
CONSUMER_BATCH_SIZEKafka Consumer Batch Size50
CONSUMER_BATCH_TIMEOUT_MSKafka Consumer Batch Timeout Milliseconds50