Skip to content

Commit

Permalink
Revise documentation to reflect the latest HTTP routes added to the b…
Browse files Browse the repository at this point in the history
…ackend API
  • Loading branch information
thierrymarianne committed Nov 16, 2021
1 parent b03c2b3 commit 522f620
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/30-latest-mvp-for-safepkt-smart-contract-verifier.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@ As a consequence, the HTTP API exposed by the backend inherited two additional s
- GET `/source-restoration/{{ project_id }}/progress`
to get the completion status of a source restoration

Additional routes have been added to the backend to facilitate project analysis management:
- `POST` `/uploaded_sources_listing/{project_id}`
to run a container executing `ls` from the directory where uploaded sources are
- `GET` `/uploaded_sources_listing/{project_id}/report`
to get the logs of the container which output contains all the uploaded sources id (`project_id`)
- `DELETE` `/program-verification/{project_id}`
to stop container executing the verification process for a previously uploaded source under project id passed as parameter

![SafePKT Command-Line Interface](./img/program-verification-in-cli.png?raw=true)

Optimizing the construction of the RVT-based toolset itself was a subtask described in this [public issue](https://github.com/project-oak/rust-verification-tools/pull/149). No official Docker image could be attached to project-oak/rvt project but we eventually managed to publish our own set of images and tags to ease the backend component set up from the official Docker registry, with the latest tag being worth of about 2Gb of compressed image layers available from [https://hub.docker.com/repository/docker/safepkt/rvt](https://hub.docker.com/repository/docker/safepkt/rvt)
Expand Down

0 comments on commit 522f620

Please sign in to comment.