@pch/interop-apis-bc-grpc-sync-client-lib
TypeScript icon, indicating that this package has built-in type declarations

0.6.14 • Public • Published

gRPC Sync API Client Lib

Git Commit Git Releases Npm Version NPM Vulnerabilities CircleCI

Mojaloop vNext gRPC Synchronous API Service

Usage

Install Node version

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

nvm install
nvm use

Install Dependencies

npm install

Build

npm run build

Run

npm run start

Unit Tests

npm run test:unit

Configuration

Environment variables

Environment Variable Description Example Values
PRODUCTION_MODE Flag indicating production mode FALSE
LOG_LEVEL Logging level for the application LogLevel.DEBUG
SVC_DEFAULT_HTTP_PORT Default HTTP port for the service 4000
KAFKA_URL Kafka broker URL localhost:9092
KAFKA_AUDITS_TOPIC Kafka topic for audits audits
KAFKA_LOGS_TOPIC Kafka topic for logs logs
AUDIT_KEY_FILE_PATH File path for audit key /app/data/audit_private_key.pem
SVC_CLIENT_ID Service client ID interop-api-bc-fspiop-api-svc
SVC_CLIENT_SECRET Service client secret superServiceSecret
AUTH_N_SVC_BASEURL Authentication service base URL http://localhost:3201
PARTICIPANTS_SVC_URL Participants service base URL http://localhost:3010
PARTICIPANTS_CACHE_TIMEOUT_MS Timeout for participants cache in milliseconds 30000
SERVICE_START_TIMEOUT_MS Timeout for service startup in milliseconds 60_000
JWS_FILES_PATH Files Path for JWS /app/data/keys/
JWS_DISABLED Flag indicating the JWS disabled true

/@pch/interop-apis-bc-grpc-sync-client-lib/

    Package Sidebar

    Install

    npm i @pch/interop-apis-bc-grpc-sync-client-lib

    Weekly Downloads

    20

    Version

    0.6.14

    License

    Apache-2.0

    Unpacked Size

    48.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • pedrosousabarreto