-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(endpoints): Inbound authorizations handler (#16)
* feat(swagger): Add new `POST .../authorizations` to swagger spec * feat(authorizations): Implementing POST authorizations domain methods feat(authorizations): Basic handler tests feat(authorizations): add outbound call tests * fix(authorizations): Parsing of request id * fix(modules): Disable the fancy modules for now * fix(paths): rename thirdpartyRequests dir to thirdpartyrequest * fix(paths): revert to tpr path until we have sorted out swagger issues * chore(linting): Fix linting errors * feat(swagger): Add `POST /thirdpartyRequests/transactions/{ID}/authorizations` to api-template * chore(repo): Refactor repo structure to line up with Sridhar's changes * chore(test): Fixing unit tests * chore(auth): refactor our setimmediate * feat(histogram): Extracted histogram into generic wrapper for handlers * feat(handlers): Update authorizations handler to add span tags * chore(ambient.d.ts): Updated central-services-shared along with definitions * fix(config): Rename `SWITCH_ENDPOINT` to more specific `ENDPOINT_SERVICE_URL` * feat(transactions): Minor logging improvements * clean up template and tests * feature(docs): Update docs about testing * fixing tests and removing logs * feature(tests): Fixing broken unit tests after switch from `setImmediate` * feat(authorization.test.ts): Expanding test coverage * feat(coverage): Improving test coverage for span * test(start.ts): Add tests to start.ts * feat(coverage): Improving test coverage domain * chore(lint): fix linting issues * fix(transactions.test.ts): Fixed invalid test mock value * test(bdd): Add bdd tests - rename `template` bdd test to `health` * chore(docs): Add Runtime configuration section to the Readme * fix(tests): Fix tests and incorporate PR feedback fix(errors): Improve error logging for unhandled promise rejections feat(test): Expanding histogram error handling tests feat(docs): Improve jsdoc for util.ts Clean up test timers Clean up test timers fix(mocks): Improve response toolkit mocking fix(mocks): Improve response toolkit mocking * fix(coverage): Fix missing test coverage * fix(vulns): update audit commands to scan production modules only * fix(ci): Fix ci/cd build-local step * fix(ci): remove docker specific build step * fix(ci): fix sed escape character hell * fix(ambient.d.ts): fix jsdoc optional param references * chore: rename Bill & Melinda Gates Foundation > Copyright © 2020 Mojaloop Foundation * fix(license): header references to old foundation
- Loading branch information
Showing
52 changed files
with
2,130 additions
and
2,632 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.