Skip to content

Commit

Permalink
Merge pull request #63 from elixir-europe/bug/45/replace_deprecated_p…
Browse files Browse the repository at this point in the history
…ackages

bug: replace deprecated request, request-promise and bluebird packages
  • Loading branch information
theisuru authored Mar 21, 2023
2 parents 8c16376 + 617d0a0 commit 834d98f
Show file tree
Hide file tree
Showing 10 changed files with 469 additions and 1,237 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@ Example in linux environment:
export BIOVALIDATOR_LOG_DIR=./new_log_dir
```

### Interacting with biovalidator cache
In server mode, biovalidator caches referenced schema to minimise network time for repeated schema lookups.
`/cache` `GET` and `DELETE` endpoints can be used to retrieve and clear cached schema.
Please note that these endpoints are not protected and anyone with access can use them.
- GET /cache
- DELETE /cache

## Using biovalidator as a CLI command
The biovalidator can also be run as a CLI application. If you provide `--schema` and `--data` as parameters to the application, it will execute in CLI mode.
To see all the available options, run `node ./src/biovalidator --help`
Expand Down
Loading

0 comments on commit 834d98f

Please sign in to comment.