Skip to content

Commit

Permalink
Corrections according to review
Browse files Browse the repository at this point in the history
Use express-validator
Add new tests
Change test time limit
Change session memory limit
Update docs
  • Loading branch information
FabijanC committed Jan 13, 2021
1 parent c199816 commit 864e326
Show file tree
Hide file tree
Showing 20 changed files with 478 additions and 225 deletions.
32 changes: 16 additions & 16 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,22 +295,22 @@
"services/validation/test/files/single"
]
},
{
"type": "node",
"request": "launch",
"name": "Validation service (standard-json file input)",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/services/validation/build/index.js",
"preLaunchTask": "tsc: build - services/validation/tsconfig.json",
"outFiles": [
"${workspaceFolder}/services/validation/build/**/*.js"
],
"args": [
"services/validation/test/expected-output/single.json"
]
},
// {
// "type": "node",
// "request": "launch",
// "name": "Validation service (standard-json file input)",
// "skipFiles": [
// "<node_internals>/**"
// ],
// "program": "${workspaceFolder}/services/validation/build/index.js",
// "preLaunchTask": "tsc: build - services/validation/tsconfig.json",
// "outFiles": [
// "${workspaceFolder}/services/validation/build/**/*.js"
// ],
// "args": [
// "services/validation/test/expected-output/single.json"
// ]
// },
{
"type": "node",
"request": "launch",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ You can find examples in our Postman collection in the root of this project `Sou

### Server API

* [Check by address](docs/api/server/verification1/checkByAddress.md) : `GET /checkByAddresses?addresses={address}&chainIds={chainIds}`
* [Check by addresses](docs/api/server/verification1/check-by-addresses.md) : `GET /check-by-addresses?addresses={address}&chainIds={chainIds}`
* Verification API (v1)
* [Verify](docs/api/server/verification1/verify.md) : `POST /` or `POST /verify`
* Verification API (v2 - session based)
Expand All @@ -260,6 +260,6 @@ You can find examples in our Postman collection in the root of this project `Sou
* [Restart session](docs/api/server/verification2/restart-session.md) : `POST /restart-session`
* [Get file tree (full match)](docs/api/server/getTreeByChainAndAddress.md) : `GET /files/tree/:chain/:address`
* [Get source files (full match)](docs/api/server/getByChainAndAddress.md) : `GET /files/:chain/:address`
* [Get file tree (full or partial match)](docs/api/server/getAnyTreeByChainAndAddess.md) : `GET /files/tree/any/:chain/:address`
* [Get file tree (full or partial match)](docs/api/server/getAnyTreeByChainAndAddress.md) : `GET /files/tree/any/:chain/:address`
* [Get source files (full or partial match)](docs/api/server/getAnyByChainAndAddress.md) : `GET /files/any/:chain/:address`
* [Server health](docs/api/server/health.md) : `GET /health`
Loading

0 comments on commit 864e326

Please sign in to comment.