-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/validation for name place accents (#221)
* updated to newly released version of event-sdk * updated dependencies and version * updates to migrate quoting api to use openapi-backend create openapi >= 3.0 swagger updated dependencies added new routes converted server to use new libraries golden path tests pass coverage may need some attention * added production to quotes audit checks * fixed incorrect case for file path * Updated code coverage * update of dependencies * error handling dependency update * updated dependency
- Loading branch information
Showing
21 changed files
with
3,112 additions
and
1,619 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
{ | ||
"reject": [ | ||
"@hapi/hapi", | ||
"json-rules-engine", | ||
"hapi-openapi" | ||
"json-rules-engine" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +0,0 @@ | ||
{ | ||
"decisions": { | ||
"1179|@mojaloop/central-services-shared>@mojaloop/event-sdk>grpc>node-pre-gyp>mkdirp>minimist": { | ||
"decision": "ignore", | ||
"madeAt": 1588247839506, | ||
"expiresAt": 1588852630163 | ||
}, | ||
"1179|@mojaloop/event-sdk>grpc>node-pre-gyp>mkdirp>minimist": { | ||
"decision": "ignore", | ||
"madeAt": 1588247839507, | ||
"expiresAt": 1588852630163 | ||
}, | ||
"1179|@mojaloop/central-services-shared>@mojaloop/event-sdk>grpc>node-pre-gyp>tar>mkdirp>minimist": { | ||
"decision": "ignore", | ||
"madeAt": 1588247839507, | ||
"expiresAt": 1588852630163 | ||
}, | ||
"1179|@mojaloop/event-sdk>grpc>node-pre-gyp>tar>mkdirp>minimist": { | ||
"decision": "ignore", | ||
"madeAt": 1588247839507, | ||
"expiresAt": 1588852630163 | ||
}, | ||
"1179|@mojaloop/central-services-shared>@mojaloop/event-sdk>grpc>node-pre-gyp>rc>minimist": { | ||
"decision": "ignore", | ||
"madeAt": 1588247839507, | ||
"expiresAt": 1588852630163 | ||
}, | ||
"1179|@mojaloop/event-sdk>grpc>node-pre-gyp>rc>minimist": { | ||
"decision": "ignore", | ||
"madeAt": 1588247839507, | ||
"expiresAt": 1588852630163 | ||
}, | ||
"1500|npm-audit-resolver>yargs-unparser>yargs>yargs-parser": { | ||
"decision": "ignore", | ||
"madeAt": 1588760499425, | ||
"expiresAt": 1589365290340 | ||
}, | ||
"1500|npm-audit-resolver>audit-resolve-core>yargs-parser": { | ||
"decision": "ignore", | ||
"madeAt": 1589898179690, | ||
"expiresAt": 1592490171384 | ||
} | ||
}, | ||
"rules": {}, | ||
"version": 1 | ||
} | ||
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/***** | ||
License | ||
-------------- | ||
Copyright © 2017 Bill & Melinda Gates Foundation | ||
The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. | ||
Contributors | ||
-------------- | ||
This is the official list of the Mojaloop project contributors for this file. | ||
Names of the original copyright holders (individuals or organizations) | ||
should be listed with a '*' in the first column. People who have | ||
contributed from an organization can be listed under the organization | ||
that actually holds the copyright for their contributions (see the | ||
Gates Foundation organization for an example). Those individuals should have | ||
their names indented and be marked with a '-'. Email address can be added | ||
optionally within square brackets <email>. | ||
* Gates Foundation | ||
* ModusBox | ||
- Rajiv Mothilal <rajiv.mothilal@modusbox.com> | ||
-------------- | ||
******/ | ||
|
||
'use strict' | ||
|
||
const OpenapiBackend = require('@mojaloop/central-services-shared').Util.OpenapiBackend | ||
const quotes = require('./quotes') | ||
const quotesById = require('./quotes/{id}') | ||
const quotesErrorByID = require('./quotes/{id}/error') | ||
const health = require('./health') | ||
const bulkQuotes = require('./bulkQuotes') | ||
const bulkQuotesById = require('./bulkQuotes/{id}') | ||
const bulkQuotesErrorById = require('./bulkQuotes/{id}/error') | ||
|
||
module.exports = { | ||
HealthGet: health.get, | ||
QuotesErrorByIDPut: quotesErrorByID.put, | ||
QuotesByIdGet: quotesById.get, | ||
QuotesByIdPut: quotesById.put, | ||
QuotesPost: quotes.post, | ||
BulkQuotesErrorByIdPut: bulkQuotesErrorById.put, | ||
BulkQuotesByIdGet: bulkQuotesById.get, | ||
BulkQuotesByIdPut: bulkQuotesById.put, | ||
BulkQuotesPost: bulkQuotes.post, | ||
validationFail: OpenapiBackend.validationFail, | ||
notFound: OpenapiBackend.notFound, | ||
methodNotAllowed: OpenapiBackend.methodNotAllowed | ||
} |
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.