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 2d7d285 commit 5daa194
Show file tree
Hide file tree
Showing 10 changed files with 1,712 additions and 1,428 deletions.
63 changes: 63 additions & 0 deletions audit-resolve.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,69 @@
"decision": "ignore",
"madeAt": 1636105704685,
"expiresAt": 1638697697505
},
"1004946|@mojaloop/event-sdk>grpc>@mapbox/node-pre-gyp>npmlog>gauge>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1646314858704,
"expiresAt": 1648906832971
},
"1006899|@mojaloop/central-services-shared>widdershins>node-fetch": {
"decision": "fix",
"madeAt": 1646314909570
},
"1006899|@mojaloop/event-sdk>grpc>@mapbox/node-pre-gyp>node-fetch": {
"decision": "fix",
"madeAt": 1646314909570
},
"1004869|@mojaloop/central-services-shared>widdershins>swagger2openapi>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1646314912848,
"expiresAt": 1648906832971
},
"1004869|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>better-ajv-errors>jsonpointer": {
"decision": "ignore",
"madeAt": 1646314912848,
"expiresAt": 1648906832971
},
"1004876|hapi-swagger>swagger-parser>z-schema>validator": {
"decision": "ignore",
"madeAt": 1646314914214,
"expiresAt": 1648906832971
},
"1004946|@mojaloop/central-services-shared>widdershins>yargs>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1646314915282,
"expiresAt": 1648906832971
},
"1004946|@mojaloop/central-services-shared>widdershins>yargs>cliui>string-width>strip-ansi>ansi-regex": {
"decision": "ignore",
"madeAt": 1646314915282,
"expiresAt": 1648906832971
},
"1005383|@mojaloop/central-services-shared>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1646314916416,
"expiresAt": 1648906832971
},
"1005384|@mojaloop/central-services-shared>shins>sanitize-html": {
"decision": "ignore",
"madeAt": 1646314916416,
"expiresAt": 1648906832971
},
"1005534|@mojaloop/central-services-shared>widdershins>yargs>yargs-parser": {
"decision": "ignore",
"madeAt": 1646314918481,
"expiresAt": 1648906832971
},
"1006886|@mojaloop/central-services-shared>shins>markdown-it": {
"decision": "ignore",
"madeAt": 1646314920247,
"expiresAt": 1648906832971
},
"1007017|@mojaloop/central-services-shared>widdershins>swagger2openapi>oas-validator>ajv": {
"decision": "ignore",
"madeAt": 1646314921354,
"expiresAt": 1648906832971
}
},
"rules": {},
Expand Down
10 changes: 9 additions & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,18 @@
"generateTimeout": 30000
},
"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 5daa194

Please sign in to comment.