Skip to content

Commit

Permalink
feat(mojaloop/#2704): core-services support for non-breaking backward…
Browse files Browse the repository at this point in the history
… api compatibility

- updated default.json config for PROTOCOL_VERSIONS, and updated related usage based on mojaloop/project#2660 to accept a validationList for the content-type
- updated dependencies
- fixed audit issues
- fixed unit tests
  • Loading branch information
mdebarros committed Mar 3, 2022
1 parent d7a715a commit ae63e48
Show file tree
Hide file tree
Showing 10 changed files with 1,380 additions and 2,265 deletions.
46 changes: 32 additions & 14 deletions audit-resolve.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,38 +72,56 @@
},
"1004869|@mojaloop/central-services-shared>widdershins>swagger2openapi>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1639467659885,
"expiresAt": 1642059653386
"madeAt": 1646302987175,
"expiresAt": 1648894953755
},
"1004869|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1639467659885,
"expiresAt": 1642059653386
"madeAt": 1646302987175,
"expiresAt": 1648894953755
},
"1004946|@mojaloop/central-services-shared>widdershins>yargs>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1639467660895,
"expiresAt": 1642059653386
"madeAt": 1646302988358,
"expiresAt": 1648894953755
},
"1004946|@mojaloop/central-services-shared>widdershins>yargs>cliui>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1639467660895,
"expiresAt": 1642059653386
"madeAt": 1646302988358,
"expiresAt": 1648894953755
},
"1005383|@mojaloop/central-services-shared>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1639467661956,
"expiresAt": 1642059653386
"madeAt": 1646302989536,
"expiresAt": 1648894953755
},
"1005384|@mojaloop/central-services-shared>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1639467661956,
"expiresAt": 1642059653386
"madeAt": 1646302989537,
"expiresAt": 1648894953755
},
"1005534|@mojaloop/central-services-shared>widdershins>yargs>yargs-parser": {
"decision": "ignore",
"madeAt": 1639467663011,
"expiresAt": 1642059653386
"madeAt": 1646302990751,
"expiresAt": 1648894953755
},
"1006899|@mojaloop/central-services-shared>widdershins>node-fetch": {
"decision": "fix",
"madeAt": 1646302983920
},
"1006899|@mojaloop/event-sdk>grpc>@mapbox/node-pre-gyp>node-fetch": {
"decision": "fix",
"madeAt": 1646302983920
},
"1006886|@mojaloop/central-services-shared>shins>markdown-it": {
"decision": "ignore",
"madeAt": 1646302992748,
"expiresAt": 1648894953755
},
"1007017|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>ajv": {
"decision": "ignore",
"madeAt": 1646302993865,
"expiresAt": 1648894953755
}
},
"rules": {},
Expand Down
9 changes: 8 additions & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@
"CREATE_RETRY_INTERVAL_MILLIS": 200
},
"PROTOCOL_VERSIONS": {
"CONTENT": "1.1",
"CONTENT": {
"DEFAULT": "1.1",
"VALIDATELIST": [
"1.1",
"1.0"
]
},
"ACCEPT": {
"DEFAULT": "1",
"VALIDATELIST": [
"1",
"1.0",
"1.1"
]
}
Expand Down
Loading

0 comments on commit ae63e48

Please sign in to comment.