Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #15 from illinois-cs241/tornado-json
Browse files Browse the repository at this point in the history
Tornado json
  • Loading branch information
ayushr2 committed Nov 25, 2018
2 parents 19b33fa + b594f7d commit 0af84e1
Show file tree
Hide file tree
Showing 22 changed files with 1,180 additions and 927 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ install:
- pip install --upgrade pip
- pip install -r requirements.txt
- pip install -r requirements_test.txt
before_script:
- mkdir -p /tmp/mongo/data
- mongod --dbpath /tmp/mongo/data 2>&1 > /dev/null & # We have to do this because --fork just doesn't work
script:
- py.test --cov=src/ tests/ --doctest-modules -v --cov coveralls --cov-report term-missing
after_success:
Expand Down
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ python -m src.api
```

## Starting a Grading Run
Provided a [simple script](start_run_script.py) to start a grading run. Make sure `HOST` and `PORT` are set correctly. Usage:
Provided a [simple script](utils/start_run_script.py) to start a grading run. Make sure `HOST` and `PORT` are set correctly. Usage:
```shell
python start_run_script.py <path to valid pipeline json>
```
Expand Down Expand Up @@ -107,7 +107,7 @@ Returns the JSON string of:
```

### GET api/v1/grading_job
Used to poll the queue for a job. If the queue is empty, sets the status code to [this](src/settings.py#L5)
Used to poll the queue for a job. If the queue is empty, sets the status code to [this](src/config.py#L5)

Arguments:
```
Expand Down
26 changes: 2 additions & 24 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,4 @@
asn1crypto==0.24.0
atomicwrites==1.2.1
attrs==18.2.0
bcrypt==3.1.4
certifi==2018.10.15
cffi==1.11.5
chardet==3.0.4
cryptography==2.3.1
fabric==2.4.0
idna==2.7
invoke==1.2.0
mock==2.0.0
more-itertools==4.3.0
paramiko==2.4.2
pbr==5.1.0
pluggy==0.8.0
py==1.7.0
pyasn1==0.4.4
pycparser==2.19
jsonschema==2.6.0
pymongo==3.7.2
PyNaCl==1.3.0
pytest==3.9.1
requests==2.19.1
six==1.11.0
tornado==5.1.1
urllib3==1.23
Tornado-JSON==1.3.3
File renamed without changes.
Loading

0 comments on commit 0af84e1

Please sign in to comment.