Commit Graph

94 Commits

Author SHA1 Message Date
Seth House
93e04d3a30 Also serve custom error page on HTTPException's 2012-10-08 16:20:06 -06:00
Seth House
9f75c09635 Renamed bind to start to be more consistent with other Saltnesses 2012-10-08 16:20:06 -06:00
Seth House
0ddecd11ef Pass the Flask app into the view class 2012-10-08 16:20:05 -06:00
Thomas S Hatch
905a110345 negate the need to pass in alternative base_path args
This fixes using built in salt apis
2012-10-08 16:17:55 -06:00
Seth House
926fab516f Avoid the Werkzeug debugger on errors and return JSON 2012-10-02 14:49:44 -06:00
Seth House
408c46fb9f Dangit, Tom 2012-10-02 14:41:01 -06:00
Seth House
35c29b3f6c Added basic runners interface 2012-10-01 16:15:55 -06:00
Seth House
a33e885957 Removed casting jid arg to an int 2012-10-01 16:00:14 -06:00
Seth House
bc5f8c7751 Import werkzeug exceptions wholesale 2012-10-01 15:59:41 -06:00
Seth House
28f6371ae1 Removed empty __init__() 2012-10-01 15:58:14 -06:00
Seth House
4f6d77a40b Fixed missing *args, **kwargs; this is all Tom's fault 2012-10-01 14:22:10 -06:00
Seth House
89993bfb45 Fixed Tom's restoration from Tom's fix 2012-10-01 14:00:57 -06:00
Thomas S Hatch
a64d7dabe9 make a base class again 2012-10-01 13:41:58 -06:00
Thomas S Hatch
ca477006ce we were not jsonify-ing 2012-10-01 13:23:36 -06:00
Thomas S Hatch
ee76aac6f4 Some cleanup
Change the Flask loader to hold the runner functions and the
localclient. Fix spacing, only have one class, remove unused
get methods
2012-10-01 12:57:46 -06:00
Thomas S Hatch
2ea6dcc532 Bypass loader basepath in runner dict generation 2012-10-01 12:56:39 -06:00
Thomas S Hatch
e11b9164d6 clean up extra empy line 2012-10-01 11:37:32 -06:00
Seth House
8a14b368ca wip: Map out the /jobs URLs functionality 2012-10-01 11:05:17 -06:00
Seth House
6186a3b5b3 Renamed REST Flask implementation to make room for future REST netapis 2012-09-28 11:31:28 -06:00
Thomas S Hatch
aa45170b3e Merge pull request #3 from whiteinge/netapi-rest
Netapi rest
2012-09-27 15:17:52 -07:00
Seth House
f2b11b4d0d Added initial stab at Flask-based REST API 2012-09-27 16:15:17 -06:00
Seth House
192ee9d785 Fixed fat-fingered var lookup 2012-09-26 15:28:03 -06:00
Thomas S Hatch
7ab650ff41 Use master_config function 2012-09-24 15:10:44 -06:00
Thomas S Hatch
b9e62d3ff3 Add extention modules 2012-09-24 14:52:37 -06:00
Thomas S Hatch
97a7019b95 Python == self 2012-09-24 14:46:42 -06:00
Thomas S Hatch
760d3f6720 clean up loader module 2012-09-24 14:45:36 -06:00
Thomas S Hatch
5d9645ce60 remove netauth from setup.py 2012-09-24 14:41:05 -06:00
Thomas S Hatch
bcc1dbbca8 Add the doc tree for salt-api 2012-09-24 14:17:56 -06:00
Thomas S Hatch
9ecd98832a update setup.py 2012-09-24 14:17:03 -06:00
Thomas S Hatch
8f03f76b43 Add scripts 2012-09-24 13:21:59 -06:00
Thomas S Hatch
2773816d50 Add initial cli module 2012-09-24 13:17:26 -06:00
Thomas S Hatch
bd17439719 Not doing it in here 2012-09-24 11:59:27 -06:00
Thomas S Hatch
7e9e88e961 Add authors file 2012-09-24 11:57:07 -06:00
Thomas S Hatch
03c8d14f19 Add initial loader 2012-09-18 17:57:00 -06:00
Thomas S Hatch
bb0adb67b0 Add config.py 2012-09-18 17:56:29 -06:00
Thomas S Hatch
c2152bee16 Add version file 2012-09-18 17:56:16 -06:00
Thomas S Hatch
68e003ead0 Initial saltapi package 2012-09-18 17:44:51 -06:00
Thomas S Hatch
3c625c80c8 Initialize the netauth loader dir 2012-09-18 17:43:21 -06:00
Thomas S Hatch
bdc626cff6 initialize the netapi loader directory 2012-09-18 17:42:46 -06:00
Thomas S Hatch
d8b8d8e398 initial setup.py 2012-09-18 17:42:09 -06:00
Thomas S Hatch
cd27fc7678 Add gitignore 2012-09-18 17:39:14 -06:00
Thomas S Hatch
de46574d22 Apache! Yay! 2012-09-18 17:38:54 -06:00
Thomas S Hatch
eee4c95354 Rename README 2012-09-18 17:36:57 -06:00
Thomas S Hatch
eb78df5d09 Initial commit 2012-09-18 16:34:34 -07:00