Commit Graph

166 Commits

Author SHA1 Message Date
Seth House
db7d98b7a7 Added custom SessionAuth subclass 2012-11-02 16:13:05 -06:00
Seth House
d353eb2b4b Change root URL command to issue a compound command 2012-11-02 11:59:37 -06:00
Seth House
7cd10b4b62 Added GET response to the root URL to fetch minion infos 2012-11-01 14:28:51 -06:00
Seth House
38c95ed144 Factored out executing lowdata into something reusable 2012-11-01 14:27:31 -06:00
Seth House
673e6caa40 Added reminder note about enabling streaming responses 2012-11-01 11:54:10 -06:00
Seth House
cba4b0976b Gracefully shutdown on a sigint (don't see KeyboardInterrupt from here) 2012-11-01 11:45:53 -06:00
Thomas S Hatch
2e66ca9181 Add wheel function to the api class 2012-11-01 11:43:57 -06:00
Seth House
a676fe08f4 Simplified lookup for grabbing global conf values 2012-11-01 11:28:38 -06:00
Seth House
8665b627f9 Format all JSON through Salt 2012-11-01 11:27:59 -06:00
Seth House
a1b2c478b8 Fixed incorrect variable names 2012-11-01 10:27:54 -06:00
Seth House
0e0cd7e189 Removed unused import 2012-11-01 10:27:35 -06:00
Seth House
02a8c39446 Updated imports from standalone cheroot to cherrypy proper 2012-11-01 10:19:01 -06:00
Seth House
836ffdebae Return the reponse from low-data calls as JSON 2012-11-01 10:18:07 -06:00
Seth House
f91847a5fe Added a default error page to return errors as JSON 2012-11-01 10:17:10 -06:00
Seth House
c57399a1a3 Updated formatting low-data for CherryPy 2012-11-01 10:09:29 -06:00
Seth House
18e29551b8 Added REST module written in CherryPy 2012-10-30 16:55:10 -06:00
Seth House
a33e01a580 Added secret_key to config 2012-10-29 14:35:08 -06:00
Seth House
b0dd811561 Fixed comment for the ca -> tls module 2012-10-29 14:32:57 -06:00
Seth House
c1cddf4a5f Only set cookies over SSL 2012-10-29 14:31:37 -06:00
Seth House
aa10e39e40 Updated config names for the SSL cert/key 2012-10-29 13:10:25 -06:00
Seth House
26ab78ba2a Switched to using the cheroot server with SSL (and using __opts__)
Fixes #16 and fixes #18
2012-10-26 14:08:26 -06:00
Seth House
a10eaa89f2 Copy pulling version from Git from Salt 2012-10-25 15:09:46 -06:00
Seth House
0249292a47 Reigned in some wild imports 2012-10-24 16:32:12 -06:00
Seth House
b6071638b9 Minor tweaks/fixes to the runner and inspect functions 2012-10-24 12:14:01 -06:00
Seth House
ae3d1595b0 Added root URL view to utilize the new low-data interface 2012-10-24 12:13:58 -06:00
Thomas S Hatch
e172a65a6a bump version to 0.6.0 2012-10-24 10:31:05 -06:00
Thomas S Hatch
bc3d492791 port format_all to salt-api pending updates in salt core 2012-10-24 10:26:38 -06:00
Thomas S Hatch
3bade9d625 Add API wrapper to saltapi 2012-10-17 12:41:00 -06:00
Seth House
cfff36f78a Improve / correct view docstrings 2012-10-16 16:59:32 -06:00
Seth House
0bf51dc1c8 Run salt-api out of the CLI entry point; use Salt's parser mixins 2012-10-09 20:13:10 -06:00
Seth House
a987233030 Replaced copy-and-pasted salt-cloud references 2012-10-09 17:15:40 -06:00
Seth House
f7b270a56f Updated runner to use the new RunnerClient 2012-10-09 16:06:22 -06:00
Seth House
84640ee38c Moved awesomer remote ex functionality to /minions URIs 2012-10-09 16:03:11 -06:00
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
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
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
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