Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mojaloop/#2608): injected resource versions config for outbound requests #432

80 changes: 80 additions & 0 deletions audit-resolve.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,86 @@
"decision": "ignore",
"madeAt": 1635503305448,
"expiresAt": 1638095298266
},
"1004854|00unidentified>widdershins>openapi-sampler>json-pointer": {
"decision": "ignore",
"madeAt": 1638267080209,
"expiresAt": 1640859071746
},
"1004869|00unidentified>widdershins>swagger2openapi>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1638267083058,
"expiresAt": 1640859071746
},
"1004869|00unidentified>widdershins>swagger2openapi>oas-validator>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1638267083058,
"expiresAt": 1640859071746
},
"1004946|00unidentified>widdershins>yargs>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1638267084882,
"expiresAt": 1640859071746
},
"1004946|00unidentified>widdershins>yargs>cliui>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1638267084882,
"expiresAt": 1640859071746
},
"1005383|00unidentified>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1638267086005,
"expiresAt": 1640859071746
},
"1005384|00unidentified>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1638267086005,
"expiresAt": 1640859071746
},
"1005534|00unidentified>widdershins>yargs>yargs-parser": {
"decision": "ignore",
"madeAt": 1638267087119,
"expiresAt": 1640859071746
},
"1004854|@mojaloop/central-services-shared>widdershins>openapi-sampler>json-pointer": {
"decision": "ignore",
"madeAt": 1639467658896,
"expiresAt": 1642059653386
},
"1004869|@mojaloop/central-services-shared>widdershins>swagger2openapi>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1639467659885,
"expiresAt": 1642059653386
},
"1004869|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1639467659885,
"expiresAt": 1642059653386
},
"1004946|@mojaloop/central-services-shared>widdershins>yargs>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1639467660895,
"expiresAt": 1642059653386
},
"1004946|@mojaloop/central-services-shared>widdershins>yargs>cliui>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1639467660895,
"expiresAt": 1642059653386
},
"1005383|@mojaloop/central-services-shared>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1639467661956,
"expiresAt": 1642059653386
},
"1005384|@mojaloop/central-services-shared>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1639467661956,
"expiresAt": 1642059653386
},
"1005534|@mojaloop/central-services-shared>widdershins>yargs>yargs-parser": {
"decision": "ignore",
"madeAt": 1639467663011,
"expiresAt": 1642059653386
}
},
"rules": {},
Expand Down
1 change: 1 addition & 0 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"PROTOCOL_VERSIONS": {
"CONTENT": "1.1",
"ACCEPT": {
"DEFAULT": "1",
"VALIDATELIST": [
"1",
"1.1"
Expand Down
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ services:
account-lookup-service:
build:
context: .
target: builder
container_name: als_account-lookup-service
user: root
command:
Expand Down Expand Up @@ -36,6 +37,7 @@ services:
central-ledger:
image: mojaloop/central-ledger:latest
container_name: als_central-ledger
user: root
command:
- "sh"
- "-c"
Expand Down Expand Up @@ -82,7 +84,7 @@ services:

mysql-als:
image: mysql/mysql-server
container_name: als_mysql_central_ledger
container_name: als_mysql
ports:
- "3306:3306"
volumes:
Expand All @@ -103,7 +105,7 @@ services:

mysql-cl:
image: mysql/mysql-server
container_name: als_mysql
container_name: als_mysql_central_ledger
ports:
- "3307:3306"
volumes:
Expand Down
36 changes: 35 additions & 1 deletion docker/central-ledger/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"PORT": 3306,
"USER": "central_ledger",
"PASSWORD": "password",
"DATABASE": "central_ledger",
"SCHEMA": "central_ledger",
"POOL_MIN_SIZE": 10,
"POOL_MAX_SIZE": 10,
"ACQUIRE_TIMEOUT_MILLIS": 30000,
Expand All @@ -18,6 +18,16 @@
"CREATE_RETRY_INTERVAL_MILLIS": 200,
"DEBUG": false
},
"PROTOCOL_VERSIONS": {
"CONTENT": "1.1",
"ACCEPT": {
"DEFAULT": "1",
"VALIDATELIST": [
"1",
"1.1"
]
}
},
"MIGRATIONS": {
"DISABLED": false,
"RUN_DATA_MIGRATIONS": true
Expand Down Expand Up @@ -176,6 +186,30 @@
"auto.offset.reset": "earliest"
}
}
},
"GET": {
"config": {
"options": {
"mode": 2,
"batchSize": 1,
"pollFrequency": 10,
"recursiveTimeout": 100,
"messageCharset": "utf8",
"messageAsJSON": true,
"sync": true,
"consumeTimeout": 1000
},
"rdkafkaConf": {
"client.id": "cl-con-bulk-get",
"group.id": "cl-group-bulk-get",
"metadata.broker.list": "kafka:29092",
"socket.keepalive.enable": true,
"allow.auto.create.topics": true
},
"topicConf": {
"auto.offset.reset": "earliest"
}
}
}
},
"TRANSFER": {
Expand Down
Loading