Skip to content

Commit

Permalink
feat(mojaloop/#2608): injected resource versions config for outbound …
Browse files Browse the repository at this point in the history
…requests (#490)

PR for the following issue: mojaloop/project#2608
- updated central-services-shared which includes fixes for this issue for 'Util.Request.sendRequest()' function
- added protocolVersions config injection where @mojaloop/central-services-shared.Util.Request.sendRequest() is used
- enhanced unit tests to validate injected configuration via protocolVersions
- code cleanup
- updated dependencies
- fixed audit-resolve issues
- fixed lint issue
  • Loading branch information
mdebarros authored Dec 14, 2021
1 parent e271cbf commit d46a05b
Show file tree
Hide file tree
Showing 7 changed files with 389 additions and 134 deletions.
90 changes: 90 additions & 0 deletions audit-resolve.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,96 @@
"decision": "ignore",
"madeAt": 1636447965370,
"expiresAt": 1639039957565
},
"1004854|00unidentified>widdershins>openapi-sampler>json-pointer": {
"decision": "ignore",
"madeAt": 1637938614991,
"expiresAt": 1640530606459
},
"1004869|00unidentified>widdershins>swagger2openapi>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1637938616674,
"expiresAt": 1640530606459
},
"1004869|00unidentified>widdershins>swagger2openapi>oas-validator>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1637938616674,
"expiresAt": 1640530606459
},
"1004876|hapi-swagger>swagger-parser>z-schema>validator": {
"decision": "ignore",
"madeAt": 1637938618028,
"expiresAt": 1640530606459
},
"1004946|00unidentified>widdershins>yargs>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1637938619276,
"expiresAt": 1640530606459
},
"1004946|00unidentified>widdershins>yargs>cliui>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1637938619276,
"expiresAt": 1640530606459
},
"1005383|00unidentified>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1637938620530,
"expiresAt": 1640530606459
},
"1005384|00unidentified>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1637938620530,
"expiresAt": 1640530606459
},
"1005534|00unidentified>widdershins>yargs>yargs-parser": {
"decision": "ignore",
"madeAt": 1637938621785,
"expiresAt": 1640530606459
},
"1004854|@mojaloop/central-services-shared>widdershins>openapi-sampler>json-pointer": {
"decision": "ignore",
"madeAt": 1639467580396,
"expiresAt": 1642059574095
},
"1004869|@mojaloop/central-services-shared>widdershins>swagger2openapi>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1639467581844,
"expiresAt": 1642059574095
},
"1004869|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1639467581844,
"expiresAt": 1642059574095
},
"1004946|@mojaloop/central-services-shared>widdershins>yargs>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1639467582894,
"expiresAt": 1642059574095
},
"1004946|@mojaloop/central-services-shared>widdershins>yargs>cliui>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1639467582894,
"expiresAt": 1642059574095
},
"1005383|@mojaloop/central-services-shared>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1639467583960,
"expiresAt": 1642059574095
},
"1005384|@mojaloop/central-services-shared>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1639467583960,
"expiresAt": 1642059574095
},
"1005534|@mojaloop/central-services-shared>widdershins>yargs>yargs-parser": {
"decision": "ignore",
"madeAt": 1639467585064,
"expiresAt": 1642059574095
},
"1006767|hapi-swagger>swagger-ui-dist": {
"decision": "ignore",
"madeAt": 1639467586204,
"expiresAt": 1642059574095
}
},
"rules": {},
Expand Down
1 change: 1 addition & 0 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"PROTOCOL_VERSIONS": {
"CONTENT": "1.1",
"ACCEPT": {
"DEFAULT": "1",
"VALIDATELIST": [
"1",
"1.1"
Expand Down
Loading

0 comments on commit d46a05b

Please sign in to comment.