Skip to content

Commit

Permalink
Begin work on rest endpoint
Browse files Browse the repository at this point in the history
This branch is beginning the work on the rest endpoint outlined at #24. This adds a new flask rest endpoint that will be used to work with the scraping cluster, and interact with the kafka api.

The work will reside in `/rest` and will eventually have both offline test, online tests, and a new section of documentation. Notable new files here:

* rest_service.py - the rest endpoint code
* settings.py - rest service settings
* requirements.txt - the bare minimum requirements to run the rest service
  • Loading branch information
Madison Bahmer committed Oct 16, 2016
1 parent 4f13522 commit dd3d40f
Show file tree
Hide file tree
Showing 7 changed files with 575 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ coverage==4.0.3
cryptography==1.3.4
cssselect==0.9.1
enum34==1.1.6
Flask==0.11
funcsigs==1.0.2
future==0.15.2
idna==2.1
Expand Down
4 changes: 4 additions & 0 deletions rest/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[report]
omit=
*settings.py
tests/*.py
21 changes: 21 additions & 0 deletions rest/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
click==6.6
ConcurrentLogHandler==0.9.1
Flask==0.11
funcsigs==1.0.2
future==0.15.2
itsdangerous==0.24
Jinja2==2.8
kafka-python==1.3.1
kazoo==2.2.1
MarkupSafe==0.23
mock==2.0.0
nose==1.3.7
pbr==1.10.0
python-json-logger==0.1.5
redis==2.10.5
retrying==1.3.3
scutils==1.2.0.dev4
six==1.10.0
testfixtures==4.11.0
ujson==1.35
Werkzeug==0.11.11
Loading

0 comments on commit dd3d40f

Please sign in to comment.