fe90e0c5 | 08-Jan-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #14 from bradbishop/schema
Add schema endpoint |
5263c303 | 08-Jan-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #11 from bradbishop/typeerrors
Handle type errors for method call parameters. |
4c68a40b | 08-Jan-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #12 from bradbishop/threads
Drop number of Rocket threads to 1 |
bfa41bb1 | 08-Jan-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #10 from bradbishop/auth
Add authentication and authorization |
2503bd6f | 16-Dec-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Add schema endpoint
Navigate to /<obj>/schema to get a dbus introspection dump of <obj>. |
d457892a | 02-Dec-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Handle type errors for method call parameters
Raise a 400 rather than internal server error for type errors. |
b7f756c0 | 02-Dec-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Drop number of Rocket threads to 1
By default Rocket creates a threadpool 8 deep which uses a fair amount of memory. We don't need a multi-threaded server so this patch drops the min/max to 1. |
2f428585 | 02-Dec-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Add authentication and authorization
Use session cookie plus in-memory server sessions scheme. Add /login /logout POST routes: {"data": ["username", "password"]}. Add authorization plugin with arbit
Add authentication and authorization
Use session cookie plus in-memory server sessions scheme. Add /login /logout POST routes: {"data": ["username", "password"]}. Add authorization plugin with arbitrary authorization callbacks. Add valid user and user in group authorization callbacks. Require valid user authorization for all routes (besides login/logout).
show more ...
|
34cae732 | 30-Nov-2015 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #9 from bradbishop/delete
Fix lower case Delete interface element |
aac521c2 | 25-Nov-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Fix lower case Delete interface element |
f481dfc6 | 17-Nov-2015 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #7 from bradbishop/errors
Set response type correctly for errors |
9bfeec21 | 17-Nov-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Set response type correctly for errors
Error response type was 'text/html' but should be 'application/json' |
275ec270 | 16-Nov-2015 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #6 from bradbishop/rest
port rest server to bottle wsgi framework |
d7f30dff | 13-Nov-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
setuptools name update
Change script, datafile, names to match package name |
b1cbdaf5 | 13-Nov-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Remove old rest server |
69750466 | 13-Nov-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Rest server rewrite using Bottle microframework
Feature parity with the old version. Numerous bug-fixes. Improved error responses. Add support for delete method. Run server on port 443. |
cf18f3f7 | 13-Nov-2015 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #4 from bradbishop/cert
Add self-signed cert |
0ffcae17 | 13-Nov-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Add self-signed cert
Eventually will be running with SSL. |
f7a6069d | 09-Nov-2015 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #3 from bradbishop/enumerate
Support for org.openbmc.Object.Enumerate |
936f5fea | 03-Nov-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Make use of org.openbmc.Object.Enumerate
This interface greatly speeds up the enumerate action by cutting the number of dbus calls to fetch objects for a subtree down to one. |
12452ed7 | 03-Nov-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Check for path component length
If someone makes a call against '/org' for instance we die checking for the attr action because there is only path one component to the URL. |
ade8a8bf | 03-Nov-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
React to mapper API changes.
The DBUS API of the mapper had some minor changes. React to those. Also pick up the new mapper binding. |
9ee57c4c | 03-Nov-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Whitespace fixes |
53fd493e | 30-Oct-2015 |
Brad Bishop <bradleyb@us.ibm.com> |
Remove unused system bus connection |
2f7aef50 | 28-Oct-2015 |
nkskjames <nkskjames@gmail.com> |
Merge pull request #1 from bradbishop/master
need this for upcoming delivery |