3 Commits

Author SHA1 Message Date
Richard Jones
64f7bad172 Alter verb usage for keystone REST and add Angular service
This patch adds an Angular service to isolate client-side code from REST API
changes, and also changes the REST API to use PATCH instead of PUT as the
update verb. Except the one new PUT method for granting a role.

Multiple DELETE is removed from the overloaded POST actions, and the role
grant is moved to a PUT action.

The new angular API service implements error handling by default.

The request Python API JSON body test was made more sane. Thanks to all the
reviewers who brought that up, I finally saw the light!

Change-Id: Ifd58fbf4fac3c3f53dc4769fd76cddfa3101d9d2
2015-02-04 04:59:05 +00:00
Masco Kaliyamoorthy
193e66792f adopt namespace-less oslo imports
oslo.config is now deprecated, so switching
from oslo.config to right package oslo_config.

similarly oslo.serialization also deprecated, it
is also switched to oslo_serialization from
oslo.serialization.

Change-Id: I52eff48a17a555750379e4ca6bb024fc71a4efeb
Closes-Bug: #1409733
2015-01-21 12:15:07 +05:30
Richard Jones
cd735d44f3 REST API for angular front end.
This is the start of the API to support the angular front end.

It is missing endpoints not immediately used by angular WIPs other
than the identity re-work, but is enough to start with.

Changes:
- handle additional HTTP status code attribute
- move common helpers from test modules to here

Partially Implements: blueprint angularize-identity-tables

Change-Id: I7495f772be80125fdf52b02883a5b9942db34610
2015-01-13 13:41:49 +13:00