Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mdebarros committed Jul 31, 2023
1 parent 8e31e8b commit d0f954d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
10 changes: 3 additions & 7 deletions .env
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
## Mojaloop Docker Image Versions

ML_API_ADAPTER_VERSION=v14.0.0
## ALS initial baseline
# ACCOUNT_LOOKUP_SERVICE_VERSION=v14.2.2
## ALS with local fix: HTTP KEEP-Alive enabled
# ACCOUNT_LOOKUP_SERVICE_VERSION=local-s6
## ALS with local fix: JSON.stringify disabled in logResponse function
# ACCOUNT_LOOKUP_SERVICE_VERSION=local-t1
## ALS published version with included fix: JSON.stringify disabled in logResponse function
# ACCOUNT_LOOKUP_SERVICE_VERSION=v14.2.3
## ALS with local fix: v14.2.3 + caching for validateParticipant
# ACCOUNT_LOOKUP_SERVICE_VERSION=local-t3
ACCOUNT_LOOKUP_SERVICE_VERSION=v14.3.0-snapshot.0
## ALS with local fix: v14.2.3 + caching for validateParticipant and resolve Participants via Oracles
ACCOUNT_LOOKUP_SERVICE_VERSION=v14.2.4-snapshot.3
QUOTING_SERVICE_VERSION=v15.0.2
CENTRAL_LEDGER_VERSION=v17.0.3

Expand Down
25 changes: 15 additions & 10 deletions docker-compose-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,30 @@ services:
- perf.env
scale: 1
command: sh -c "/opt/app/config-modifier/run.js /opt/app/config/default.json /opt/app/config-modifier/configs/account-lookup-service.js /opt/app/config/default.json && /opt/app/wait4/wait4.js account-lookup-service && npm run migrate && node src/index.js server"
#ports:
# - "4001:4001"
# - "4002:4002"
# ports:
# - "4001:4001"
# - "4002:4002"
environment:
## Wait 4 Config script
- WAIT4_CONFIG=./wait4.config.perf-als.js
- LOG_LEVEL=info
## Added for Test Scenario 5
## Disable Logging by setting LOG_LEVEL to error
# - LOG_LEVEL=error
## Added for Test Scenario 5
## Configuration for EVENT SDK ASYNC OVERRIDES - https://github.com/mojaloop/event-sdk#configuration
# - EVENT_SDK_ASYNC_OVERRIDE_EVENTS=""
# - EVENT_SDK_ASYNC_OVERRIDE_EVENTS=log,audit,trace
## Added for Test Scenario 5
## Disable EVENT SDK LOGs - https://github.com/mojaloop/event-sdk#configuration
# - EVENT_SDK_LOG_FILTER=""
## Allows TraceID to be propogated - https://github.com/mojaloop/event-sdk#configuration
- EVENT_SDK_TRACEID_PER_VENDOR=false
## Disable API Routes from displaying on startup
- ALS_DISPLAY_ROUTES=false
## Configure Switch Endpoint
- ALS_SWITCH_ENDPOINT=http://callback-handler-svc-cl-sim:3001/admin
- WAIT4_CONFIG=./wait4.config.perf-als.js
- EVENT_SDK_TRACEID_PER_VENDOR=false
## Added for Test Scenario 7
## Increase UV Threads for IO Operations - https://nodejs.org/api/cli.html#uv_threadpool_sizesize
- UV_THREADPOOL_SIZE=16
- NODE_CACHE_ENABLED=true
## Temporary Cache configuration for v14.2.4-snapshot.3 @ https://github.com/mojaloop/account-lookup-service/pull/461
# - NODE_CACHE_ENABLED=true
networks:
- mojaloop-net
depends_on:
Expand Down
8 changes: 4 additions & 4 deletions perf.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

### FSPIOP Handlers
#### Use this if we want to hit the ALS
# FSPIOP_ALS_ENDPOINT_URL=http://account-lookup-service:4002
CBH_FSPIOP_ALS_ENDPOINT_URL=http://account-lookup-service:4002
#### Use this if we want to bypass ALS
CBH_FSPIOP_ALS_ENDPOINT_URL=http://callback-handler-svc-payer-sim:3001/fspiop
# CBH_FSPIOP_ALS_ENDPOINT_URL=http://callback-handler-svc-payer-sim:3001/fspiop
CBH_FSPIOP_PAYER_FSP_ID=perffsp1
CBH_FSPIOP_PAYEE_FSP_ID=perffsp2

Expand All @@ -27,9 +27,9 @@ K6_OUT=experimental-prometheus-rw # Ref: https://k6.io/docs/results-output/real-
# K6_SCRIPT_WS_TIMEOUT_MS=10000
K6_SCRIPT_WS_TIMEOUT_MS=2000
#### Use this if we want to hit the ALS
# K6_SCRIPT_FSPIOP_ALS_ENDPOINT_URL=http://account-lookup-service:4002
K6_SCRIPT_FSPIOP_ALS_ENDPOINT_URL=http://account-lookup-service:4002
#### Use this if we want to bypass ALS
K6_SCRIPT_FSPIOP_ALS_ENDPOINT_URL=http://callback-handler-svc-payee-sim:3001/fspiop
# K6_SCRIPT_FSPIOP_ALS_ENDPOINT_URL=http://callback-handler-svc-payee-sim:3001/fspiop
K6_SCRIPT_FSPIOP_ALS_PAYEE_PARTYID=19012345002
K6_SCRIPT_FSPIOP_PAYER_FSP_ID=perffsp1
K6_SCRIPT_FSPIOP_PAYEE_FSP_ID=perffsp2
Expand Down

0 comments on commit d0f954d

Please sign in to comment.