0.3.21 • Published 1 month ago

@mojaloop/reporting-bc-reporting-api-svc v0.3.21

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

Reporting Bounded Context - 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/example-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
AUTH_N_SVC_BASEURLAuthentication service base URLhttp://localhost:3201
AUTH_N_TOKEN_ISSUER_NAMEAuthentication service token issuer namemojaloop.vnext.dev.default_issuer
AUTH_N_TOKEN_AUDIENCEAuthentication service token audiencemojaloop.vnext.dev.default_audience
AUTH_N_SVC_JWKS_URLAuthentication service base URLhttp://authentication-svc:3201
AUTH_Z_SVC_BASEURLAuthorization service base URLhttp://authorization-svc:3202
KAFKA_URLKafka broker URLlocalhost:9092
MONGO_URLMongoDB connection URLmongodb://root:mongoDbPas42@localhost:27017/
KAFKA_LOGS_TOPICKafka topic for logslogs
KAFKA_AUDITS_TOPICKafka topic for auditsaudits
AUDIT_KEY_FILE_PATHFile path for audit key/app/data/audit_private_key.pem
SVC_CLIENT_IDService client IDreporting-bc-reporting-api-svc
SVC_CLIENT_SECRETService client secretsuperServiceSecret
SVC_DEFAULT_HTTP_PORTDefault HTTP port for the service5000
SERVICE_START_TIMEOUT_MSTimeout for service startup in milliseconds60_000