Commit 767d49c
964-CreateHapiPluginToValidateErrorCodesOnPreHandler (#72)
* 964-CreateHapiPluginToValidateErrorCodesOnPreHandler
* 964-ValidateErrorCodes
-add takeover() to onPreHandler plugin response
-add toApiErrorObject()
-instead of obtaining the response from the request object, obtain the payload and specifically its error code
-change boolean if validateFspiopErrorCode to null check
* 964-ValidateIncomingErrorCodes
-let code execution continue if valid mojaloop error code received
-add dependency check and update scripts
-add unit tests to cover onPreHandler function
* 964-ValidateIncomingErrorCodes
-add unit test to meet code coverage requirement
* 964-ValidateIncomingErrorCodes
-update unit test to cover 2 invalid error codes, for invalid category and invalid specific error
* 964-FixVulnerabilityCheck
-add .ncurc.yml
-add prune run command
* Issue964-AddAndConfigureNyc
* Issue964-UpdateDependencies
-remove istanbul
-run update dep check
-rename pretest to standard
* Issue964-RenameAuditResolvToAuditResolve
* Issue964-RenameOnPreHandlerToValidateIncomingErrorCode
* RemovedUnusedSinonImport
* Issue964-BumpRepoVersionTo8dot2dot0
* Issue964-UpdateNcurcAndNycrc1 parent 9d4ae65 commit 767d49c
10 files changed
Lines changed: 3271 additions & 1123 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
167 | 170 | | |
168 | 171 | | |
169 | 172 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
82 | 88 | | |
83 | 89 | | |
0 commit comments