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 based on mojaloop/project#2660
- re-factored config to load the changes correctly
- updated plugins to correctly configure the FSPIOPHeaderValidation options
- fixed unit tests

TODO: update latest central-services-shared release after merging mojaloop/central-services-shared#325
  • Loading branch information
mdebarros committed Mar 2, 2022
1 parent c0a36cf commit c5c96af
Show file tree
Hide file tree
Showing 8 changed files with 233 additions and 83 deletions.
5 changes: 5 additions & 0 deletions audit-resolve.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@
"decision": "ignore",
"madeAt": 1645104323030,
"expiresAt": 1647696313138
},
"1007050|@mojaloop/central-services-shared>widdershins>urijs": {
"decision": "ignore",
"madeAt": 1646235001499,
"expiresAt": 1648826992822
}
},
"rules": {},
Expand Down
9 changes: 8 additions & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,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 c5c96af

Please sign in to comment.