Seth House
|
71fd69927a
|
Don't output traceback if debug is not set
|
2012-11-15 19:59:47 -07:00 |
|
Seth House
|
73d1e0bb6e
|
Mocked a bunch of libs
|
2012-11-15 15:16:41 -07:00 |
|
Seth House
|
7707be5b22
|
Updated example in the docs
|
2012-11-15 14:53:13 -07:00 |
|
Seth House
|
7808f8bec5
|
Added many o' docstring
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
fb517ead6d
|
Return a dict
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
12ac667893
|
Allow handlers to supply their own outputters
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
d410fbe5f0
|
Style fixes
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
ca70bed995
|
Allow individual handlers to add/modify accepted content types
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
f6d9b74cfe
|
Added explanation of mapping
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
26bcd4437f
|
Change 'in' lookup to 'startswith'
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
4d98d72cd7
|
Revert "port format_all to salt-api pending updates in salt core"
This reverts commit bc3d492791 .
These changes are now in Salt core.
Conflicts:
saltapi/__init__.py
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
385530b967
|
Removed FIXME; this will be a touch tricky and should be a full ticket
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
62c7047896
|
Add check for response._tmpl before trying to use it
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
8a25235088
|
Quiet some common warnings with CherryPy
CherryPy uses accessing "private" members often enough to silence.
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
fa7867af13
|
Revert "Moved fmt_lowdata into a module-level function"
This reverts commit 7a319e36c5 .
Reformatting the POST data isn't really a content_type concern.
Conflicts:
saltapi/netapi/rest_cherrypy/__init__.py
|
2012-11-15 14:32:45 -07:00 |
|
Seth House
|
6289b6bd8a
|
Added index template
|
2012-11-15 14:32:30 -07:00 |
|
Seth House
|
e7993de3ac
|
Use CherryPy builtin content type processors
|
2012-11-15 08:54:18 -07:00 |
|
Seth House
|
8ecbbd6529
|
Success is determined by HTTP status code
|
2012-11-15 08:30:54 -07:00 |
|
Seth House
|
f0c4df9f87
|
Don't catch CherryPy exceptions
|
2012-11-14 21:37:19 -07:00 |
|
Seth House
|
37e3f7cb2c
|
Use jinja templates for the html output
|
2012-11-14 17:30:13 -07:00 |
|
Seth House
|
92c8d7dfc9
|
Moved rest_cherrypy module into a package
|
2012-11-14 15:28:20 -07:00 |
|
Seth House
|
78b023e898
|
Replaced error page with try..except to work with the hypermedia handler
|
2012-11-14 12:24:32 -07:00 |
|
Seth House
|
d84c5ea740
|
Changed value of authentication header; still arbitrary and custom
|
2012-11-14 09:15:24 -07:00 |
|
Seth House
|
2ea3a06a6a
|
Enable gzipping output
|
2012-11-14 09:15:24 -07:00 |
|
Seth House
|
6f24a47a11
|
Moved the hypermedia handler into individual functions
|
2012-11-14 09:15:24 -07:00 |
|
Seth House
|
765c502f05
|
Tweaked salt_auth for better use as a tool
|
2012-11-14 09:02:31 -07:00 |
|
Seth House
|
f1dd9dbdaa
|
Removed SimpleTool; not needed for multiple hooks
|
2012-11-14 09:00:33 -07:00 |
|
Seth House
|
7a319e36c5
|
Moved fmt_lowdata into a module-level function
|
2012-11-14 08:59:16 -07:00 |
|
Seth House
|
1467824c0b
|
Import yaml from salt.utils instead
|
2012-11-14 08:57:30 -07:00 |
|
Seth House
|
6f6027631f
|
Updated fetching opts to not namespace all opts under 'saltapi'
|
2012-11-14 08:55:47 -07:00 |
|
Seth House
|
473958fd84
|
Added a hypermedia handler for accepting/sending various content types
|
2012-11-08 01:03:10 -07:00 |
|
Seth House
|
93837afaac
|
Removed placeholder comment
Streaming responses will be set in the individual handlers.
|
2012-11-07 23:47:51 -07:00 |
|
Seth House
|
07fd5c4ff4
|
Added custom authorization tool and login handler
|
2012-11-07 23:46:24 -07:00 |
|
Seth House
|
f8f8e2c241
|
Removed old comments
|
2012-11-02 16:14:47 -06:00 |
|
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 |
|