Samuel M Smith
545daaed9f
Added new client and fun naming scheme so can have sync or async modes
...
instead of confusing client runner wheel etc.
To specify wheel or runner client prefix fun name with wheel or runner respectively
2013-08-06 14:14:40 -06:00
Seth House
82681d496a
Manually verify token for stream since doesn't use APIClient
2013-08-02 17:29:06 -06:00
Seth House
610272b45a
Cast the stream output data chunks to JSON
2013-08-02 15:12:35 -06:00
Seth House
bd58683e95
Added docs on the Events URL
2013-08-02 12:18:08 -06:00
Seth House
8eef9d4c1b
Added optional URL param to Event stream for manual auth check
...
This change is to workaround the problem of the Server Sent Events (SSE)
spec only recently gaining support for CORS and (at the time of writing)
no browser support.
2013-08-02 11:39:47 -06:00
Seth House
5dc0177211
Small session lookup tweak during auth check
2013-08-02 11:38:50 -06:00
Seth House
1d34b4cab4
Added configuration flag to disable SSL
2013-08-01 14:56:04 -06:00
Seth House
4a60e13d85
Reordered tools in order of execution
...
This change doesn't do anything but can help when trying to visualize
the request/response pipeline.
2013-08-01 14:56:04 -06:00
Seth House
c00ecd62ff
Moved potential circular import into function
2013-08-01 14:56:04 -06:00
Seth House
91cfb7d193
Added SSE HTTP stream of Salt events
...
Closes #95
2013-08-01 14:56:04 -06:00
Seth House
14821f6677
Improve method of grabbing Salt's config for the wsgi app interface
2013-07-29 21:02:32 -06:00
Seth House
712af4c83c
Merge pull request #101 from kaptk2/develop
...
Update salt-api.spec
2013-07-25 11:37:19 -07:00
Andrew Niemantsvedriet
78da127dd1
Update salt-api.spec
...
Updated the change log to reflect proper current version.
2013-07-25 12:25:01 -06:00
Seth House
763ea6346f
Removed redundant exposed
2013-07-25 11:25:06 -06:00
Seth House
8e33a01a45
Instead of ignoring URLs in the auth tool, disable tool in each handler
...
Better not to couple a tool to a handler. Not sure why I didn't think to
do this the first time around.
2013-07-25 11:25:05 -06:00
Seth House
1d56bc7a8b
Merge pull request #100 from kaptk2/develop
...
Updated RPM spec to newer version
2013-07-23 14:45:58 -07:00
Andrew Niemantsverdriet
61768fc397
Updated RPM spec to newer version
2013-07-23 15:35:56 -06:00
Seth House
479357882f
Added 0.8.2 to the debian changelog
2013-07-18 14:05:29 -06:00
Seth House
2eb6d07d60
Merge pull request #99 from aboe76/suse_package
...
Updated suse specs for 0.8.2
2013-07-18 00:33:37 -07:00
Niels Abspoel
0c610526bc
Updated suse specs for 0.8.2
2013-07-18 07:29:33 +02:00
Seth House
d33ada5c97
Bumped version to 0.8.2
2013-07-17 10:13:45 -06:00
Seth House
dbd353cae6
Added version number to new settings documentation
2013-07-17 10:12:45 -06:00
Seth House
de866e83db
Added docs about the `host
` setting
2013-07-17 10:12:45 -06:00
Seth House
05e78d7906
Added 0.8.2 release notes
2013-07-17 10:12:45 -06:00
Seth House
15c63e869b
Added fix for app_path settings that start with a slash
...
The CherryPy dispatcher we're using routes URLs by mapping attributes on
an object to the URL path. In other words, the attribute on the object
should not start with a slash.
2013-07-16 11:10:43 -06:00
Seth House
3e67141933
Added a dedicated URL for serving an HTML app
2013-07-15 17:27:52 -06:00
Seth House
73cc7c2d44
Added dedicated URL for serving static media
2013-07-15 17:16:14 -06:00
Seth House
5f155017a4
Removed code to serve both static media and an app index.html
...
Overloading to handle both cases complicates serving an app that uses
the HTML5 history API. It is cleaner to have two separate URLs, one for
static media and one to serve the client side app.
2013-07-15 17:09:36 -06:00
Seth House
a12c2a66f5
Added error check for debug=False but no SSL cert infos
2013-07-15 17:00:38 -06:00
Seth House
dbe09f0ef7
Make Salt and salt-api options available via cherrypy.config
...
This is easier than passing opts around everywhere and arguably is more
CherryPy-esque.
2013-07-15 16:37:59 -06:00
Seth House
b130577e92
Added simple CORS header to responses
2013-07-15 11:12:27 -06:00
Seth House
51a85c7a34
Removed commented code for Alternates header
...
This doesn't need to be present in every response. A better alternative
is documenting it in a HAL structure or returning it on a 406.
2013-07-09 12:43:21 -06:00
Seth House
9af594b831
Moved logic to process requests for HTML into parent tool
...
Since this happens lower in the request cycle it has the additional
effect of bypassing the URL routing. All requests for HTML will return
the index.html file regardless of the requested URL; this allows using
the HTML5 history API in a JavaScript app running on top of the API.
2013-07-09 10:39:33 -06:00
Seth House
00aca15da4
Moved the output content types tuple above functions that utilize it
2013-07-09 10:39:32 -06:00
Seth House
c6f7bfa537
Merge pull request #94 from pengyao/develop
...
Add "-d" options to start salt-api
2013-07-01 10:12:39 -07:00
pengyao
4fedff1b69
Add "-d" options to start salt-api
...
In RHEL/CentOS, daemon should start in daemon mode, The salt-api will
start in frontgroud without "-d" options.
2013-06-28 21:08:55 +08:00
Seth House
06a090e148
Merge remote-tracking branch 'upstream/pr/93' into develop
2013-06-26 10:47:57 -06:00
Sam
b4928ef555
Added the required attributes for the cmd parser mixins after changes in Salt 0.15.9.
...
See Salt commits c3bfde339a
and 92da051c00
. Also moved the default logging location to /var/log/salt to bring it inline with the rest of the Salt logs.
2013-06-27 00:16:31 +10:00
Seth House
dfa3179189
Added examples for the /run URL
2013-06-12 23:06:13 -06:00
Seth House
64c1f2c325
Added cross-references
2013-06-12 23:06:03 -06:00
Seth House
acdcf86e66
Added documentation on the authentication step
2013-06-12 23:05:42 -06:00
Seth House
bda56d0806
Added a currentmodule directive for shorter cross-references
2013-06-12 23:05:21 -06:00
Seth House
99c2914ad3
Add basic hypermedia info about available clients/formats
2013-06-03 14:07:35 -06:00
Seth House
a43b84311d
Updated docs for /minions example return
2013-06-03 12:40:21 -06:00
Seth House
576deceeb3
Added _links to the /minions return
...
This allows fetching the subsequent result of each job without having to
manually construct the URLs.
2013-06-03 12:27:54 -06:00
Seth House
77087f1361
Return a list for /minions URLs for multiple lowstate in requests
...
Addendum to 4b9ac38
.
2013-06-03 12:08:46 -06:00
Seth House
4b9ac38cb4
Fix consistency error in the return for reponses to /minions URLs
...
Thanks to sashka_ua in IRC for the report.
2013-06-03 12:04:16 -06:00
Seth House
30f2773d04
Merge pull request #91 from slai/develop
...
Made the new 'host' property actually optional
2013-06-01 22:16:24 -07:00
Sam
61a31869a2
Made the new 'host' property actually optional.
2013-06-02 14:40:51 +10:00
Seth House
49bc34cceb
Merge pull request #89 from slai/develop
...
Added ability to specify the host address to start the server on
2013-06-01 03:36:42 -07:00