Skip to content

Commit

Permalink
Hey there's a README
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Dahlberg committed Apr 11, 2016
1 parent 70c655c commit e7912c5
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Arteria checksum
=================

A self contained (Tornado) REST service that checks md5 checksums.

Trying it out
-------------

# install dependencies
pip install -r requirements/prod .


Try running it:

checksum-ws --config config/ --port 8080 --debug

And then you can find a simple api documentation by going to:

http://localhost:8888/api/1.0


REST endpoints
--------------

Start check-summing by:

curl -X POST -w '\n' --data '{"path_to_md5_sum_file": "<path_to_checksum_file>"}' http://localhost:8080/api/1.0/start/<runfolder>

Please note that it's necessary for the file containing the md5sums to be placed within the runfolder you want to
test.


You can build check the status of your job by using:

curl -w '\n' http://localhost:8080/api/1.0/status/<jobid or all>
And you can stop a job by:

curl -w '\n' http://localhost:8080/api/1.0/stop/<jobid or all>

Finally if you want to know the version of the service running:

curl -w '\n' http://localhost:8080/api/1.0/version

0 comments on commit e7912c5

Please sign in to comment.