-
Notifications
You must be signed in to change notification settings - Fork 8
/
.env
232 lines (185 loc) · 9.1 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
## Mojaloop Docker Image Versions
# ML_API_ADAPTER_VERSION=v14.0.1
ML_API_ADAPTER_VERSION=v14.0.4
## ALS initial baseline with version included in Mojaloop v15.1.0 Helm Release
# ACCOUNT_LOOKUP_SERVICE_VERSION=v14.2.2
## ALS published version with included fix: JSON.stringify disabled in logResponse function
ACCOUNT_LOOKUP_SERVICE_VERSION=v14.2.3
## ALS snapshot release with 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.2.1
QUOTING_SERVICE_VERSION=v15.4.0
## CL initial baseline with version included in Mojaloop v15.1.0 Helm Release
# CENTRAL_LEDGER_VERSION=v17.0.3
## Cl latest version
CENTRAL_LEDGER_VERSION=v17.2.1
## CL snapshot release with included fix: JSON.stringify disabled in logResponse function
# CENTRAL_LEDGER_VERSION=v17.0.4-snapshot.0
## Central Ledger version with batch processing capability
CENTRAL_LEDGER_BATCH_VERSION=v17.3.0-snapshot.5
SDK_SCHEME_ADAPTER_VERSION=v23.3.0
## Testing & Sims
TEST_SIMULATOR_VERSION=v11.1.3
TEST_TTK_SVC_VERSION=v16.1.1
TEST_TTK_UI_VERSION=v15.3.0
TEST_TTK_CLI_VERSION=v1.2.0
TEST_CALLBACK_HAND_SVC_VERSION=latest
## Dependencies
DEP_KAFKA_VERSION=3.5.0
DEP_KAfKA_UI_VERSION=latest
DEP_MYSQL_VERSION=8.0
DEP_MONGO_VERSION=6.0.5
## Monitoring Docker Image Versions
GRAFANA_VERSION=10.0.2
GRAFANA_RENDERER_VERSION=3.7.1
PROMETHEUS_VERSION=v2.45.0
NODE_EXPORTER_VERSION=latest
MYSQLD_EXPORTER_VERSION=v0.15.0
KAFKA_EXPORTER_VERSION=latest
CADVISER_VERSION=latest
## Load Docker Image Versions
K6_VERSION=0.50.0
## Performance Testing Replicas
QS_REPLICAS=1
ALS_REPLICAS=1
CENTRAL_LEDGER_GENERAL_REPLICAS=1
CENTRAL_LEDGER_POSITION_REPLICAS=1
CENTRAL_LEDGER_POSITION_BATCH_REPLICAS=0
ML_API_ADAPTER_REPLICAS=1
ML_NOTIFICATION_REPLICAS=1
## ----------------------------------------------
# Port number that the inbound (Mojaloop API) HTTP server will listen on
INBOUND_LISTEN_PORT=4000
# Port number that the outbound (simplified DFSP outbound API) HTTP server will listen on
OUTBOUND_LISTEN_PORT=4001
# Enable mutual TLS authentication. Useful when not running in a secure
# environment, i.e. when you're running it locally against your own implementation.
INBOUND_MUTUAL_TLS_ENABLED=false
OUTBOUND_MUTUAL_TLS_ENABLED=false
# Enable verification or incoming JWS signatures
# Note that signatures will be required on incoming messages
# and will be validated against a public key.
VALIDATE_INBOUND_JWS=false
# applicable only if VALIDATE_INBOUND_JWS is "true"
# allows disabling of validation on incoming PUT /parties/{idType}/{idValue} requests
VALIDATE_INBOUND_PUT_PARTIES_JWS=false
# Enable signing of outgoing requests
JWS_SIGN=false
VALIDATE_JWS_SIGN=false
# applicable only if JWS_SIGN is "true"
# allows disabling of signing on outgoing PUT /parties/{idType}/{idValue} requests
JWS_SIGN_PUT_PARTIES=false
# Path to JWS signing key (private key of THIS DFSP)
JWS_SIGNING_KEY_PATH=secrets/jwsSigningKey.key
JWS_VERIFICATION_KEYS_DIRECTORY=secrets/jwsVerificationKeys
# Location of certs and key required for TLS
# IN_CA_CERT_PATH=./secrets/cacert.pem
# IN_SERVER_CERT_PATH=./secrets/servercert.pem
# IN_SERVER_KEY_PATH=./secrets/serverkey.pem
# OUT_CA_CERT_PATH=./secrets/cacert.pem
# OUT_CLIENT_CERT_PATH=./secrets/servercert.pem
# OUT_CLIENT_KEY_PATH=./secrets/serverkey.pem
# The number of space characters by which to indent pretty-printed logs. If set to zero, log events
# will each be printed on a single line.
LOG_INDENT=0
# REDIS CACHE CONNECTION
CACHE_URL=redis://redis:6379
# expiry period in seconds for quote and transfers issued by the SDK
EXPIRY_SECONDS=60
# if set to false the SDK will not automatically accept all returned quotes
# but will halt the transfer after a quote response is received. A further
# confirmation call will be required to complete the final transfer stage.
AUTO_ACCEPT_QUOTES=false
# if set to false the SDK will not automatically accept a resolved party
# but will halt the transer after a party lookup response is received. A further
# cnofirmation call will be required to progress the transfer to quotes state.
AUTO_ACCEPT_PARTY=false
# if set to false the SDK will not automatically accept a resolved party on a requestToPay operation
# but will halt the operation after a party lookup response is received. A further
# confirmation call will be required to progress the requestToPay to transactionRequest state.
AUTO_ACCEPT_R2P_PARTY=true
# This parameter is only for the requestToPay transfers when the initiator is of type BUSINESS.
# if set to false the SDK will not automatically accept quote on a requestToPayTransfer.
# but will halt the operation after a quote response is received. A further
# confirmation call will be required to progress the requestToPayTransfer to authorization step.
AUTO_ACCEPT_R2P_BUSINESS_QUOTES=false
# if set to false the SDK will not automatically accept OTP on a requestToPay operation
# but will halt the operation after receiving entered OTP from payee. A further
# confirmation call will be required to progress the requestToPayTransfer to transfer step.
AUTO_ACCEPT_R2P_DEVICE_OTP=false
# this flag is for testing purpose only. sdk-scheme-adapter is not supposed to receive PUT /participants/{Type}/{ID},
# but for testing we can enable it by setting this flag to true
AUTO_ACCEPT_PARTICIPANTS_PUT=false
# when set to true, when sending money via the outbound API, the SDK will use the value
# of FSPIOP-Source header from the received quote response as the payeeFsp value in the
# transfer prepare request body instead of the value received in the payee party lookup.
# This behaviour should be enabled when the SDK user DFSP is in a forex enabled switch
# ecosystem and expects quotes and transfers to be rerouted by the switch to forex
# entities i.e. forex providing DFSPs. Please see the SDK documentation and switch
# operator documentation for more information on forex use cases.
USE_QUOTE_SOURCE_FSP_AS_TRANSFER_PAYEE_FSP=false
# set to true to validate ILP, otherwise false to ignore ILP
CHECK_ILP=false
# set to true to enable test features such as request cacheing and retrieval endpoints
ENABLE_TEST_FEATURES=false
# set to true to mock WSO2 oauth2 token endpoint
ENABLE_OAUTH_TOKEN_ENDPOINT=false
OAUTH_TOKEN_ENDPOINT_CLIENT_KEY=test-client-key
OAUTH_TOKEN_ENDPOINT_CLIENT_SECRET=test-client-secret
OAUTH_TOKEN_ENDPOINT_LISTEN_PORT=6000
# WSO2 Bearer Token specific to golden-fsp instance and environment
WSO2_BEARER_TOKEN=7718fa9b-be13-3fe7-87f0-a12cf1628168
# OAuth2 data used to obtain WSO2 bearer token
OAUTH_TOKEN_ENDPOINT=
OAUTH_CLIENT_KEY=
OAUTH_CLIENT_SECRET=
OAUTH_REFRESH_SECONDS=3600
# Set to true to respect expirity timestamps
REJECT_EXPIRED_QUOTE_RESPONSES=false
REJECT_TRANSFERS_ON_EXPIRED_QUOTES=false
REJECT_EXPIRED_TRANSFER_FULFILS=false
# Timeout for GET/POST/DELETE - PUT flow processing
REQUEST_PROCESSING_TIMEOUT_SECONDS=4
# Common Account Lookup System (ALS)
# ALS_ENDPOINT=ttkhubsim:4040
# # QUOTES_ENDPOINT
# QUOTES_ENDPOINT=ttkhubsim:4040
# # TRANSFERS_ENDPOINT
# TRANSFERS_ENDPOINT=ttkhubsim:4040
# To allow transfer without a previous quote request, set this value to true.
# The incoming transfer request should consists of an ILP packet and a matching condition in this case.
# The fulfilment will be generated from the provided ILP packet, and must hash to the provided condition.
ALLOW_TRANSFER_WITHOUT_QUOTE=false
# To enable request for notification on fulfiled transfer
RESERVE_NOTIFICATION=true
# resources API versions should be string in format: "resourceOneName=1.0,resourceTwoName=1.1"
RESOURCE_VERSIONS="transfers=1.1,participants=1.1"
# Management API websocket connection settings.
# The Management API uses this for exchanging connector management messages.
MGMT_API_WS_URL=mock-management-svc
MGMT_API_WS_PORT=4005
# Set to true to enable the use of PM4ML-related services e.g MCM, Management API service
# when running the scheme-adapter as a mojaloop connector component within Payment Manager for Mojaloop.
PM4ML_ENABLED=false
BACKEND_EVENT_CONSUMER_BROKER_LIST=kafka:29092
BACKEND_EVENT_PRODUCER_BROKER_LIST=kafka:29092
FSPIOP_EVENT_CONSUMER_BROKER_LIST=kafka:29092
FSPIOP_EVENT_PRODUCER_BROKER_LIST=kafka:29092
# Maximum payload limits
FSPIOP_API_SERVER_MAX_REQUEST_BYTES=209715200
BACKEND_API_SERVER_MAX_REQUEST_BYTES=209715200
ENABLE_FSPIOP_EVENT_HANDLER=false
ENABLE_BACKEND_EVENT_HANDLER=false
# Port number that the inbound (Mojaloop API) HTTP server will listen on
INBOUND_LISTEN_PORT=4000
# Port number that the outbound (simplified DFSP outbound API) HTTP server will listen on
OUTBOUND_LISTEN_PORT=4001
# ---- SDK Config ----
# The option 'PEER_ENDPOINT' has no effect if the remaining options 'ALS_ENDPOINT', 'QUOTES_ENDPOINT',
# 'BULK_QUOTES_ENDPOINT', 'TRANSFERS_ENDPOINT', 'BULK_TRANSFERS_ENDPOINT', 'TRANSACTION_REQUESTS_ENDPOINT' are specified.
# ALS_ENDPOINT=callback-handler-svc-cl-sim:3001/backend
# QUOTES_ENDPOINT=callback-handler-svc-cl-sim:3001/backend
# BULK_QUOTES_ENDPOINT=callback-handler-svc-cl-sim:3001/backend
# TRANSFERS_ENDPOINT=callback-handler-svc-cl-sim:3001/backend
# BULK_TRANSFERS_ENDPOINT=callback-handler-svc-cl-sim:3001/backend
# TRANSACTION_REQUESTS_ENDPOINT=callback-handler-svc-cl-sim:3001/backend