Skip to content

Commit

Permalink
893-UpdateRegexToValidateIncomingErrorCodeAtEndpointCallbackAndUpdate…
Browse files Browse the repository at this point in the history
…Dependencies (#113)

* Issue934-FixSetEnvVarRCAsBooleanInsteadOfString

* WIP

* mockConfig done

* 893-AddSwaggerValidationForIncomingErrorCodePlusUnitTestChangeAndUpdateDependencies

* Fix unit test, update dependencies plus Merge remote-tracking branch 'origin/893-ValidateIncomingErrorCodeAtErroCallbackEndpoint' into 893-ValidateIncomingErrorCodeAtErroCallbackEndpoint

Co-authored-by: Georgi Georgiev <[email protected]>
Co-authored-by: Sam <[email protected]>
  • Loading branch information
3 people authored Jan 24, 2020
1 parent 856a215 commit 5cb6955
Show file tree
Hide file tree
Showing 4 changed files with 228 additions and 27 deletions.
235 changes: 215 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "quoting-service",
"description": "Quoting Service hosted by a scheme",
"license": "Apache-2.0",
"version": "8.8.1-snapshot",
"version": "8.8.2-snapshot",
"author": "Modusbox",
"contributors": [
"James Bush <[email protected]>",
Expand Down Expand Up @@ -71,22 +71,22 @@
"json-rules-engine": "5.0.2",
"knex": "0.20.8",
"memory-cache": "0.2.0",
"mysql": "2.18.0",
"mysql": "2.18.1",
"node-fetch": "2.6.0",
"parse-strings-in-object": "2.0.0",
"rc": "1.2.8"
},
"devDependencies": {
"@types/jest": "24.9.0",
"@types/jest": "24.9.1",
"eslint": "6.8.0",
"jest": "25.1.0",
"jest-junit": "10.0.0",
"npm-audit-resolver": "2.1.0",
"npm-audit-resolver": "2.2.0",
"npm-check-updates": "4.0.1",
"nyc": "15.0.0",
"pre-commit": "1.2.2",
"proxyquire": "2.1.3",
"sinon": "8.1.0",
"sinon": "8.1.1",
"standard": "14.3.1",
"swagmock": "1.0.0"
},
Expand Down
3 changes: 2 additions & 1 deletion src/interface/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,8 @@
"properties": {
"errorCode": {
"type": "string",
"description": "Specific error number."
"description": "Specific error number.",
"pattern": "^(10|20|3[0-4]|4[0-4]|5[0-4])[0-9]{2}$"
},
"errorDescription": {
"type": "string",
Expand Down
Loading

0 comments on commit 5cb6955

Please sign in to comment.